Commit graph

147 commits

Author SHA1 Message Date
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
Nicolas Werner
ad1e6c8298
Support bootstrapping crosssigning
Showing the bootstrap state and showing there are unverified devices is
still missing.
2021-10-09 05:01:53 +02:00
DeepBlueV7.X
e118f3882d
Merge pull request #728 from Thulinma/goto
Improvements for linking to events
2021-09-17 10:19:58 +00:00
Nicolas Werner
22230ed0a9
Disable reuseItems again D: 2021-09-17 12:02:54 +02:00
Thulinma
1d5bf56cf9 Improvements for linking to events
- Fixes scrolling to an event not being reliable
- Adds new /goto command that can open URLs, go to events, or go to message indexes.
- Refactored ChatPage::handleMatrixUri() to contain the handling originally in Nheko::openLink(), and makes it return a boolean based on whether the URL was handled internally or not.
2021-09-16 02:17:07 +02:00
Nicolas Werner
30aedd36a1
Reenable reuseItems for the message view
If this is still broken, we will need to disable it again.
2021-09-15 23:19:12 +02:00
Nicolas Werner
f6b278dc85
Update translations 2021-09-13 23:17:03 +02:00
DeepBlueV7.X
5d6c26c8c7
Merge pull request #696 from resolritter/reply
Right-click tap handler for replies
2021-09-03 09:43:13 +00:00
Nicolas Werner
f7560cd998
Fix z value of avatar in timeline 2021-09-03 01:33:42 +02:00
resolritter
3f8bb19ba1 right-click tap handler for replies 2021-08-31 16:45:44 -03:00
Nicolas Werner
ded926cdf9
Fix a few null warnings 2021-08-29 19:24:44 +02:00
Nicolas Werner
42d2b10d5d
Round images in the image provider 2021-08-14 17:17:50 +02:00
Nicolas Werner
72bbad7485
Show encryption errors in qml and add request keys button 2021-08-07 22:51:09 +02:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Nicolas Werner
5b0bd26795
Fix annoying touch overlap in room list 2021-07-31 11:08:52 +02:00
Loren Burkholder
3ce7fdd63f Fix incorrect function name 2021-07-29 21:07:52 -04:00
Nicolas Werner
d955444dc1
Port to explicit connect syntax
Also fix a lot of warnings.
2021-07-27 22:35:38 +02:00
Loren Burkholder
0ce7d02abe make lint 2021-07-22 07:55:12 -04:00
Loren Burkholder
0971fd0fcc Pad the loading spinner 2021-07-21 20:37:36 -04:00
Nicolas Werner
88ed0fade7
Explicitly reload data in delegates, if related events got loaded 2021-07-20 14:09:19 +02:00
Nicolas Werner
6d169cea7d
Fix reaction button again 2021-07-19 17:59:38 +02:00
Nicolas Werner
8a1666bc88
Basic sticker support 2021-07-19 01:28:07 +02:00
Nicolas Werner
f704e381c3
Fix a few missing properties 2021-07-12 01:28:09 +02:00
Nicolas Werner
bd26624ed8
Prepare for reuseItems in timeline
The actual reuseItems is still blocked on a few upstream bugs.
2021-07-12 00:24:33 +02:00
Nicolas Werner
d61a9c718a
Fix high CPU usage when a room is open 2021-07-10 17:21:15 +02:00
Joseph Donofry
1d204ce94c
Merge remote-tracking branch 'origin/master' into nheko_loading_spinner 2021-07-08 21:15:50 -04:00
Nicolas Werner
7d5e82c888
Merge branch 'master' into qml-roomlist 2021-06-12 15:05:07 +02:00
Joseph Donofry
284ca27fdc
Add nheko logo spinner to relevant places in UI 2021-06-09 19:01:49 -04:00
Nicolas Werner
298822baea
Move currentRoom/timeline handling to roomlist 2021-05-28 22:14:59 +02:00
Nicolas Werner
5658be5215
Move global avatarSize property 2021-05-13 11:32:28 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml 2021-05-13 08:23:56 +02:00
Nicolas Werner
ab0baf5d9e
Only show actions, when you have permissions to do them 2021-05-02 18:06:56 +02:00
Nicolas Werner
2d678bdcf6
Allow copying messages via right click
fixes #291
2021-04-29 23:38:45 +02:00
Nicolas Werner
9ab1dc253e
Copy address location
fixes #463
2021-04-29 23:09:13 +02:00
Nicolas Werner
82fa8ab292
Highlight navigated to message 2021-04-29 19:09:16 +02:00
Nicolas Werner
5b6671f063
Add Alt-F to forward messages 2021-04-27 12:09:00 +02:00
Nicolas Werner
fcda5ace6b
Update translations 2021-04-17 20:14:50 +02:00
Nicolas Werner
18e96d5c7d
Fix some TapHandler focus issues 2021-04-11 22:24:50 +02:00
Nicolas Werner
ae19dd2bc2
Disable horizontal scrollbar in timeline
fixes #530
2021-03-26 01:31:46 +01:00
Nicolas Werner
0d4ddadb15
Fix emoji picker appearing in wrong locations 2021-03-23 18:05:43 +01:00
Nicolas Werner
47a7adf823
Use readonly properties where possible 2021-03-14 16:24:04 +01:00
Nicolas Werner
c03f716e8b
Fix conflict between qmlformat and license check 2021-03-07 05:57:56 +01:00
Nicolas Werner
bb6ff8cec8
Show mxid on hovering username
fixes #507
2021-03-07 05:53:54 +01:00
DeepBlueV7.X
57a6edadcb
Merge pull request #506 from Nheko-Reborn/timeline-buttons
Use overlay buttons for message actions
2021-03-06 13:47:37 +00:00
Nicolas Werner
e1c96569c1
Fix janky hoverhandling for text messages
Add a 1px border to get more hover enter events...
2021-03-05 16:47:20 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
1142fe2663
Use overlay buttons for message actions 2021-03-04 22:59:10 +01:00
Nicolas Werner
e3803ceb9a
Avoid some duplicate property queries 2021-03-03 21:34:24 +01:00
Nicolas Werner
8351cc4180 Fix miscalculation of padding in timeline 2021-02-20 02:53:14 +01:00
Nicolas Werner
d43607d01c Fix hover handling in the timeline 2021-02-14 01:28:28 +01:00
Nicolas Werner
0d61f4bff1 Improve scroll to message a bit by using a ScrollView 2021-02-13 23:53:30 +01:00
Nicolas Werner
7ddcab3902 Mark messages as read, when Nheko gets focused
fixes #235
2021-02-13 01:41:09 +01:00
Nicolas Werner
2a5e20dc6f Fix cancel edit order on Escape key 2021-02-10 18:00:52 +01:00
Nicolas Werner
2606568376 Fix messages sometimes not being rendered, when they are too large 2021-02-10 15:24:00 +01:00
Nicolas Werner
6a2e8a6952 Try to avoid QTBUG-89568 2021-02-10 14:38:41 +01:00
Nicolas Werner
a62276c289 Fix UI allowing edits of foreign messages in some cases 2021-02-10 14:32:16 +01:00
Nicolas Werner
6e2ae1d812 Add edit shortcuts and fix some focus stuff 2021-02-09 20:22:53 +01:00
trilene
974c336c5e make lint 2021-02-07 13:58:32 -05:00
Jedi18
d535cc5e75 add error message and update avatars on avatar change in timeline and user profile dialog 2021-02-02 13:30:47 +05:30
Nicolas Werner
32a20a5f8c Simplify section handling a bit 2021-01-19 23:58:40 +01:00
Nicolas Werner
07e71e6eae Fix crash with ScrollView 2021-01-17 04:05:02 +01:00
Nicolas Werner
42b08257ec Make read markers a bit less confusing 2021-01-16 13:54:56 +01:00
Nicolas Werner
6090d00251 Revert "Update QtQuick versions to match Qt 5.10"
This reverts commit 74e32dd96b.
2021-01-12 15:03:39 +01:00
Joseph Donofry
74e32dd96b
Update QtQuick versions to match Qt 5.10 2021-01-11 22:17:00 -05:00
Joseph Donofry
9a604d3821
Clean up Avatar click event handling 2021-01-11 20:02:39 -05:00
Nicolas Werner
5ca043ad87 Fix user status that got lost at some point 2021-01-04 15:14:40 +01:00
Nicolas Werner
29625ae253 Fix some issues with completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
35066900d1 Disable scroll helper on mobile 2020-11-25 19:05:11 +01:00
Nicolas Werner
081bd8d5f1 Add some padding between scrollbar and messages 2020-11-21 01:10:38 +01:00
kamathmanu
eb72fd2cf9 Make compatible with qt 5.12 2020-11-14 16:38:17 -05:00
Nicolas Werner
3d64df41da Split up TimelineView into separate components 2020-10-26 21:34:34 +01:00