miruka
d427465425
Don't animate highlight rectangle sliding on click
2019-08-19 18:32:43 -04:00
miruka
de4d984ded
Use smart case for filters
2019-08-19 18:25:00 -04:00
miruka
aba01d54e8
Rate-limit next/previous room activation
2019-08-19 18:17:59 -04:00
miruka
109082c8d8
Use a Loader instead of StackView for pageStack
2019-08-19 15:38:45 -04:00
miruka
99bbe7f3ee
Keep the highlighted ListView item centered
2019-08-19 14:46:40 -04:00
miruka
c841a7a841
Add keybind to toggle collapsing account
2019-08-19 14:28:12 -04:00
miruka
e713eb7e24
Hide harmless error when no matches for filter
2019-08-19 14:06:11 -04:00
miruka
314b2c30ad
Add keybind to clear room filter
2019-08-19 14:05:59 -04:00
miruka
af14038909
Rename filterRooms keybind to FocusSidePane
2019-08-19 13:58:31 -04:00
miruka
36dd6457ea
Change focus filter rooms keybind to (Alt/Ctrl)+S
2019-08-19 13:18:45 -04:00
miruka
98803e8c23
Hide PyOtherSide error when EventList is destroyed
2019-08-19 13:14:25 -04:00
miruka
5e5a658173
Add keybinds to go to previous/next room
2019-08-19 13:09:05 -04:00
miruka
9220a75980
DelegateAccount: don't force collapsed to false
2019-08-19 11:42:24 -04:00
miruka
4349643345
filter_string is now a class property
...
- Support serializing class properties instead of just dataclass fields
- filter_string is now a property that's always up-to-date
- Account display names matching the current SidePane filter are shown
2019-08-19 11:34:51 -04:00
miruka
165c1b797e
Repair room filter, performance improvements
...
Chnaging delegate heights is a terrible idea that leads to graphic bugs.
Handle filtering (both room and accounts) and collapsing from a function
that sets the JsonListModel source.
2019-08-19 10:28:49 -04:00
miruka
2865d86d19
Refactor SidePane ListView in a flat way
...
Also adjust some colors (accentBackground)
TODO: Repair Filter rooms field
2019-08-18 03:35:28 -04:00
miruka
543f7ac747
Smarter adjust of messages line height
...
Increase line height is the message is multiline, except if there's an
<img> tag in it (due to a bug in Qt, workaround will be to implement
proper images support)
2019-08-18 03:25:56 -04:00
miruka
d0e77eb061
Increase messages line height again to 1.3
2019-08-17 23:54:32 -04:00
miruka
4067d8c4ab
Get flat SidePane data on Account/Room models sync
...
QML: Get the data from Python and print it (for now)
Also:
- Remove useless Model.sortable field, all models/items are sortable
- Change SyncId type hint for less mypy complaints
- Remove ModelItem.main_key class attributes, useless since last big
refactor
2019-08-17 22:46:54 -04:00
miruka
3cc39210b4
Work in progress keybard sidepane navigation
2019-08-17 20:29:56 -04:00
miruka
1663b166c7
HInteractiveRectangle: add missing pressed effect
2019-08-17 17:05:52 -04:00
miruka
7319c8d7b4
Highlight currently select account/room delegate
2019-08-17 16:59:13 -04:00
miruka
2e89dcae9e
Add shortcut to focus filter rooms field
2019-08-17 15:58:32 -04:00
miruka
43f8f4131d
Slightly increase messages line height
2019-08-17 15:49:33 -04:00
miruka
bfbcc73c43
Hide expand arrows when rooms are filtering
...
Any account with matching rooms is expanded until there is no more
active filter.
2019-08-17 15:42:56 -04:00
miruka
c5d5768f2e
Adjust RoomDelegates opacity when filtering
...
Accounts with no matching rooms to show will have their opacity reduced.
2019-08-17 15:30:25 -04:00
miruka
717680bf0c
No leading 0 for RoomDelegate last event time
...
To save some pixels
2019-08-17 14:22:32 -04:00
miruka
72b5954ce3
Simplify startup and improve its animation
...
- Remove Python.loadingAccounts/willLoadAccounts
- Fix HPage SwipeView bug that caused its inner SidePane to steal focus
- Use overshoot for animation
- Get rid of sidepane flickering
- Set default HNumberAnimation easing.type to OutQuad, specify InOutQuad
for HCheckBox
2019-08-17 14:14:18 -04:00
miruka
1ab79347e9
Refactor HInterfaceBox and SignIn page
...
- Cleaned up code
- Sizes are standardized
- New HCheckBox component
- Replace RememberAccount page by a checkbox on the SignIn page
- The page can now be flicked if it's not tall enough to display
everything
- HNumberAnimation now has an overshoot property that will set the right
easing type, overshoot and adapt the animation factor/duration.
- HImage can now be colorized
2019-08-17 13:04:43 -04:00
miruka
3e48d63cf3
Show date instead of "Yesterday" for RoomDelegate
...
"Yesterday" takes too much space
2019-08-17 13:00:32 -04:00
miruka
28b5fbd267
Disable login button until ID & password entered
2019-08-16 16:44:28 -04:00
miruka
c7adb5b02f
Show error messages on login screen
2019-08-16 16:30:18 -04:00
miruka
be18a5db41
Make alert show for time set in cfg (default 4s)
2019-08-16 15:07:30 -04:00
miruka
0c493f88d8
Don't set alert if window already focused
2019-08-16 14:44:45 -04:00
miruka
1061498160
Alert (set urgency hint) on new messages
2019-08-16 14:27:25 -04:00
miruka
da4bb55f43
RoomDelegate last event time year
2019-08-16 13:44:44 -04:00
miruka
2d031a3fd2
After remember dialog, show edit account page
2019-08-16 13:20:12 -04:00
miruka
f9ef75714d
Increase padding between RoomDelegates
2019-08-16 13:10:40 -04:00
miruka
7d4da8952f
Reduce RoomDelegate opacity for left rooms
2019-08-16 13:04:54 -04:00
miruka
e8b173163d
Add icon to RoomDelegate for invited rooms
2019-08-16 12:55:54 -04:00
miruka
2bb3952225
Show last event time in RoomDelegate
...
Also respect locale for message times
2019-08-16 12:07:22 -04:00
miruka
c76ebe4fe2
Improve some texts
2019-08-16 09:47:44 -04:00
miruka
653934be71
Fix declining invitation being ignored
2019-08-16 02:12:37 -04:00
miruka
8baf336cf9
Room subtitle: show member but not profile events
...
Instead of not showing any kind of RoomMemberEvent.
2019-08-16 01:51:42 -04:00
miruka
729235fe6a
When a room is left, set UI state to default page
2019-08-16 01:31:46 -04:00
miruka
69a3f4377d
Show Default.qml from forget room button callback
2019-08-16 01:26:32 -04:00
miruka
6a7376d498
Update LeftBanner, fix forget button crash
2019-08-15 13:00:15 -04:00
miruka
3270c6dd19
Have inviter display name and avatar for rooms
2019-08-15 12:13:41 -04:00
miruka
947c706638
Improve "nothing events to show yet" message
2019-08-15 11:56:28 -04:00
miruka
34edf923d0
Fix past events loading error for invited room
2019-08-15 11:46:40 -04:00