Commit Graph

120 Commits

Author SHA1 Message Date
Nicolas Werner 40ac55ddd9
Highlight higlight tweaks in the timeline
fixes #400
fixes #1136
2022-11-01 23:26:21 +01:00
Nicolas Werner a4524cd9af
Fix date separator 2022-10-07 11:11:07 +02:00
Nicolas Werner f1c1f18f81
Add a slow way to search a room 2022-10-06 22:02:26 +02:00
Nicolas Werner 857d9cf2b6
Basic thread filtering
The reply pagination logic is a bit weird rn though.
2022-10-06 16:16:24 +02:00
Nicolas Werner 570d7b8b30
Prepare for adding proxy before chat.model 2022-10-01 01:53:12 +02:00
Nicolas Werner 88cbac1695
Basic threading support 2022-09-30 03:27:05 +02:00
Hiers 8071b192b8
Line to indicate first unread message (#1147)
* First draft of unread line feature.

* Minor visual fix.

* Removed unnecessary ternary operator.

* Extended unread line functionality to work on minimised window or focusing another window.

* Fix for unread line not showing when last read message is hidden.

* Minor performance improvement. Fix for misbehaving event2order DB at application start.

* Fix for possible performance issues when user has joined a large number of rooms.

* Fix for breaking macos and clazy builds.

* Changed on windows focus function to refresh unread line if room is unread.

* Unread line is removed when user sends a message.

* Linting.

* Fixed unread line to work in standalone room windows.

* Switch isRoomUnread for index 0.

* Merged try/catch blocks.

* Fix for crash on opening a room invite.

* Call fullyReadEventId function when used instead of storing it and passing it through.

* Function that was meant to sync the unread line was relying on an async function, oops.

* Linting again.

* More linting...

* Minor changes.
2022-09-11 23:05:20 +00:00
Forest 4d1a01c829
Focus message input box when pressing Esc
This helps with #1065, although I think making sure the message input box gets focus by default would be worthwhile.
2022-08-19 07:41:22 +00:00
Rohit Sutradhar b0e3c6d65a
Added escape handler for uploads (#1100)
* Added escape handler for uploads

* Update MessageView.qml

Changed if-else conditions to handle only one escape at a time
2022-06-17 20:08:29 +00:00
Nicolas Werner b75ef07896
Add basic support for multiple windows 2022-05-06 00:36:53 +02:00
Nicolas Werner cb76777fce
Add delay to showing scroll down button 2022-03-30 19:19:39 +02:00
Nicolas Werner 4783ce8c44
Add a background to scroll to bottom button 2022-03-30 01:23:23 +02:00
Malte E 8c8305bf8a add jump to end button 2022-03-29 23:11:25 +02:00
Malte E 13baf77435
Better touch scrolling (#1012) 2022-03-24 00:35:42 +00:00
Nicolas Werner a23e2ba854
Make overlap of actionMenu a bit smaller again 2022-03-23 01:33:19 +01:00
Nicolas Werner 4495ad8e55
Properly enable hovering on message action menu 2022-03-22 19:59:22 +01:00
Nicolas Werner b52fd8538d
Make hover menu inset slightly 2022-03-22 19:48:07 +01:00
Nicolas Werner fd83858715
Add duration and resolution to files 2022-03-21 00:48:27 +01:00
Malte E a42335aed2
elide usernames in timeline (#997)
* Use advanceWidth to get the with of the original text

Co-authored-by: Nicolas Werner <nicolas.werner@hotmail.de>
2022-03-20 04:12:41 +00:00
Malte E 637abac334 add space between date bubble and own messages 2022-03-12 22:51:02 +01:00
Malte E 3e59b76b54 add space below datebubble and own message bubbles 2022-03-12 22:46:08 +01:00
Nicolas Werner fcfcf5573b
Fix a few alignment issues in the hover menu 2022-03-09 19:39:25 +01:00
Nicolas Werner ea6d50d114
Remove spurious log message 2022-03-07 23:19:56 +01:00
Nicolas Werner 9c622b60b9
Fix flickering in hover menu 2022-03-07 23:16:18 +01:00
tastytea e390c39862
Allow to specify reason for removed message
# Previous commits:
#   5949173b Add function to force focus on InputDialog input field
#   9482ac4e Allow explicit selection of SSO method
#   ab05e2d8 Mobile message input (#962)
#   12a6da01 If you replace the txn id, replace a string the length of the txn id...
2022-03-06 19:58:12 +01:00
Nicolas Werner 89a8f7a3f1
Hide hover when leaving the timeline 2022-03-01 04:21:00 +01:00
Malte E 5108955df2
making userName_ an AbstractButton should play nicely with ListView (#961)
* making userName_ an AbstractButton should make it play nicely with the ListView

* make Avatar an AbstractButton

* make userName_ in Reply.qml an AbstractButton

* use alias for avatar background color and fix margin of username in reply
2022-02-24 02:16:39 +00:00
Nicolas Werner ff4334d59e
Don't leak dialogs
It seems that you need to manually destroy created objects... Great...

fixes #898
2022-02-21 05:01:01 +01:00
Malte E 8b6d4a57e6 another shot in the dark 2022-02-20 13:51:07 +01:00
Malte E 8b75d86924 try to make scrollbar overlap content based on style 2022-02-20 11:18:39 +01:00
Malte E ea7c8d1427 remove touchobserver 2022-02-20 10:09:22 +01:00
Nicolas Werner 46fbb0e749
Use ListView without scrollview for messages
That way we can autohide the scollbar if needed, it should fix some
jumping issues, it makes it possible to flick on mobile, etc.

Some related bugs:

https://bugreports.qt.io/browse/QTBUG-75223
https://bugreports.qt.io/browse/QTBUG-44902
2022-02-19 21:45:43 +01:00
Nicolas Werner 0629ea5932
Always enable hover for ItemDelegate 2022-02-17 15:32:25 +01:00
Nicolas Werner c310e6f35c
Fix hover highlight when hovering hover menu
fixes #941
2022-02-16 23:25:19 +01:00
Nicolas Werner d330fdb61f
Fix hovering messages 2022-02-14 23:13:22 +01:00
Malte E ddf11d9a8c improve spacings 2022-02-14 14:50:37 +01:00
Malte E 414257bf0e fix bugs found by Nico 2022-02-14 14:03:17 +01:00
Malte E 987b9bed6b add small avatars option and tweak colors and spacings 2022-02-13 13:12:51 +01:00
Malte E 894438c6ce place own bubbles on right and remove user info 2022-02-11 23:12:04 +01:00
Malte E d0ac110cb7 Fix layout - no more binding loops (hopefully) 2022-02-11 22:02:30 +01:00
Malte E 12d600db97 add translations and actually add changes to TimelineModel 2022-02-07 21:53:37 +01:00
Malte E 384c9c91e3 print state events without bubbles, displaynames or avatars and in a smaller font 2022-02-07 21:00:51 +01:00
Nicolas Werner 61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner 6f77a1fe9d
Use the styles default delay for tooltips
This makes them less annoying when scrolling or accessing the popup
menu.

See also #860
2021-12-31 00:48:55 +01:00
Nicolas Werner 9a9dbda571
Update presence dynamically and reduce allocations 2021-12-30 04:54:03 +01:00
Nicolas Werner dae032172d
Add recently used reactions
fixes #435
2021-12-13 00:43:05 +01:00
Nicolas Werner 75b112f0c8
Support pinned messages
fixes #519
2021-12-11 06:10:41 +01:00
Nicolas Werner 97aadee01c
Pass correct background color to username separator 2021-11-20 00:32:03 +01:00
Loren Burkholder f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Nicolas Werner 5ca1fb18bb
Move away from using an event loop to access secrets
Fixes messages in room flickering and being stuck

fixes #760
relates to #770
relates to #789
2021-11-07 03:52:57 +01:00