miruka
6df9647b59
Faster switching of rooms from different accounts
...
Use a single [userId, roomId] property for the chat page.
This gets read of the intermediate state where the userId property has
been updated but the roomId one not yet, which led to the page unloading
and reloading itself until both were properly set.
Side-effect: when starting Mirage after this commit for the first time,
the last saved page will not load and user must click a room or
other page manually.
2020-09-13 16:05:15 -04:00
miruka
5dca7d0a35
Remove leftover debug prints in PageLoader
2020-09-04 20:01:54 -04:00
miruka
acb1367f11
Fix warnings when uploading to non-E2E room
...
Fix these:
<Unknown File>: media_crypt_dict is undefined.
Adding an object with a undefined member does not create a role for it.
2020-09-04 14:57:09 -04:00
miruka
1c306f421a
Fix PageLoader initial page when no account
2020-09-04 10:51:33 -04:00
miruka
2545ba6c00
Reset room pane state when recycling chat page
...
Side effect: the members filter field's text is no longer saved to disk
2020-09-03 18:09:50 -04:00
miruka
601b42a503
Rename PageLoader.showPage() → PageLoader.show()
2020-09-03 17:33:19 -04:00
miruka
90929691c6
PageLoader: remove unused proporties
2020-09-03 17:31:33 -04:00
miruka
2b45c07819
Fix starting Mirage when initial page isn't a chat
2020-09-03 11:08:31 -04:00
miruka
462d3972ff
Small window: close main pane when recycling page
2020-09-03 11:06:45 -04:00
miruka
f5c6a2627b
Improve pageLoader animation
2020-09-03 10:49:15 -04:00
miruka
bed19eb117
Play appearAnimation when recycling page
2020-09-02 15:25:02 -04:00
miruka
e947fe7695
Refactor PageLoader show methods
...
Also lets the chat page recycling work with showPrevious() (ctrl+tab)
2020-09-02 15:19:27 -04:00
miruka
a4bbbfee87
Recycle chat pages if possible when switching room
...
The chat page is complex and slow to create, which creates a visible lag
when user switches room.
Instead of throwing the pre-switch one away and
making a new one from scratch, keep the same page and update its user &
room ID for a big improvement in responsiveness. The rest is automatic
thanks to QML property bindings.
2020-09-02 15:19:21 -04:00
miruka
3c7b78d4ca
Reorder QML files to follow coding conventions
...
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
2020-07-12 01:27:44 -04:00
miruka
f686b96511
Cross-client unread counters & send read receipts
2020-06-01 09:25:09 -04:00
miruka
4546a2f88c
Set room as read when focusing it by ctrl+tab
2020-05-15 20:56:23 -04:00
miruka
200f0c33a8
Fix higlighted room not updating after ctrl+tab
2020-05-15 20:56:23 -04:00
miruka
0a1834b763
Mark rooms as read on all our accounts
2020-05-15 20:56:23 -04:00
Emi Simpson
6ee20a2717
Added limited local read/unread tracking
2020-05-15 20:56:23 -04:00
miruka
1038678a2f
Refactor global shortcuts, simplify debug consoles
...
- Move out all shortcuts from their central file to the component they
actually belong to
- Get rid of DebugConsoleLoader and the multiple consoles handling mess,
have only one global console
2020-04-03 07:53:36 -04:00
miruka
ee6ac18671
Show pages headers to go back to pane when needed
2020-03-19 20:33:46 -04:00
miruka
e23f6f2e7c
Remove uneeded and update some QML imports
2020-03-16 09:04:59 -04:00
miruka
b26fe10810
Load Chat faster by delaying EventList loading
2020-03-12 13:28:30 -04:00
miruka
aafbecfdda
Fix main pane highlight
2020-03-10 05:38:28 -04:00
miruka
cdb79d11aa
Use const instead of let when possible
2020-03-08 04:46:20 -04:00
miruka
7325c78c5a
Highlight main pane items on startup and clicks
2020-02-13 07:19:27 -04:00
miruka
fb1f9c62e5
Add SPDX ID LGPL v3+ license headers
2019-12-19 07:46:16 -04:00
miruka
d3ee39bf7b
Have a separate PageLoader component from UI
2019-12-18 17:04:18 -04:00