Commit Graph

124 Commits

Author SHA1 Message Date
Carl Schwan
ff6bff208a Remove room description from room header
After using it for some time, I don't think it is really usefull but it
makes the UI more visually heavy, it doesn't show it completely and also
has very bad contrast.

Fix #197
2021-02-07 00:29:08 +00:00
Carl Schwan
82945ab153 Make right clicking on message works again
This is now using TapHandler that can be used in a Layout without
warning about undefined behaviors.
2021-02-06 00:44:07 +00:00
Carl Schwan
c17392bd9d Add minimul width and height to modal window
Fix #253
2021-02-05 23:40:32 +01:00
Tobias Fella
72907a1f18 Refactor and fix invitations
-Move invitation handling into RoomPage and delete InvitationPage
-Open the new room after accepting the invitation
2021-02-04 20:22:53 +00:00
Nicolas Fella
7aedfd0e17 Move message filtering to C++
The filter callback is called very often (O(messages)). The current
filter model shows some significant overhead in QML internals. Moving
that to C++ makes it quite a bit faster.
2021-02-02 21:51:27 +00:00
Tobias Fella
75d3b346ac Actually save the settings 2021-01-23 16:39:34 +00:00
Carl Schwan
d9128ca483 Fix the white bar in the room page's header 2021-01-11 22:18:45 +00:00
Carson Black
07f637c854 Improve appearance of room listing
This ports the room list delegates to Kirigami.BasicListItem leading/trailing for a more consistent appearance with other applications, and adjusts how their context menus look and behave
2021-01-11 21:25:29 +00:00
Carl Schwan
f4784bb0a1 Allow opening window in a secondary window 2021-01-09 13:32:16 +00:00
Carl Schwan
4be3eac7af Fix avatar loading in multiple places and prefers name instead of
display name for avatar fallback.

This also fixes a bug where users didn't get their avatar loaded in the
room list.

Fix #209
2021-01-09 00:37:13 +01:00
Carl Schwan
de23eef519 Fix PgUp/PgDn keys in message view switch rooms
Now use Ctr+PgUp/PgDn keys instead

Fix #213
2021-01-09 00:15:02 +01:00
Carl Schwan
cd1bec9977 Introduce the ActionsHandler 2021-01-08 23:12:09 +00:00
Nate Graham
cb57a1ec06 Fix case of anchors being set on an item in a Layout 2021-01-08 14:09:04 -07:00
Carl Schwan
5c8d916752 Add support for stickers
Fix #130
2020-12-29 14:28:32 +00:00
Carl Schwan
a929f7bca3 Move Header Collapse Button to the Right
Fix #191
2020-12-28 10:53:08 +01:00
Carl Schwan
c69d3587ba Allow editing text and also hide edits from the timeline 2020-12-28 09:37:17 +00:00
Tobias Fella
724f10a895 Don't load empty images from imageprovider
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error
2020-12-28 01:28:13 +01:00
Eamonn Rea
066ab1e6c6 Fix cursorShape not updating for messages 2020-12-27 23:51:06 +00:00
Devin Lin
93f35faf95 Fix room header text alignment and add support for two line room descriptions 2020-12-23 08:53:09 +00:00
Tobias Fella
b3899f1e69 Port away from implicitly defined onFoo properties in Connections 2020-12-21 16:37:22 +01:00
Carl Schwan
3fcb40f9dd Fix invite page closing the wrong page
This fix #150
2020-12-19 11:47:05 +01:00
Carl Schwan
bd41dcc986 Don't recreate RoomPage each time and add a small loading indicator 2020-12-17 08:59:11 +00:00
Mathew Broady
79dab63993 Remove forgotten NeoChat.Effect imports
Fixes the "Start Chat" and "Explore Rooms" pages
2020-12-17 17:20:29 +11:00
Tobias Fella
8e2cdc8f08 Implement a device management page 2020-12-16 23:37:49 +00:00
Carl Schwan
5d80fdfcb6 Make the RightClick button works correctly 2020-12-16 16:28:42 +00:00
Tobias Fella
3c5ee404c3 Get rid of Neochat.Effect 2020-12-12 00:09:10 +00:00
Tobias Fella
cbad7fbf51 Remove 'configure room' button from roomlist 2020-12-11 22:42:43 +01:00
Tobias Fella
0aeecb8c63 Also update read markers when opening room 2020-12-09 23:44:53 +01:00
Tobias Fella
05955c43de Improve read markers by fixing detection of first and last visible event and updating event markers on new messages
Fixes #60
2020-12-09 23:31:05 +01:00
Devin Lin
d5b21b837d Reduce sidebar clutter by shrinking text sizes and increasing spacing 2020-12-09 21:19:45 +00:00
Yuri Chornoivan
675e0d5611 Fix comment 2020-12-08 09:24:01 +02:00
Carl Schwan
87833a8458 Add an image editor 2020-12-07 09:58:03 +00:00
Carl Schwan
ccdcf9a354 Fix tapping issue on room list 2020-12-06 19:30:14 +01:00
Carl Schwan
408b9eb057 Use long press on mobile for room list 2020-12-06 17:41:33 +01:00
Carl Schwan
aaa0024fd6 Add easy way to switch between accounts
Related to #121
2020-12-05 00:26:37 +01:00
Carl Schwan
7d8e344842 Remember active connection instead of loading first connection
Fix #122
2020-12-04 23:16:21 +01:00
Carl Schwan
b90a027c99 Use video delegate for videos
There is still two issues:

* Videos send by neochat are broken (missing metadata)
* Once the video has run it is unavailable

Fix #120
2020-12-04 10:37:04 +01:00
Carl Schwan
b24af7c2f0 Fix room list 2020-12-03 22:39:35 +01:00
Carl Schwan
5ed47e7397 Revert "Port timeline mouseare to tap handler"
This reverts commit d63811471c.
2020-12-03 17:50:27 +01:00
Carl Schwan
d63811471c Port timeline mouseare to tap handler
This fix inconsistency in behavior
2020-12-03 17:38:57 +01:00
Carl Schwan
93cee871ba Fix regression: right click on room list items
Fix: #113
2020-12-03 17:19:36 +01:00
Carl Schwan
837f5dff09 Fix delegate not all having the same height in the room list
Fix: #112
2020-12-03 16:44:42 +01:00
Carl Schwan
bc4cde2dc7 Improve image delegate sizing 2020-12-03 13:42:21 +01:00
Carl Schwan
21cd37c21e Completely rework login job
Now .well-know is obsolete and also error message are correctly
displayed
2020-12-03 00:34:10 +01:00
Carl Schwan
8355ceeeb0 Reduce the size on the room bottom 2020-12-02 22:57:10 +01:00
Carl Schwan
fcede82fec Improve visual on Mobile 2020-12-02 22:52:13 +01:00
Carl Schwan
de338607e3 fix typo 2020-12-02 19:19:13 +01:00
Carl Schwan
9472d5e417 Move back to abstrastlistitem for room list 2020-12-02 19:18:24 +01:00
Carl Schwan
722fc15368 Remove quick favorite action, this isn't an action often used 2020-12-02 18:51:51 +01:00
Carl Schwan
8a3659efba Add option to toggle the display of users avatar in timeline on and off 2020-12-02 18:25:29 +01:00