Noah Davis
885b75e35f
Move TypingIndicator to the right side
...
So that it's less likely to cover message text.
2021-05-31 16:54:41 +02:00
Carl Schwan
ae3e395b47
Reinitialize completion list after switching room
...
(cherry picked from commit e15e10d319 )
2021-05-29 23:55:58 +02:00
Carl Schwan
96c91e2a35
Make sure we only add non empty name or display name in autocompletion
...
list
Otherwise this will breaks when replacing names later
(cherry picked from commit c7fd5cc511 )
2021-05-29 23:15:26 +02:00
Arnav Rawat
1804140ac0
Restore I-Beam cursor on hover
...
Should not cause issues with themes
(cherry picked from commit df0ad391ba )
2021-05-28 13:35:05 +00:00
Carl Schwan
5a28a93ab6
Fix reverse tabbing not working in autocompletion
...
Now call autocomplete() also for shift+tab
Fix #377
(cherry picked from commit 3329739d55 )
2021-05-28 14:57:35 +02:00
Carl Schwan
76bd529c3c
Fix size of replies in mesage delegate
2021-05-28 14:53:43 +02:00
Carl Schwan
293288a0b6
Fix completion when tabing users
...
This was caused by weird bindings. Now just access the userId value
directly.
Fix #324
(cherry picked from commit d9125148fe )
2021-05-28 14:27:44 +02:00
Carl Schwan
44d3f628d9
Fix username autocompletion
2021-05-28 14:02:03 +02:00
Noah Davis
e5c65a662e
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
(cherry picked from commit bbcf4239a4 )
2021-05-27 14:18:05 +00:00
Carl Schwan
cf60337b27
Make effects more visible
...
(cherry picked from commit db62f06de4 )
2021-05-24 14:52:55 +00:00
Carl Schwan
1e047a8ff1
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).
(cherry picked from commit dded804f00 )
2021-05-23 16:30:55 +00:00
Carl Schwan
ad4ca3ad9e
Fix i18n
...
(cherry picked from commit dbb43addc8 )
2021-05-22 16:24:24 +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
Carl Schwan
f5a42e64ee
Don't create QNetworkReply for image size we will discard 2ms later
2021-05-07 02:34:16 +02:00
Carl Schwan
471b525151
Fix spacing issues in FileDelegate
2021-05-07 01:51:42 +02:00
Noah Davis
07bee8d9de
ImageDelegate: Use automatic instead of explicit sourceSize
...
Fixes bad downscaling and improves RAM usage.
2021-05-06 12:53:16 -04:00
Carl Schwan
0a51c845e6
Implement quick edit
2021-05-06 16:14:38 +00:00
Srevin Saju
affcbca199
style: remove redundant Layout.fillWidth and use only one for text
...
delegate
2021-05-05 20:50:32 +03:00
Srevin Saju
fcfde394ad
Merge branch 'master' into work/srevinsaju/command-completion
2021-05-05 20:27:26 +03:00
Srevin Saju
24bf460e9f
fix: use ChatDocumentHandler.AutoCompletionType enum instead of string to chose delegates
2021-05-05 20:25:25 +03:00
Srevin Saju
929e21fc59
style: improve comparisons and formatting
...
completionMenu.completionType === "username"
completionMenu.completionType === "username"
completionMenu.completionType === "username"
completionMenu.completionType === "emoji"
style:
2021-05-05 18:29:38 +03:00
Carl Schwan
472490f257
Possible fix the freeze found in NeoChat
...
I looked at Tok code and found this as architectural difference in their
ListView.
2021-05-05 15:07:50 +00:00
Srevin Saju
75dc3e6611
fix: do not show scroll bar on x-axis in the auto completion bar
...
Fixes #342
2021-05-02 12:18:26 +00:00
Noah Davis
32c21b7b84
Fix Kirigami spelling mistake
...
Kirigani -> Kirigami
2021-05-02 07:33:20 -04:00
Srevin Saju
6c47594bc3
feat: include parameter along with help message in the completion dialog
2021-05-01 17:20:44 +03:00
Srevin Saju
6781c0c964
refactor: replace isCompletingEmoji with completionType
...
completionType (str) will tell completionListView
to load the correct delegate
2021-05-01 13:33:55 +03:00
Srevin Saju
e234861ee6
feat: add command completion UI component
2021-05-01 13:31:09 +03:00
Srevin Saju
57684aa454
fix: fix the emoji message size once again
...
this used to work once upon a time, but it stopped working recently.
This commit helps to make the emoji-only-messages bigger. In case, if emoji's
are sent as a reply to a text message, this does not affect size then.
fix: fix the size of the `(edited)` string when the message
contains only emojis' and also when its edited
2021-04-30 19:12:07 +03: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
Srevin Saju
fefcbbe190
fix: remove redundant margin in the typing indicator
2021-04-27 20:58:47 +03:00
Srevin Saju
6487adafb8
feat: add an improved typing notification bar above chatbar
...
Fix #330
2021-04-27 17:43:47 +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
89056ed6c1
Move the ActionsHandler instance to the RoomPage
...
This is required since when using a RoomWindow, the ActionsHandler from the RoomManager is used, which means that the wrong room is used.
2021-04-17 20:47:01 +00:00
Tobias Fella
f98eb78185
Show a BusyIndicator in the FullScreenImage while the image is loading
...
Implements #339
2021-04-17 19:19:09 +02:00
Srevin Saju
66545dbc31
feat: autofocus on the textArea when the reply / edit is triggered
...
automatically focus on the textArea when reply, edit is pressed. Also
move the cursor to the end of the text content, for example, when the edit button
is pressed
2021-04-10 00:10:42 +03:00
Tobias Fella
25a8a8b011
Give the bubble component a more descriptive name
2021-04-09 23:04:26 +02:00
Tobias Fella
41b53b5245
Refactor hoverActions positioning
...
The positions are still bad, but the calculation is slightly less ugly
2021-04-09 22:51:28 +02:00
Tobias Fella
71fcc20943
Refactor the hoverActions
2021-04-09 22:25:43 +02:00
Tobias Fella
b68902cd0d
QML errors--
2021-04-08 12:35:06 +02: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