Commit graph

144 commits

Author SHA1 Message Date
Nicolas Werner
07731f0a2b
Fix theme in cross-signing setup 2023-06-08 22:32:14 +02:00
Nicolas Werner
04cbbd2837
Replace some binding loops with others 2023-06-08 22:32:14 +02:00
Nicolas Werner
b1c2b384c6
Fix username label eliding loop 2023-06-08 22:32:10 +02:00
Nicolas Werner
8e61596d15
Fix message height 2023-06-08 22:32:09 +02:00
Nicolas Werner
5aee8d609a
Format qml 2023-06-08 22:32:08 +02:00
Nicolas Werner
c25d0c6b2f
Get rid of scrollhelper 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
1994ea634e
Show custom reactions in reaction history
fixes #1467
2023-05-31 03:59:07 +02:00
Nicolas Werner
a1fed44b50
Add goto button to hover menu when searching
fixes #1457
2023-05-30 14:21:44 +02:00
Sateallia
198e1fc6b9
Right click option to go to event while searching 2023-05-30 13:57:34 +02:00
Nicolas Werner
dd74bdc697
Get rid of old emoji picker 2023-05-25 19:20:25 +02:00
Nicolas Werner
ef31f67c32
Delay some delegate removals to reduce CPU spent on recalculating sizes 2023-03-25 23:42:01 +01:00
tastytea
a4d8df7bd0
make scroll-down button (toEndButton) focus message input 2023-03-12 22:46:23 +01:00
Loren Burkholder
9429e3c000 Scroll farther on PgUp/PgDn 2023-03-02 13:35:14 -05:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
1a6728fe47
Fix newlines in status messages 2023-02-21 23:35:52 +01:00
Marcus Hoffmann
9c5a7c4075 MessageView: Add ToolTip to status message
Show the user that this is a status text on hover.

We need to change the status text label width to be it's implicitWidth
(or the maximum width as specified before), otherwise the tooltip is
wildly off-centered.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
Marcus Hoffmann
6c37f219ba MessageView: improve styling of presence status
Significantly reduce the font size as to visually indicate this is
additional information and not part of the username or message
text. Align the text with the username field besides it.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
q234rty
fa3ea18dcd
Fix some leftover menus from #1319 2023-02-01 02:34:26 +08:00
ShootingStarDragons
7d95ac23ce feat: hide all popup menus when press leftbutton on somewhere else
Log: according to the bug on https://bugreports.qt.io/browse/QTBUG-83972, The menu will always stay if not click one of the item. So I try to make a hack for it, wait qt solve it someday
2023-01-23 20:15:43 +08:00
Nicolas Werner
c98231bac1
Make it more obvious that the add reaction button is not an emoji
fixes #1301
2023-01-19 06:51:51 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Joseph Donofry
a2e120a8a3 Add 'clear' button to search bar and implement search indicator via spinner 2022-12-20 16:34:55 -05:00
Loren Burkholder
fa0c14b846
confetti (#1243)
* 🎉 (confetti) message support.  Thanks @LorenDB !
2022-12-10 10:17:15 -05:00
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