Tobias Fella
cb2ea5f4e3
Allow TextDelegate to wrap anywhere if required
...
Prevents lines from going out of the message bubble
2021-09-20 23:31:36 +02:00
Tobias Fella
50040230f5
Port away from onFoo in Connections
2021-09-20 23:04:40 +02:00
Tobias Fella
9cdf6bfa04
Fix displayname in reply component
2021-09-14 23:24:59 +02:00
Tobias Fella
af29925798
Open users in UserDetailSheet instead of browser in statedelegate
2021-09-11 20:04:36 +02:00
Tobias Fella
f5853dd1f7
Three's a crowd
2021-09-11 16:36:22 +02:00
Tobias Fella
bc76197487
Fix more HTML injections
2021-09-11 16:33:09 +02:00
Tom Z
c39e46a1f0
For the "Compact" view; show hovered background
2021-09-08 13:24:21 +00:00
Tobias Fella
c9935804b0
Fix QML warning in ImageDelegate
2021-08-25 00:20:24 +02:00
Tobias Fella
bd08f7fd36
Fix QML error
2021-08-24 00:45:57 +02:00
Tobias Fella
046e823d1b
Show blurhashes for image events
2021-08-21 00:39:57 +02:00
Tobias Fella
dada3e300b
Revert "Spellchecking with new Sonnet declarative API"
...
This reverts commit 17bbc60f6f
2021-08-20 20:31:25 +00:00
Jan Blackquill
4955b1f7a0
Improve the file delegate
...
- cleaner code
- supports stopping downloads
- utilises the mimetype in order to display an icon
- better size formatting
- tooltips
2021-08-19 14:01:14 -04:00
Tobias Fella
d7ce0b7468
Show a placeholder for encrypted messages
...
Tells the user that the message could not be decrypted because the key
was not shared with the device. At the moment, this is technically not
completely correct, but it will be when libQuotient supports reading
encrypted messages
2021-08-18 21:54:06 +02:00
Felipe Kinoshita
94c4bbc3db
Center section label and change it's color
...
This commit horizontally centers the section label and gives it a
disabled text color, this helps visually separate this label from
the actual messages and makes it easier to scan.
2021-08-17 16:44:42 -03:00
Carl Schwan
17bbc60f6f
Spellchecking with new Sonnet declarative API
...
This replaces all the custom code with a shared implementation
in QQC2-desktop style
2021-08-14 20:27:11 +00:00
Carl Schwan
b1d8956036
Fix links now working anymore and simplify code
2021-06-22 10:14:53 +02:00
Carl Schwan
680b0cc3bd
Bind spoiler revealed state
2021-06-17 22:39:50 +00:00
Smitty van Bodegom
8474136f57
Support displaying spoilers
...
This adds support for displaying recieved spoilers, but not sending
them. Spoilers are displayed as a black rectangle, and can be clicked on
to be revealed. If the last message in a channel was a spoiler, it is
not shown on the left sidebar.
The spoiler blackening is done in CSS, but to check if a message
contains a spoiler for determining if it should cause a different cursor
to be displayed and if it should be shown in the sidebar, a simple check
of if the message contains "data-mx-spoiler" is used.
2021-06-17 22:39:50 +00:00
Carl Schwan
9ad5a7b02b
Fix some minor warnings
2021-06-17 00:39:04 +02:00
Carl Schwan
768fd74361
Keep completion behavior similar to before
...
* Use tab to jump to the next completion item
* Space to accept change
2021-06-17 00:37:57 +02:00
Jan Blackquill
6898670499
feat: better autocompletion UX
...
The autocompletion bar is now more similar to mainstream
chat applications, which use up/down to change the selection,
and tab to confirm the selection. An extra space is also added
to keep the flow of typing going.
2021-06-16 16:29:14 -04:00
Jan Blackquill
30965cb503
feat: ponies.im emoji support (custom emojum)
2021-06-16 15:34:55 -04:00
Srevin Saju
b412719f2c
feat: show local users's messages on right
2021-06-13 18:52:17 +00:00
Carl Schwan
0ff9425fee
Add spellchecking suggestions
2021-06-10 11:29:59 +00:00
Carl Schwan
efb70287b9
Add setting page
2021-06-07 11:49:35 +02:00
Jan Blackquill
ce15a8d697
Add quick switcher
2021-06-04 00:02:00 +00:00
Carl Schwan
e15e10d319
Reinitialize completion list after switching room
2021-05-29 23:55:34 +02:00
Carl Schwan
c7fd5cc511
Make sure we only add non empty name or display name in autocompletion
...
list
Otherwise this will breaks when replacing names later
2021-05-29 23:13:16 +02:00
Arnav Rawat
df0ad391ba
Restore I-Beam cursor on hover
...
Should not cause issues with themes
2021-05-28 13:34:22 +00:00
Carl Schwan
3329739d55
Fix reverse tabbing not working in autocompletion
...
Now call autocomplete() also for shift+tab
Fix #377
2021-05-28 14:56:36 +02:00
Carl Schwan
7bec8c73f8
Fix size of replies in mesage delegate
...
(cherry picked from commit 76bd529c3c )
2021-05-28 14:54:08 +02:00
Carl Schwan
d9125148fe
Fix completion when tabing users
...
This was caused by weird bindings. Now just access the userId value
directly.
Fix #324
2021-05-28 14:25:55 +02:00
Noah Davis
8a55db4eb8
Move TypingIndicator to the right side
...
So that it's less likely to cover message text.
2021-05-27 14:11:01 -04:00
Noah Davis
bbcf4239a4
Use 3 dot typing indicator, clean up code a bit.
...
Move TypingIndicator.qml out of ChatBox folder.
It wasn't part of the ChatBox.
fixes #367 by eliding instead of wrapping text
2021-05-27 14:17:22 +00:00
Carl Schwan
db62f06de4
Make effects more visible
2021-05-24 16:47:40 +02:00
Carl Schwan
34da8734a2
Fix qml warnings
2021-05-23 22:55:20 +02:00
Carl Schwan
93064ec5bf
Fix username autocompletion
2021-05-23 18:38:52 +02:00
Carl Schwan
dded804f00
Fix mode without avatar
...
It seems that this mode didn't get much love when I added the bubbles so
it was quite broken. This patches removes the bubbles and fix the
alignment issues when using this mode.
We probably should rename it to compact mode in a follow up commit (but
not this one so we can backport it to the stable branch).
2021-05-23 16:30:16 +00:00
Carl Schwan
dbb43addc8
Fix i18n
2021-05-22 16:23:14 +00:00
Carl Schwan
b5edfc909e
Treat read markers as item in the model
2021-05-21 17:46:34 +00:00
Tobias Fella
0bc51627bb
Disable sending messages to encrypted rooms
2021-05-21 12:20:53 +02:00
Carl Schwan
a24df37d74
Show images from replied-message in replies
...
Fix #350
2021-05-20 19:45:22 +02:00
Carl Schwan
20a7672008
Remove dead code
2021-05-20 18:46:52 +02:00
Carl Schwan
773e633867
Makse sure busyspimmer are only running when required
2021-05-20 15:04:38 +00:00
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
Tobias Fella
7a065c18b6
Port away from KDeclarative
2021-05-11 20:56:53 +02:00
Yuri Chornoivan
f20501fe34
Fix minor typo
2021-05-08 08:23:36 +03:00
Carl Schwan
173d8075ad
Show link on hover
...
Fix #279
2021-05-07 04:18:50 +02:00
Carl Schwan
757cc99ff0
Add indicator for lack of internet connectivity
...
Fix #315
2021-05-07 03:36:40 +02:00
Carl Schwan
145532c89d
Don't quick edit text when there is already text in the input field
...
Fix #354
2021-05-07 03:08:57 +02:00