Commit graph

1252 commits

Author SHA1 Message Date
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
Nicolas Werner
08b304eccf
Break http images and implement barebones spoiler support when not in mobile mode
see #1042
see #483
2022-08-17 01:35:40 +02:00
Nicolas Werner
376612e4eb
Support editing space children 2022-08-10 00:20:44 +02:00
Nicolas Werner
68c02da6c8
Change preview title for spaces 2022-08-08 22:55:23 +02:00
Nicolas Werner
9d8d6b4bca
Show a room preview in the join confirmation dialog
Requires MSC3266

Fixes #1129
2022-08-05 21:57:54 +02:00
Nicolas Werner
18f4f4351a
Fix room members dialog opening room member dialog of the wrong room 2022-07-30 16:47:56 +02:00
Nicolas Werner
8f49ad9490 Fix window decorations on macos for room dir dialog
fixes #1114
2022-07-18 23:28:27 +02:00
Nicolas Werner
c57948993e
Update translations 2022-07-16 13:04:35 +02:00
Nicolas Werner
f261bbb32d
Fix weird spacing and hidden encryption indicator in top bar 2022-07-16 12:58:17 +02:00
Nicolas Werner
7b33d14277
Make notification count calculation more efficient 2022-07-16 03:07:00 +02:00
Nicolas Werner
aa63e50cea
Merge remote-tracking branch 'origin/perSpaceNotifs' into perSpaceNotifs 2022-07-14 01:26:48 +02:00
Nicolas Werner
af03138527
Try to fix titlebar on room dir 2022-07-09 16:05:18 +02:00
Nicolas Werner
11fa4821aa
Support rendering policy rules 2022-07-09 15:36:28 +02:00
Nicolas Werner
931855441a
Allow editing aliases 2022-07-08 17:28:28 +02:00
Nicolas Werner
f099ec63d1
Warn about emojis looking different in different clients
fixes #919
2022-07-03 03:46:47 +02:00
Nicolas Werner
f387e3b033
Fix emoji verification clipped on sway
fixes #917
2022-07-03 03:39:10 +02:00
Nicolas Werner
7ebf43ce38
Fix crash when closing room directory window 2022-07-01 00:41:50 +02:00
q234rty
fd87dc615c
Fix emoji picker 2022-06-30 11:39:19 +08:00
q234rty
bda88a0379
Fix room member list 2022-06-30 11:38:22 +08:00
Loren Burkholder
885a790b1f Simplify space notification options 2022-06-29 22:04:37 -04:00
Loren Burkholder
f264941615 make license 2022-06-29 22:04:37 -04:00
Loren Burkholder
7cbde0712f Allow muting spaces; other general improvements 2022-06-29 22:04:37 -04:00
Loren Burkholder
863eaa1910 Add space notification configuration 2022-06-29 22:04:37 -04:00
Loren Burkholder
c2b6728955 Add space notifs to room list 2022-06-29 22:04:19 -04:00
Loren Burkholder
8ec0577807 Make the notification bubble its own component 2022-06-29 22:04:19 -04:00
Loren Burkholder
e446e3d679 Add loud notifications for spaces 2022-06-29 22:04:17 -04:00
Loren Burkholder
169384f0fa Add space notifications to room list 2022-06-29 22:02:20 -04:00
Loren Burkholder
2df2046d1d Display unread notifications for spaces 2022-06-29 22:00:09 -04:00
q234rty
7a29531739
Fix blurriness of svg icons (#1108) 2022-06-28 12:14:23 +00:00
Nicolas Werner
dc4a06517c
Add an option to define new power levels 2022-06-26 00:09:00 +02:00
Nicolas Werner
5772447874
Require matrix v1.1 or greater 2022-06-25 16:16:54 +02:00
brausepulver
09c646d3fa
Add copy link to room context menu (#1101) 2022-06-23 23:44:50 +00:00
Nicolas Werner
07228d336a
Support the knock_restricted rule 2022-06-18 00:17:24 +02: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
4ec92e0244
Remove confusing log message 2022-06-15 22:18:35 +02:00
Nicolas Werner
6afe3fa39d
Close image viewer when clicking on the background
fixes #1088
2022-06-15 20:55:51 +02:00
DeepBlueV7.X
835fcf6325
Merge pull request #1095 from syldrathecat/subtle-paste-fixes
Subtle corrections to paste behaviors
2022-06-15 14:31:46 +00:00
Nicolas Werner
3eafd4396e
Fix pins not refreshing after being loaded 2022-06-15 15:36:58 +02:00
SyldraTheCat
8a6acd1d86
Subtle corrections to paste behaviors 2022-06-14 12:04:34 +00:00
SyldraTheCat
ffa4dca8b3
Make cursoring up/down more consistent on some setups 2022-06-13 07:22:09 +00:00
Nicolas Werner
051545a851
Fix crash on some systems because of reuseItems in completer 2022-06-12 17:49:20 +02:00
Nicolas Werner
74712ff6aa
Make settings menu a bit narrower 2022-06-11 10:05:36 +02:00
Nicolas Werner
7e0bc0658c
Fix editing topic 2022-06-02 21:57:46 +02:00
Loren Burkholder
cb4d7234c7 Indicate if no topic is set 2022-06-02 14:19:50 -04:00
Nicolas Werner
5450139a2e
Lots of new PL translations 2022-05-27 17:16:38 +02:00
Nicolas Werner
6c6d43691d
Add basic powerlevel editor 2022-05-27 17:01:58 +02:00
Joseph Donofry
7f2ae13c43
Make PrivacyScreen work on Popped-out Rooms 2022-05-12 14:56:22 -04:00
Joseph Donofry
d130c96160
Fix PrivacyScreen for MainWindow 2022-05-12 12:48:12 -04:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Nicolas Werner
87070289fd
Activate window that already has the room open if possible 2022-05-07 19:12:30 +02:00
Nicolas Werner
62bf1b253e
Rework focus handling 2022-05-07 18:53:16 +02:00
Nicolas Werner
db1bcd7b5a
Show powerlevels in memberlist 2022-05-07 02:30:16 +02:00
Nicolas Werner
d4b7712a66
Merge branch 'master' of https://github.com/TheDrawingCoder-Gamer/nheko into TheDrawingCoder-Gamer-master 2022-05-06 15:41:51 +02:00
Nicolas Werner
b75ef07896
Add basic support for multiple windows 2022-05-06 00:36:53 +02:00
DeepBlueV7.X
5ceed8f519
Merge pull request #1056 from Nheko-Reborn/uiTweaks
UI tweaks
2022-04-27 01:15:25 +00:00
BulbyVR
64882fd6de Unhardcode qml 2022-04-24 12:25:01 -04:00
BulbyVR
1eeee5f367 Curse you hardcoded qml! 2022-04-24 12:25:01 -04:00
Nicolas Werner
c21711830f
Fix pinned messages getting clipped 2022-04-24 16:37:35 +02:00
Loren Burkholder
f9b3690e87 Modifications to member list buttons 2022-04-23 19:03:01 -04:00
Loren Burkholder
c53b732452 Set default size for hidden events dialog 2022-04-23 18:47:18 -04:00
Loren Burkholder
24ec2181a3 Better handle pluralization 2022-04-23 18:47:17 -04:00
Loren Burkholder
3d60fadb39 Allow users to see through the spinner 2022-04-23 18:46:30 -04:00
Loren Burkholder
6672e765d7
Search room members (#1049) 2022-04-22 23:59:40 +00:00
Loren Burkholder
9cf0e3ca55
Add member list and settings buttons to spaces (#1051)
* Add member list and settings buttons to spaces

* Un-buttonify the member list button

* Properly button settings *and* members
2022-04-22 23:43:25 +00:00
Nicolas Werner
3b2f47c56f
Show changes in image packs in timeline 2022-04-19 22:33:53 +02:00
Loren Burkholder
5dc94447b9 Focus room search 2022-04-18 14:44:35 -04:00
Nicolas Werner
85f0ffb6bf Remove boundary handling in image overlay
They hurt more than they are helping
2022-04-10 04:10:32 +02:00
Loren Burkholder
35e6cf003d Close current room on Ctrl+W 2022-04-02 20:33:10 -04:00
Nicolas Werner
a59b3147a6
Add reasons to everything
fixes #1030
2022-03-30 23:40:12 +02:00
Nicolas Werner
cb76777fce
Add delay to showing scroll down button 2022-03-30 19:19:39 +02:00
Nicolas Werner
656fcac91c
Don't use a modal to edit room name and topic 2022-03-30 06:45:31 +02:00
Nicolas Werner
f9942494d6
Fix broken invite dialog 2022-03-30 04:30:09 +02:00
Nicolas Werner
3ded0d61ba
Merge branch 'fix-tapping-timeline' 2022-03-30 01:34:13 +02:00
Nicolas Werner
4783ce8c44
Add a background to scroll to bottom button 2022-03-30 01:23:23 +02:00
Nicolas Werner
a3ae90415c
Merge branch 'go_to_bottom' of https://github.com/maltee1/nheko into maltee1-go_to_bottom 2022-03-30 00:31:49 +02:00
Malte E
8c8305bf8a add jump to end button 2022-03-29 23:11:25 +02:00
DeepBlueV7.X
f9e294ce0c
Merge pull request #1019 from maltee1/qml_createroom
CreateRoom dialog in QML
2022-03-29 20:54:45 +02:00
Nicolas Werner
6d1416fb6e
Add backend for new room creation dialogs 2022-03-29 20:51:18 +02:00
Malte E
d7cb2bd647 expose options better 2022-03-28 22:06:18 +02:00
Malte E
f66ec626f0 fix tapping messages, fix pressandhold/doubletap on touch 2022-03-28 20:22:58 +02:00
Malte E
5078bdd14f
drag to reply (#1018) 2022-03-27 19:23:40 +00:00
Malte E
838cf63578 direct chat creator can now create direct chats 2022-03-26 22:25:48 +01:00
Malte E
5384ab377c initial direct chat creation dialog 2022-03-26 17:28:44 +01:00
Malte E
b8b31cb36d CreateRoom dialog in QML 2022-03-25 22:30:19 +01: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
DeepBlueV7.X
dfb34a6c96
Merge pull request #1005 from maltee1/fix_input_method
Fix input method
2022-03-22 03:56:01 +01:00
Nicolas Werner
a9486ec896
Fix thumbnails for encrypted files and factor upload box out 2022-03-21 05:49:12 +01:00
Nicolas Werner
dbd2bebe6c
Show some previews in upload window 2022-03-21 05:05:29 +01:00
Nicolas Werner
fd83858715
Add duration and resolution to files 2022-03-21 00:48:27 +01:00
Nicolas Werner
d3471a1097
Move uploads to InputBar 2022-03-20 22:49:33 +01:00
Malte E
f563098e9a Don't send on Enter when inputMethod.visible ( == OSK active assumed) 2022-03-20 22:17:25 +01:00
Malte E
d58a483642 add preedit text to search 2022-03-20 21:57:16 +01:00
Malte E
0cb729cfc2 remove completer trigger characters 2022-03-20 21:34:41 +01:00
Malte E
548063d303 attempt to include preeditText in search string 2022-03-20 17:21:59 +01:00
Malte E
86a81307fb make completer work with input method 2022-03-20 17:12:13 +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
DeepBlueV7.X
dda1bcd3c1
Merge pull request #1001 from duarm/master
options to open images/videos with external program by default
2022-03-20 04:30:54 +01:00
Malte E
d765305595 properly commit preedit text 2022-03-19 22:30:35 +01:00
math
88d86405f8 add option to open video with external program by default 2022-03-19 02:31:43 -03:00
math
74a4e36f90 add option to open image with external program by default 2022-03-19 01:54:02 -03:00
DeepBlueV7.X
a35f5e81cd
Merge pull request #989 from maltee1/improve_reply_popup
small rework of the reply popup
2022-03-16 03:09:34 +01:00
Nicolas Werner
4f44b63a49
Fix screen share calls 2022-03-13 20:40:09 +01: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
Malte E
8a78920b88 allow bubbles to be not larger than necessary 2022-03-12 22:34:16 +01:00
Malte E
a76b50b48e small rework of the reply popup 2022-03-11 21:32:32 +01:00
tastytea
a7388a70be
Use standard buttons where possible
Standard buttons are ordered in the right way and sometimes have an
icon.

Bug: https://matrix.to/#/%23nheko%3Anheko.im/%2476PZ2m6YftX8mqGIe9ettKbh_-pEYeVRQSJBfwFzWi0?via=pixie.town&via=matrix.org&via=matrix.flexinos.tech&via=half-shot.uk
2022-03-11 13:15:26 +01:00
Malte E
7ec0539476 reduce replied-to message to implicitWidth if non-bubble layout is used 2022-03-10 21:54:26 +01:00
Malte E
8fa912ed85 right-align reactions of right-aligned bubbles 2022-03-10 21:47:07 +01:00
Nicolas Werner
bf7b58c959
Don't destroy components in use
Add a delay to all destructions and move the call dialog stuff up a
level, so that we don't destroy the component when destroying the parent
dialog.

fixes #984
2022-03-10 20:43:42 +01:00
Nicolas Werner
7a11b69f99
Fix images being cropped instead of scaled 2022-03-09 20:15:37 +01:00
Nicolas Werner
fcfcf5573b
Fix a few alignment issues in the hover menu 2022-03-09 19:39:25 +01:00
DeepBlueV7.X
64a939481a
Merge pull request #982 from tastytea/reaction-tooltip
Show long reaction text in tooltip; Remove extra …
2022-03-09 17:54:13 +00:00
tastytea
ddf749d3a2
Remove extra … from reaction text if it is already there
elidedText should have … in it if the text doesn't fit, but it seems
that it is omitted if the emoji font doesn't have it. 🙄
See <https://github.com/Nheko-Reborn/nheko/pull/982>.
2022-03-09 18:51:29 +01:00
tastytea
b82b724795
Show long reaction text in tooltip
If the reaction text is elided, it will be shown in the tooltip.
2022-03-09 18:42:57 +01:00
Nicolas Werner
5b09dd1a11
Fix a few alignment issues in the roomlist 2022-03-09 18:36:13 +01:00
tastytea
b75f7e564d
Make “show more” “show less” in room settings translatable 2022-03-08 11:31:54 +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
Nicolas Werner
ac1d678254
Fix server switching to https after bootstrap
fixes #878
2022-03-07 05:27:06 +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
tastytea
5949173ba2
Add function to force focus on InputDialog input field
# Previous commits:
#   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...
#   df6a5aab Fix clicking on images in replies
2022-03-06 19:58:12 +01:00
Nicolas Werner
9482ac4e7a
Allow explicit selection of SSO method
fixes #975
2022-03-06 19:51:17 +01:00
Malte E
ab05e2d8dc
Mobile message input (#962)
* swap send and sticker icons based on text input

* collapse MessageInput options when window is narrow

* buttons disappear once you type/send partial text from input method
2022-03-05 22:10:08 +00:00
Nicolas Werner
df6a5aabb6
Fix clicking on images in replies
fixes #881
2022-03-05 03:45:45 +01:00
Nicolas Werner
7238ca3765
Open room members dialog when clicking the encryption indicator
fixes #937
2022-03-05 01:45:16 +01:00
DeepBlueV7.X
d0623131e5
Merge pull request #965 from maltee1/mobile_room_settings
Mobile room settings
2022-03-05 00:33:45 +00:00
Malte E
cb057b016a rich text emoji 2022-03-04 23:11:47 +01:00
Malte E
864adaffca wrap room name 2022-03-04 23:08:00 +01:00
Malte E
573933f239 cosmetics 2022-03-04 13:40:44 +01:00
Malte E
8658801839 hopfefully the button works now 2022-03-04 11:19:58 +01:00
Malte E
cf7353c1e9 fix text color and button, copy roomID on click 2022-03-03 21:51:26 +01:00
Eldred Habert
90e9df0ec9
Correct "be be"
This kind of duplicated short word is
is easy to have your brain "auto-correct" :D
2022-03-02 22:52:34 +01:00
Malte E
02da8e445a make long topic collapsible 2022-03-02 10:02:01 +01:00
Nicolas Werner
89a8f7a3f1
Hide hover when leaving the timeline 2022-03-01 04:21:00 +01:00
Nicolas Werner
35a2b0e45a
Fix metadata not resizing properly 2022-03-01 03:12:57 +01:00
Nicolas Werner
23efa8f815
Fix a few small completer glitches 2022-03-01 02:33:22 +01:00
Nicolas Werner
d84502737b
Fix misalignment in room list tiles 2022-02-26 16:06:33 +01:00
Malte E
49aceefae3
Fix roomlist timestamp being off-screen (#966)
* fix timestamp disappearing off-screen

* remove mobileMode dependency of ScrollHelper
2022-02-25 21:57:13 +00:00
Malte E
22235defac restore default width and height 2022-02-25 22:05:35 +01:00
Malte E
e59468f28c clean up indentation 2022-02-25 21:59:01 +01:00
Malte E
fd3efdffcf make RoomSettings mobile friendly and more like UserProfile 2022-02-25 21:57:19 +01:00
Nicolas Werner
2c5489468d
Fix mobile call screen
See #469
2022-02-25 17:24: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
DeepBlueV7.X
ebc0384ebb
Merge pull request #956 from maltee1/mobile_room_directory
Mobile room directory
2022-02-23 01:14:36 +00:00
Malte E
3d8e5c0028 make room directory fit mobile screens 2022-02-21 22:41:02 +01: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
Nicolas Werner
609cd82dc0
Fix forward completer 2022-02-21 04:07:13 +01:00
Malte E
1c8a5c645d
Add sender names to state events (#948)
* add sendernames to state events

* Center state events and make them less tiny
2022-02-21 00:39:32 +00:00
DeepBlueV7.X
b3da8738bf
Merge pull request #951 from maltee1/fix_timeline_scrollbar
Fix timeline scrollbar
2022-02-21 00:31:09 +00:00
DeepBlueV7.X
8727b696fc
Merge pull request #946 from maltee1/mobile_usersettings
Make UserSettingsPage fit on a phone screen
2022-02-21 00:25:06 +00: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
Malte E
4f8e6602c4 limit width of comboboxes and add bottomPadding 2022-02-20 09:45:37 +01:00
Nicolas Werner
d941974e35
Simplify logic to suppress wheel events 2022-02-20 03:03:11 +01:00
Malte E
af8fbb990b remove reparenting 2022-02-19 21:47:19 +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
Malte E
c405eddea6 actually fix awkward message spacing 2022-02-18 21:33:09 +01:00
Malte E
a3fcb4d990 fix awkward message spacing 2022-02-18 21:29:14 +01:00
Malte E
144e7cd038 make search usable on mobile 2022-02-18 21:06:28 +01:00
Malte E
8fede53c82 let labels wrap and collapse below the back button 2022-02-18 20:20:52 +01:00
tastytea
624da5e028
Make hover highlight fill the full width of the timeline
Rows in the message bubble design are only as wide as the bubbles. This
lead to invisible hover highlight. Now it's consistent.
2022-02-18 02:20:56 +01:00
Nicolas Werner
0629ea5932
Always enable hover for ItemDelegate 2022-02-17 15:32:25 +01:00
Nicolas Werner
c0f415238d
Fix images without size not showing (take5) 2022-02-17 00:42:57 +01:00
Nicolas Werner
c310e6f35c
Fix hover highlight when hovering hover menu
fixes #941
2022-02-16 23:25:19 +01:00
DeepBlueV7.X
6a47b47571
Merge pull request #939 from maltee1/better_bubbles
Place metadata next to content if there is space
2022-02-16 20:21:22 +00:00
Nicolas Werner
d330fdb61f
Fix hovering messages 2022-02-14 23:13:22 +01:00
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400 2022-02-14 22:56:35 +01:00
Malte E
1cc4f76998 fix overlap in NoticeMessage 2022-02-14 21:59:35 +01:00
Malte E
e69f0fe960 don't mess up old layout 2022-02-14 21:15:16 +01:00
Malte E
6f3ed5b282 space-saving metadata placement 2022-02-14 21:07:03 +01:00
Nicolas Werner
1df1b5037e
Fix second codeblock not wrapping 2022-02-14 16:47:27 +01:00
Nicolas Werner
297c819bf0
Fix padding in redactions 2022-02-14 15:57:08 +01:00
Nicolas Werner
ddcd4850f1
Merge branch 'message-bubbles' of https://github.com/maltee1/nheko into maltee1-message-bubbles 2022-02-14 15:43:17 +01:00
Malte E
ddf11d9a8c improve spacings 2022-02-14 14:50:37 +01:00
Malte E
ce13ccd677 fix redactions line-wrapping 2022-02-14 14:16:11 +01:00
Malte E
414257bf0e fix bugs found by Nico 2022-02-14 14:03:17 +01:00
Nicolas Werner
6e1ac16f61
Fix overlapping offline indicator 2022-02-14 04:05:33 +01:00
Malte E
993b0ae721 fix vertical space for some state events 2022-02-13 13:27:31 +01:00
Malte E
987b9bed6b add small avatars option and tweak colors and spacings 2022-02-13 13:12:51 +01:00
Nicolas Werner
47b822604d
Hidden events: Refactor slightly for reusability 2022-02-12 19:48:53 +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
tastytea
72cfb06208
Hidden events: Some cleanup 2022-02-10 00:48:35 +01:00
tastytea
49b313e3b8
Hidden events: Make save-function reusable for global account data 2022-02-10 00:48:35 +01:00
tastytea
f7ca41bc49
Hidden events: Change title and prompt depending on isRoomSetting
We would have to set text and title separately otherwise.
2022-02-10 00:48:35 +01:00
tastytea
f0bb64030e
Hidden events: Incorporate suggestions from review
- Set TitleHint flag on dialog
- Store hidden events as QSet<QString> instead of std::vector<bool>
- Change wording in dialog (disable events instead of turning the hiding
  on)
2022-02-10 00:48:35 +01:00
tastytea
d4cc3507f8
Hidden events: Enhance tooltips
Shorten tooltip for power levels, expand tooltip for user events.
2022-02-10 00:48:35 +01:00
tastytea
5cd3e61cb0
Add GUI to change hidden events per room
This adds a dialog to the room settings in which the user can choose
which of these three event types they want to hide (additionally to the
default):

  - m.room.member
  - m.room.power_levels
  - m.sticker

The current state is read when room settings are opened and saved when
new settings are accepted.
2022-02-10 00:48:35 +01:00
Malte E
0e548b7d39 fixed most of the binding loops 2022-02-09 21:36:04 +01:00
Malte E
5db7ec7f03 Variable width bubbles (still has binding loop) 2022-02-09 17:53:02 +01:00
Malte E
e290f9938a
Update resources/qml/delegates/Reply.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2022-02-07 22:04:49 +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
Malte E
9d194cc2e6 clean up margin setting 2022-02-05 21:53:21 +01:00
Malte E
f5a693ac03 place metadata below message when the Layout is narrow (<350) 2022-02-05 14:12:51 +01:00