miruka
12b6b74881
Disable room context menu entries while offline
...
Except "Copy room ID"
2020-07-10 13:15:01 -04:00
miruka
7af13441a0
Fix AccountDelegate properties in wrong place
2020-07-10 13:14:18 -04:00
miruka
435bbdaf22
Fix highlight when ctrl-tabbing to AddNewChat page
2020-07-10 13:14:18 -04:00
miruka
0ea23dcb6f
Fix room list highlight when adding new account
...
- Unset highlight when going to the add new account page
- After login, highlight the account related to the profile page that
gets switched to
2020-07-10 13:14:18 -04:00
miruka
199940ab19
Fix room list highlight when going to account page
...
Correctly set it when going to an account settings or add chat page by
using the account context menu, the add chat button or keybinds.
2020-07-10 13:14:18 -04:00
vslg
5abdc1f779
Fix changes requested ( #101 )
...
- Fix code formatting issues.
- Document `Presence`.
- Improve `Presence.__lt__()` performance by
defining a dict outside the method.
- Make presence ball radius relative to uiScale
and configurable from theme.
2020-07-10 13:14:18 -04:00
vslg
43df8fd60b
Bug fix and minor improvements
...
Improvements:
- Add instant feedback upon setting a different
presence for account (local echo)
- Sort room members by power level and then
presence
- Periodically update members' `last_acitve_at`
field on the room pane
- Move status message field up on account context
menu, and put invisible before offline again
Bug fix:
- Do not try to override presence set from
another client, accept it
2020-07-10 13:14:18 -04:00
vslg
a3c9ac20c6
Make offline presence to stop sync
...
Setting the presence of an account to offline
will make the client to end sync task and will
prevent messages from being sent.
Setting it to online again or any other presence
will start sync task again.
Left:
- Local echo to presence change
- UI Control to affect all members presence
- Block more requests to be sent (e.g. member
actions)
2020-07-10 13:14:18 -04:00
vslg
3fa35b88c9
Add offline icon and fix theme colors
2020-07-10 13:14:18 -04:00
vslg
edc8e04ce7
Bug fix and minor improvements
...
Bug fixes:
- Do not send typing notice and set room read
markers when the account is invisible
- Fix typing on set_presence
- Allow users to unset status message by setting
it to blank
- Escape html tags of status message on
SubtitleLabel of MemberDelegate
Improvements:
- Display user ID and status message on a tooltip
by hovering account or room member name
2020-07-10 13:14:18 -04:00
vslg
a1f38fe8d8
Add support for status message, use new icons
2020-07-10 13:14:18 -04:00
vslg
91ed600997
Check server presence support and comment code
2020-07-10 13:14:18 -04:00
vslg
0eda6eb278
Add account presences to account context menu
2020-07-10 13:14:18 -04:00
vslg
215557e353
Add presence circle on members avatar and account
2020-07-10 13:14:18 -04:00
miruka
08f15b6a01
Support menu key for room/member lists currentItem
...
Allow opening context menu for AccountDelegate, RoomDelegate and
MemberDelegate by selecting an item with up/down (when focusing filter
field) and pressing the menu key.
2020-07-10 13:14:17 -04:00
miruka
cfde6cb633
Room filter field: forward keys to room list
...
The room list can handle up/down presses out of the box, no need to
define handlers for these on the filter field.
2020-07-10 13:14:17 -04:00
miruka
dc2a7b8ee1
HMenuItem: always use onTriggered, not onClicked
2020-07-10 13:14:17 -04:00
miruka
475b07793d
Rename Account/Room → AccountDelegate/RoomDelegate
2020-06-26 07:20:24 -04:00
miruka
7f66ebb786
Re-add local highlights similar to 0.5.0
2020-06-26 05:59:16 -04:00
miruka
aa8dbce3a7
Re-add local unread "counter" similar to 0.5.0
2020-06-26 05:59:11 -04:00
miruka
b9f8740954
Move room date formatting logic to utils function
2020-06-24 08:14:54 -04:00
miruka
ad36fc72f4
Fix Connections deprecation warning on Qt 5.15
...
Adopt the correct behavior to get rid of
"QML Connections: Implicitly defined onFoo properties in Connections
are deprecated. Use this syntax instead:
function onFoo(<arguments>) { ... }"
2020-06-22 14:11:56 -04:00
miruka
43ed7b2eb9
Update highlighted room when adding new chat
2020-06-05 01:07:39 -04:00
miruka
3791a08eea
Terminology: room mention count → highlight count
2020-05-31 19:13:19 -04:00
miruka
96e61f15ce
Set a more useful minimum size for main pane
...
144px min for a pane that's still useful.
Also set `collapseSidePanesUnderWindowWidth` config option to `450`
instead of `400` by default now.
2020-05-21 01:04:24 -04:00
miruka
c9d5949847
MessageIndicator: shorten thousands and millions
2020-05-19 19:48:52 -04:00
miruka
4a3320111f
Remove debug print
2020-05-17 15:38:17 -04:00
miruka
59486ca65d
Fix setCorrectCurrentItem() for account items
2020-05-17 15:32:10 -04:00
miruka
05a547971d
Fix clicking on Account not updating highlight
2020-05-17 14:41:25 -04:00
miruka
14ffe0ba0b
Collapse-expand account → correct highlighted room
2020-05-16 18:21:59 -04:00
miruka
315237b411
Cycle unread rooms with alt+m when no more mention
2020-05-15 20:56:23 -04:00
miruka
631e2bc107
Highlight index 1 when filtering rooms
2020-05-15 20:56:23 -04:00
miruka
f20853b7ad
Restore correct highlight when no more room filter
2020-05-15 20:56:23 -04:00
miruka
e147b87d1b
Remove superfluous HTileDelegate, use HTile
2020-05-15 20:56:23 -04:00
miruka
ad7bce657c
Merge RoomList & AccountBar account delegates code
2020-05-15 20:56:23 -04:00
miruka
5b05e56b2a
Fix AccountBar goToAccount errors
2020-05-15 20:56:23 -04:00
miruka
fd3fe06d15
Add keybinds to go to account at specific indice
2020-05-15 20:56:23 -04:00
miruka
45048e625c
Fix UI parts focus keybind and buttons
2020-05-15 20:56:23 -04:00
miruka
974478f576
Add keybinds for previous/next unread/mention room
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
922f12e9f9
Highlight correct account/room on startup
2020-05-15 20:56:23 -04:00
miruka
eacee59f9e
Fix Room delegate opacity for left rooms
2020-05-15 20:56:23 -04:00
miruka
82c8496216
AccountBar: reduce opacity of collapsed accounts
2020-05-15 20:56:23 -04:00
miruka
9157cbd590
Add back collapse account keybind
2020-05-15 20:56:23 -04:00
miruka
e544f38b9f
Fix account settings/create room keybinds
2020-05-15 20:56:23 -04:00
miruka
5b4d12e330
AccountBar: make spinners visible again
2020-05-15 20:56:23 -04:00
miruka
94bcf323b2
Drop the "s" from AccountsBar
2020-05-15 20:56:23 -04:00
miruka
eff203032c
Python implementation of account collapsing
2020-05-15 20:56:23 -04:00
miruka
7192a402b6
Bring back account collapsing UI stuff
...
Not functional yet
2020-05-15 20:56:23 -04:00
miruka
bd3c78a73a
Make theme file closer to what it was in 0.4.3
2020-05-15 20:56:23 -04:00