ivan tkachenko
6466f7f56c
Ban anything that flickers or flashes on hover
...
I don't like that. UI shouldn't jump in user's face like all these hover
actions, bright backgrounds and random layout-shifting buttons out of
nowhere.
2023-09-10 21:59:45 +03:00
Laurent Montel
def46d90a8
Fix qml signal argument warning
2023-09-10 20:19:32 +02:00
ivan tkachenko
8afd7b2892
Give "+" tool button a proper a11y role and an RTL-friendly modal menu
2023-09-10 20:40:23 +03:00
ivan tkachenko
deb11367cb
ChatBox: Fix jittery ChatBar
...
ChatBar animated its implicit height, and there is no way for us to
force it animating on integer values only. It is contained in a Layout
type, and QtQuick.Layouts are known to round up size of their items and
position them on an integer scale. All in all, is caused bottom of chat
bar (action icons row and the whole bottom edge) to flicker during
height animation.
2023-09-10 20:40:23 +03:00
ivan tkachenko
ffd1b06a82
RoomSettings: Port disabled text fields to readOnly
...
Improves visuals, and allows to select & copy text. Also hides Save
button when there's no chance it would get enabled.
Depends on very recently merged MR in kirigami-addons:
https://invent.kde.org/libraries/kirigami-addons/-/merge_requests/153
2023-09-10 20:40:22 +03:00
ivan tkachenko
2597f0aec9
RoomSettings: Make room avatar bigger
...
This is literally the page about the room, we are not short on space
here. Make it shine.
2023-09-10 20:40:22 +03:00
James Graham
33ca72efd9
Fix ImageDelegate
...
Restore the animated mediaInfo to eventHandler and make sure ImageDelegate uses the media helper size for the sourceSize.
2023-09-10 16:22:14 +00:00
ivan tkachenko
2fbf659eb4
RoomInformation: Fix sizing of ListView header
...
Header is parented to ListView's contentItem (flickable) which is
subject to padding due to vertical scrollbar.
2023-09-10 17:07:20 +03:00
q234 rty
50551541ed
Use shortcode as a fallback for body when sending stickers
2023-09-10 09:41:46 +00:00
James Graham
323cd4962e
Explore rooms page RoundedItemDelegate
...
Move the explore rooms page to using the new RoundedItemDelegate
2023-09-10 09:00:57 +00:00
Tobias Fella
f7f98c43e2
Fix fix for crash in push rules
2023-09-09 12:13:33 +00:00
Laurent Montel
bb62849a19
Use explicit qml signal argument in ShareAction
2023-09-08 07:44:31 +00:00
Laurent Montel
d05385caed
Remove unused qml module
2023-09-08 08:28:03 +02:00
James Graham
2c6ab498ac
Event Handler
...
Similar to text handler, pull out the disparate array of functions which format information from an event ready for display in the UI and put in a handler class with a test suite.
requires https://github.com/quotient-im/libQuotient/pull/686
2023-09-07 19:02:50 +00:00
Laurent Montel
597633f824
Add explicit signal argument
2023-09-07 13:42:45 +00:00
Laurent Montel
65da416b8e
Disable add button when text is empty
2023-09-07 08:16:02 +00:00
Tobias Fella
8936b23da9
Remove "Apply" Button in security settings
...
It doesn't do anything. All settings are instant-apply.
2023-09-05 12:58:57 +00:00
Laurent Montel
0d5929b4bc
Fix enable/disable save button when image.source is empty. Otherwise it will crash
2023-09-04 19:03:06 +00:00
Laurent Montel
51d41ab5bf
Enable "add" button only if text is not empty
...
=> otherwise it will report error
2023-09-04 07:24:25 +02:00
Tobias Fella
011b11681f
Remove button to toggle search in room member list
2023-09-03 16:15:36 +02:00
Tobias Fella
8baeb236bc
Remove unused signals in Controller
2023-09-03 11:32:59 +00:00
Tobias Fella
b9d173d0b5
Remove Controller::accountCount in favor of AccountRegistry::accountCount
2023-09-03 11:23:39 +00:00
Tobias Fella
3790955c56
Port CreateRoomDialog to FormCard
2023-09-03 11:15:33 +00:00
James Graham
199772a013
Room Drawer Media Tab
...
Add a tab bar to the room drawer which includes a new media tab in addition to the room information tab. This mr completes the architecture for adding others easily later e.g. message highlights or threads.
To put this together I had to make sure things like the menus and the maximize delegate were available to both the room drawer and page so there is some rework there to put it all together.
Wide\

Mobile\

2023-09-03 10:25:04 +00:00
Tobias Fella
1675c14c92
Port GlobalNotificationsPage to FormCard
2023-09-02 17:12:46 +00:00
James Graham
56f5ef2611
MediaSizeHelper
...
Create a media size helper and use it to force video and images to be the correct size even in replies.
2023-09-02 16:43:05 +00:00
Tobias Fella
7ba63eb680
Port proxy page to formcard
2023-09-02 15:59:22 +00:00
Tobias Fella
ddd690f6d5
Port DevicesPage to FormCard
2023-09-02 15:59:07 +00:00
Tobias Fella
d9dc5f48bc
Port appearance settings to formcard
2023-09-02 15:58:55 +00:00
Tobias Fella
a3b40a5e6d
Port devtools to FormCard
2023-09-02 15:58:37 +00:00
Tobias Fella
be71a4349b
Port accounts page to formcard
2023-09-02 15:50:05 +00:00
James Graham
ede2707767
New default pushrules
...
Add handling for new default push rules added in 1.7 also add a generic unknown handling for if any others are added in the future so they don't appear in keywords
2023-09-02 15:48:50 +00:00
Tobias Fella
5871903529
Port CreateSpaceDialog to FormCard
2023-09-02 15:46:25 +02:00
Tobias Fella
87745c360d
Port EmoticonEditorPage to FormCard
2023-09-02 11:45:14 +00:00
Tobias Fella
40d2eb5aba
Port general settings page to FormCard
2023-09-02 11:45:01 +00:00
Tobias Fella
cfd9f36a97
Port NotificationRuleItem to FormCard
2023-09-02 11:42:44 +00:00
Tobias Fella
48f7e06c01
Port remaining room settings to FormCard
2023-09-02 11:42:38 +00:00
Tobias Fella
43ecd188f1
Port SonnetConfigPage to FormCard
2023-09-02 11:33:03 +00:00
Tobias Fella
063056bebd
Port EmoticonsPage to FormCard
2023-09-02 11:25:32 +00:00
Laurent Montel
dfba655527
Fix missing argument signal in qml
2023-09-02 11:13:51 +00:00
Laurent Montel
23178b6224
Remove unused import qml module (scripted)
2023-09-02 11:54:28 +02:00
Tobias Fella
a9a6e31b8c
Use FormCard AboutKDE
2023-09-02 07:41:41 +00:00
Tobias Fella
c5501f2b5d
Port ColorScheme to FormCard
2023-09-01 19:19:08 +00:00
Tobias Fella
68602fc177
Port ExploreComponent actions to pageStack.pushDialogLayer
2023-09-01 19:04:56 +00:00
Tobias Fella
8ce5a57499
Remove type registration for RoomMessageEvent
2023-09-01 18:54:58 +00:00
James Graham
bf3c5708c7
Remove support streaming
...
Remove support streaming from video delegate as it's breaking downloads and unused
2023-09-01 17:54:37 +00:00
Tobias Fella
8359c1fe90
Only set graphics API when using Qt6
2023-09-01 16:06:00 +00:00
Laurent Montel
774121ea8c
Fix qml explicit signal argument
2023-09-01 17:11:35 +02:00
Tobias Fella
370bbf8a4b
Set attributes for QtWebEngine
2023-09-01 11:34:33 +00:00
Tobias Fella
4fd36fb221
Fix crash for push rules without action
...
@nvrwhere how much sense does this fix make? i only know that it doesn't crash anymore
2023-09-01 11:33:29 +00:00