Carl Schwan
ff6bff208a
Remove room description from room header
...
After using it for some time, I don't think it is really usefull but it
makes the UI more visually heavy, it doesn't show it completely and also
has very bad contrast.
Fix #197
2021-02-07 00:29:08 +00:00
Tobias Fella
7ae222d427
Fix typo
2021-02-06 20:50:37 +01:00
Carl Schwan
82945ab153
Make right clicking on message works again
...
This is now using TapHandler that can be used in a Layout without
warning about undefined behaviors.
2021-02-06 00:44:07 +00:00
Carl Schwan
c17392bd9d
Add minimul width and height to modal window
...
Fix #253
2021-02-05 23:40:32 +01:00
Tobias Fella
546d17b1a2
Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu
2021-02-04 20:23:16 +00: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
Bart Ribbers
465334e23f
Improve the look of reactions
...
- Always show the reaction counts. Element does this too and it makes sure
the look is consistent, no matter how many reactions there are.
- Show a slight border around the background to make the transition to
non-reaction less "grainy"
2021-02-04 18:28:53 +01:00
Nicolas Fella
7aedfd0e17
Move message filtering to C++
...
The filter callback is called very often (O(messages)). The current
filter model shows some significant overhead in QML internals. Moving
that to C++ makes it quite a bit faster.
2021-02-02 21:51:27 +00:00
Arnav Rawat
f67f319854
Fix sending attachments/files
...
This commit lets attachments be sent by themselves and prevents
a crash when a text message is sent with an attachment
2021-01-24 20:38:40 +00:00
Yuri Chornoivan
fde637b1df
Add i18n()
2021-01-23 21:49:38 +02:00
Tobias Fella
75d3b346ac
Actually save the settings
2021-01-23 16:39:34 +00:00
Carl Schwan
0f043e36c4
Revert "Improve sending message with mentions"
...
This reverts commit b9d34487a4
2021-01-22 14:45:40 +00:00
Carl Schwan
b9d34487a4
Improve sending message with mentions
...
* Fix bug with reply having broken mentions (@$1:$2)
* Fix mentions disapearing from edited messages
* Fix formatting disapearing from edited messages
2021-01-21 22:56:19 +01:00
Tobias Fella
f7cbb876f0
Make room topic in RoomDrawer readOnly
2021-01-20 15:17:10 +01:00
Yaroslav Sidlovsky
6893cb361e
Fix displaying user names with bold text
...
Property "font.bold" is ignored for QQC2.Label (see: https://phabricator.kde.org/D14495 )
2021-01-16 15:16:22 +03:00
Carl Schwan
c24c25eb38
Be less noisy
2021-01-14 20:32:15 +01: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
Christopher Hock
3ac85bacad
Change color of role description to light grey.
2021-01-13 21:45:49 +00:00
Carl Schwan
d9128ca483
Fix the white bar in the room page's header
2021-01-11 22:18:45 +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
a3e1e1d0a4
Fix autocompletion
...
Now it will save a map from display name to id and use that to generate
clean matrix.to links. This also make sure the colors used for the
preview are correct by using NeoChatUser and fix the bug with the regex
by simply removing the regex.
Fix #234
2021-01-11 02:19:55 +01:00
Yaroslav Sidlovsky
ed26e87c96
Display table borders
2021-01-09 15:02:24 +01:00
Carl Schwan
f4784bb0a1
Allow opening window in a secondary window
2021-01-09 13:32:16 +00:00
Yuri Chornoivan
a82b9dc14e
Fix minor typos
2021-01-09 09:19:11 +02:00
Carl Schwan
2cb38ad1ea
Add filter search field in room drawer
...
Fix #195
2021-01-09 01:02:19 +01: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
de23eef519
Fix PgUp/PgDn keys in message view switch rooms
...
Now use Ctr+PgUp/PgDn keys instead
Fix #213
2021-01-09 00:15:02 +01:00
Carl Schwan
cd1bec9977
Introduce the ActionsHandler
2021-01-08 23:12:09 +00:00
Nate Graham
af7003e680
Disable "Send message" button when there's no message to send
2021-01-08 14:42:21 -07:00
Nate Graham
cb57a1ec06
Fix case of anchors being set on an item in a Layout
2021-01-08 14:09:04 -07:00
Noah Davis
338553de16
[ChatTextInput] Fix isImage (no such property) and rgba (Should be Qt.rgba)
2021-01-04 13:58:34 -05:00
Noah Davis
9a17c07fdd
[ChatTextInput] support more image formats and use icons for non-image attached files
2021-01-04 13:58:34 -05:00
Carl Schwan
c60ee602e2
Add maximum width to room heading in sidebar
2020-12-30 14:18:33 +00:00
Carl Schwan
4463e3e3f2
Add edited flag to edited messages
...
Fix #206
2020-12-30 13:17:59 +00:00
Carl Schwan
5c8d916752
Add support for stickers
...
Fix #130
2020-12-29 14:28:32 +00:00
Carl Schwan
5a831732c5
Fix Platform is undefined bug
2020-12-29 01:43:23 +01:00
Carl Schwan
a929f7bca3
Move Header Collapse Button to the Right
...
Fix #191
2020-12-28 10:53:08 +01:00
Carl Schwan
c69d3587ba
Allow editing text and also hide edits from the timeline
2020-12-28 09:37:17 +00:00
Shantanu Tushar
9d82ebb0ed
Use the I-beam cursor when hovering on chat message text field
2020-12-28 10:25:17 +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
Eamonn Rea
066ab1e6c6
Fix cursorShape not updating for messages
2020-12-27 23:51:06 +00:00
Tobias Fella
8aec6b67cb
Fix image saving
2020-12-24 13:29:35 +01:00
Tobias Fella
1a28e52d79
Set a default name when saving files
...
Fixes #173
2020-12-24 01:54:19 +01:00
Carl Schwan
b4e528b047
Remove old code
2020-12-23 23:11:23 +00:00
Carl Schwan
59f9c36854
Dismiss reply when clicking on Esc
...
Fix #175
2020-12-23 18:01:09 +01:00
Devin Lin
8f348eb4fd
Cap height of send message box, and make it scrollable
2020-12-23 09:07:37 +00:00
Devin Lin
93f35faf95
Fix room header text alignment and add support for two line room descriptions
2020-12-23 08:53:09 +00:00
Devin Lin
87a7a34d80
Show feedback on avatar hover
2020-12-23 08:51:07 +00:00
Carl Schwan
dbc82b113b
Fix not eliding text in USerDetailDialog
...
Fix : #169
2020-12-22 15:23:12 +01:00
Tobias Fella
b3899f1e69
Port away from implicitly defined onFoo properties in Connections
2020-12-21 16:37:22 +01:00