Commit Graph

29 Commits

Author SHA1 Message Date
Carl Schwan
7ac232d372 Minor optimizations to the timeline delegates
* Use anchors instead of Layouts
* Don't use Loader for message display name
* Lazy load the emoji popup
2021-05-20 15:04:38 +00:00
Carl Schwan
35f7b29e54 Fix "Leaving a room does not work"
Fix #355
2021-05-07 19:02:39 +02:00
Carl Schwan
d77d8c3835 Improves dialogs
* Fix some small spacing issues
* Add title
2021-05-05 23:11:06 +02:00
Carl Schwan
f30b17bf73 Fix opening room in seperate window and unify leaving room code 2021-04-28 15:06:57 +02:00
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
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
Tobias Fella
73f18f4fe9 Refactor the context menu loading 2021-04-06 11:08:56 +00:00
Tobias Fella
0b2bd84085 Align the avatars in MessagewDelegateContextMenu and Timeline 2021-04-03 00:10:23 +02:00
Tobias Fella
662c570371 Close room if it is opened while leaving it 2021-04-02 16:16:44 +02:00
Tobias Fella
f44716d9b0 Don't trigger Actiosn in MessageDelegateContextMenu twice 2021-03-23 16:07:49 +01:00
Carl Schwan
612fb4924e Start implementing bubbles 2021-03-06 20:19:41 +00:00
Tobias Fella
546d17b1a2 Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu 2021-02-04 20:23:16 +00:00
Nate Graham
bd11f543f5 Regularize context menu
"Open in new Window" goes on top, as it does in most other context menus
with similar items

"Leave room" goes on the bottom with a separator above it, because it's
a mildly destructive action.
2021-01-14 08:16:55 -07: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
f4784bb0a1 Allow opening window in a secondary window 2021-01-09 13:32:16 +00: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
Tobias Fella
449adf993c Allow opening links in the MessageDelegateContextMenu
Fixes #167
2020-12-20 18:05:05 +01:00
Carl Schwan
344dbb110d Fix a few issues with icons 2020-12-06 17:37:10 +01:00
Carl Schwan
29584aec23 Allow redaction of message only by admins and authors of the message
Previously you could click on the button but it would do nothing
2020-12-05 11:29:37 +01:00
Carl Schwan
562850ea2c Fix Clibpoard is not defined
Now import it and use the correct function

Fix #100
2020-12-01 15:00:48 +01:00
Carl Schwan
10fe948016 Fix typo Clibpoard -> Clipboard
Fix #100
2020-11-30 23:28:55 +01:00
Reinhold Gschweicher
41a4610acc TextArea for MessageSource to mark/copy source 2020-11-30 21:02:36 +01:00
Nate Graham
f75035adc8 Add a separator before "Leave Room"
This should make it harder to accudentally leave the room when you're
just trying to mark it as read!
2020-11-27 14:04:38 -07:00
Tobias Fella
a8b95791e2 Port MessageSourceDialog to OverlaySheet 2020-11-17 20:39:40 +01:00
Carl Schwan
6db8354727 Fix MessageDelegateContextMenu not being displayed
It turnout that using an QML Singleton was a bad idea, instead create a
qml object in the main component and refer to it in the rest of the
codebase.

This commit also simplify a bit the qml structure of the Menu and fix
some visual bugs.
2020-11-16 10:00:18 +01:00
Carl Schwan
523adace21 Small fixed in 18n 2020-11-16 00:12:22 +01:00
Tobias Fella
3a70a9d91c Set all internal qml versions to 1.0
They're useless and anything else just causes problem
2020-11-11 20:14:43 +01:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00