Commit Graph

63 Commits

Author SHA1 Message Date
Carl Schwan
14a358ed58 Fix cliping problems in room list when using multiple accounts
Before the rooms from the room list would go above the account selector,
making it not possible to switch accounts and creating weird visual
artifacts.
2021-10-11 18:35:13 +02:00
Tobias Fella
011cf3c652 Fix highlighted room when opening room from notification 2021-10-03 16:21:53 +00:00
Tobias Fella
3977aee4ba Remove usage of Kirigami.Units.devicePixelRatio
It's deprecated and as far as i can tell it doesn't really do anything
since it is always set to 1
2021-10-02 14:33:27 +00:00
Carl Schwan
f2215f10e2 Fix bug with room list header 2021-06-22 10:14:35 +02:00
Carl Schwan
d7345ee4e6 Unify look of scrolling setting page
* Add frame on desktop
* Remove frame on mobile
* Use actions.main when needed on mobile
* Don't push a new setting page on mobile
2021-06-17 13:05:16 +02:00
Carl Schwan
a086964769 Make sidebar collapsible 2021-06-14 12:50:09 +00:00
Carl Schwan
b37152ff89 Open room when pressing Enter or Return
Fix #381
2021-05-29 20:15:46 +02:00
Carl Schwan
d14674c2cd Fix minor bugs 2021-05-24 16:50:54 +02:00
Carl Schwan
8314e19cb1 Fix bugs in multi account setups 2021-05-07 03:03:09 +02:00
Carl Schwan
f5a42e64ee Don't create QNetworkReply for image size we will discard 2ms later 2021-05-07 02:34:16 +02:00
Mufeed Ali
7b1c5f5aab Fix chat list item padding 2021-05-06 21:26:54 +05:30
Carl Schwan
b7d98fc6d9 Port RoomManager to C++
This also makes it possible to handle the Matrix URI
2021-04-27 21:07:10 +00:00
Jan Blackquill
d5d83ff7b8 Improve keyboard navigation
Simply enabling activeFocusOnTab on a few key elements massively improves the
keyboard navigation. Additionally, making the text box forward tab events when
appropriate allows for focus to pass through it without getitng stuck.
2021-04-25 19:38:54 +00:00
Tobias Fella
d170cc5161 Cleanup QML imports and license headers
- Group the imports into Qt, KDE, NeoChat
- Import the latest versions
- Remove unused imports
- Remove unused components
- Unify license header styling
2021-04-07 19:38:40 +00:00
Srevin Saju
9932823ad3 feat: show the room name in bold if the room has unread messages 2021-04-07 17:10:45 +00:00
Carl Schwan
8e5ca78249 Fix selection in room list 2021-03-18 01:49:15 +01:00
Carl Schwan
8f1f02fa22 Use ItemSelectionModel to preserve room selection after sort
Fix #305
Fix #297
2021-03-17 18:51:17 +00:00
Devin Lin
17930e2e2c Use reuseITems for room list and don't have default highlighted room 2021-03-05 15:48:08 -05:00
Carl Schwan
63d05272fa Hide Avatars Setting - Hide them also in Left and Right sidebars
Fix #245
2021-02-26 14:29:54 +01:00
Tobias Fella
b689e55068 Refactor and cleanup dead qml 2021-02-07 22:34:07 +01:00
Tobias Fella
72907a1f18 Refactor and fix invitations
-Move invitation handling into RoomPage and delete InvitationPage
-Open the new room after accepting the invitation
2021-02-04 20:22:53 +00:00
Carson Black
07f637c854 Improve appearance of room listing
This ports the room list delegates to Kirigami.BasicListItem leading/trailing for a more consistent appearance with other applications, and adjusts how their context menus look and behave
2021-01-11 21:25:29 +00:00
Carl Schwan
4be3eac7af Fix avatar loading in multiple places and prefers name instead of
display name for avatar fallback.

This also fixes a bug where users didn't get their avatar loaded in the
room list.

Fix #209
2021-01-09 00:37:13 +01:00
Carl Schwan
cd1bec9977 Introduce the ActionsHandler 2021-01-08 23:12:09 +00:00
Carl Schwan
a929f7bca3 Move Header Collapse Button to the Right
Fix #191
2020-12-28 10:53:08 +01:00
Tobias Fella
724f10a895 Don't load empty images from imageprovider
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error
2020-12-28 01:28:13 +01:00
Carl Schwan
5d80fdfcb6 Make the RightClick button works correctly 2020-12-16 16:28:42 +00:00
Tobias Fella
cbad7fbf51 Remove 'configure room' button from roomlist 2020-12-11 22:42:43 +01:00
Devin Lin
d5b21b837d Reduce sidebar clutter by shrinking text sizes and increasing spacing 2020-12-09 21:19:45 +00:00
Carl Schwan
ccdcf9a354 Fix tapping issue on room list 2020-12-06 19:30:14 +01:00
Carl Schwan
408b9eb057 Use long press on mobile for room list 2020-12-06 17:41:33 +01:00
Carl Schwan
aaa0024fd6 Add easy way to switch between accounts
Related to #121
2020-12-05 00:26:37 +01:00
Carl Schwan
b24af7c2f0 Fix room list 2020-12-03 22:39:35 +01:00
Carl Schwan
93cee871ba Fix regression: right click on room list items
Fix: #113
2020-12-03 17:19:36 +01:00
Carl Schwan
837f5dff09 Fix delegate not all having the same height in the room list
Fix: #112
2020-12-03 16:44:42 +01:00
Carl Schwan
de338607e3 fix typo 2020-12-02 19:19:13 +01:00
Carl Schwan
9472d5e417 Move back to abstrastlistitem for room list 2020-12-02 19:18:24 +01:00
Carl Schwan
722fc15368 Remove quick favorite action, this isn't an action often used 2020-12-02 18:51:51 +01:00
Carl Schwan
1296a688eb Improve allignement of dropdown in room list section delegate 2020-12-01 12:00:31 +01:00
Carl Schwan
2a0b6c74f3 Switch between room list items with standard tab switching keyboard
shortcuts

Ctrl+PgUp/PgDn and Ctrl+Tab/Ctrl+Shift+Tab

Fix #66
2020-11-27 23:43:11 +01:00
Carl Schwan
6bb3821039 Fix color diferenciation between highlight and unread pills
Fix: #87
2020-11-27 22:04:33 +01:00
Carl Schwan
feebc7678a Fix wrong color for room pill when mentioned
Fix: #81
2020-11-27 12:34:20 +01:00
Carl Schwan
ae6eae5204 Add bold for unread channel 2020-11-24 23:36:39 +01:00
Carl Schwan
fcb2659c53 Add selected effect to selected room
This fix #55
2020-11-24 18:45:08 +01:00
Carl Schwan
d7409bf639 Don't make unread room bold, we have pills for that 2020-11-24 09:58:54 +01:00
Carl Schwan
5d221b995a Add an unified room list view
This is off by default and can be enabled in the setting
2020-11-23 17:41:56 +00:00
Nate Graham
8c380a1c25 Improve initial view placeholder messages 2020-11-22 18:00:09 -07:00
Nate Graham
ef9325fd6a Remove periods at the end of the Placeholder Messages
We don't end placeholder messages with periods elsewhere.
2020-11-22 17:59:11 -07:00
Tobias Fella
4bfbca75d8 Add action to search in room directory when search is empty in roomlist 2020-11-21 22:48:36 +01:00
Carl Schwan
2e9fb7615a Don't hide room when searching
This makes it more easy to find the room you want without having to
clicking on every collapsed sections.
2020-11-21 21:47:06 +00:00