Carl Schwan
56f49fabf7
Don't mark message as read when the current window is not visible
...
Fix #378
(cherry picked from commit 87d1fefae2 )
2021-05-31 17:22:09 +02:00
Carl Schwan
fe407a3421
Mark all message as read when clicking on down button
...
Fix #379
(cherry picked from commit 6e5bca4928 )
2021-05-31 17:22:03 +02:00
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
51b6593f96
Better read market handling: Mark room as read when scrolling to the
...
bottom
Fix #372
(cherry picked from commit db0f421811 )
2021-05-28 14:07:19 +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
127ad19109
Fix minor bugs
...
(cherry picked from commit d14674c2cd )
2021-05-24 14:55:28 +00:00
Carl Schwan
066ea4f8bd
Make sure message are loaded when scrolling to the top
...
(cherry picked from commit 49c1736f7c )
2021-05-24 14:53:11 +00:00
Carl Schwan
cf60337b27
Make effects more visible
...
(cherry picked from commit db62f06de4 )
2021-05-24 14:52:55 +00:00
Carl Schwan
ac75dd57c0
Minor optimization
...
(cherry picked from commit 7bdfdc0eec )
2021-05-23 16:33:13 +00:00
Carl Schwan
1d3d61ed77
Fix loading events when scrolling or opening a room for the first time
...
Fix #362
(cherry picked from commit bae7813f68 )
2021-05-23 16:31:41 +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
b5edfc909e
Treat read markers as item in the model
2021-05-21 17:46:34 +00:00
Carl Schwan
eb300e0beb
Center BusyIndicator
2021-05-20 17:06:16 +02:00
Carl Schwan
b4cb3259e1
Remove list view transitions
...
This was causing weird visual bugs (semi opaque bugs) and white space at
the botton of the list view after sending a message.
2021-05-20 15:04:38 +00: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
Carl Schwan
3f20534e4a
Fix undefined errors
2021-05-07 03:18:19 +02:00
Srevin Saju
affcbca199
style: remove redundant Layout.fillWidth and use only one for text
...
delegate
2021-05-05 20:50:32 +03:00
Carl Schwan
ea403eb679
Fix freze in neochat chat view
2021-05-05 17:11:00 +00:00
Carl Schwan
e8816310d2
Fix buttons over message flickering
...
Fix #333
2021-04-28 17:00:43 +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
Srevin Saju
a2a6983123
feat: add button in RoomPage to mark all messages as read
2021-04-27 20:28:20 +00:00
Srevin Saju
6487adafb8
feat: add an improved typing notification bar above chatbar
...
Fix #330
2021-04-27 17:43:47 +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
Srevin Saju
23b7945f4c
fix: call chatBar.focusInputField() instead of chatBar.focus()
...
possibly left out when refactoring
2021-04-10 00:38:22 +03: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
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
7f63b58067
Remove more dead code
2021-04-08 13:00:22 +02:00
Tobias Fella
3a4f44f2a9
Remove dead visible statement
2021-04-08 12:58:30 +02:00
Tobias Fella
f309460879
Remove dead connection
...
The signal does not exist
2021-04-08 12:39:35 +02:00
Tobias Fella
352c55418b
Close reply/edit component when switching rooms
2021-04-08 12:28:04 +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
Tobias Fella
73f18f4fe9
Refactor the context menu loading
2021-04-06 11:08:56 +00:00
Srevin Saju
78f7f815ca
feat: add a quick reply workflow using the Ctrl+Up arrow key
...
neochat now supports a quick reply shortcut, which helps to reply to
the last event in a room.
2021-04-05 12:17:51 +00:00
Srevin Saju
f007e96fdf
feat: add a quick edit workflow using the up arrow key
...
neochat now supports a quick edit shortcut, which helps to edit
the last message from the user in a room.
Apply 1 suggestion(s) to 1 file(s)
remove comment
2021-04-03 21:31:42 +03:00
Carl Schwan
75a2ba86ee
Remove quick reply feature
...
Unfortunately I couldn't find any way to make it work while also
making scroll works correctly. The container is now using item delegate
and by testing on my laptop touch pad it seems to scroll well.
Probably worth revising at some point but at least it makes neochat
usable.
2021-04-03 15:43:51 +00:00
Srevin Saju
4e02fa8290
feat: scroll to bottom on new user message
...
when the user sends a new message, and if the user is at an older position
in the timeline, then neochat should automatically scroll to the latest message and mark all the messages as read
2021-04-02 22:37:31 +00:00
Arnav Rawat
997972a3d3
Use Layout margins consistently
...
Fixes #319 , #320 - caused by inconsistent usage of layout margins on
2021-03-29 21:45:36 +00:00
Tobias Fella
96c402040d
Don't show the typing users while the room is still loading
...
Fixes #316
2021-03-23 18:27:42 +01:00
Carl Schwan
11c2e56320
Fix timeline spacing
2021-03-20 18:02:41 +01:00
Carl Schwan
743c9972b9
Use singleton to pass edit/reply content to chatbox
...
This significantly reduce the complexity of everything.
2021-03-20 14:00:29 +00:00
Devin Lin
e2aefb6bdc
Improve performance of Connections for hover handler
2021-03-17 21:37:30 -04:00
Devin Lin
dd20df5c26
Fix hover actions being taken away by scrolling
2021-03-17 21:37:30 -04:00
Carl Schwan
b349c2376d
Fix message hover buttons (React, Edit, Reply) not moving with scroll
...
Fix #296
2021-03-18 01:56:27 +01:00
Carl Schwan
ee9f521a37
Remove mouseArea from TimelineContainer
...
This was incorect (anchors in layout) and was replaced by TapHandler
like the rest of the code was already using.
2021-03-18 01:21:16 +01:00
Noah Davis
38e2c7222b
This splits ChatTextInput into ChatBox and a handful of subcomponents.
...
- ChatBar: Contains the main TextArea and standard buttons.
- Usually visible, but can be disabled when necessary.
- AttachmentPane: Contains an image when attaching an image and also a filename with mimetype icon.
- Has a toolbar to cancel the attachment or edit it if it's an image.
- Shown when there is an attachment.
- ReplyPane: Shows who you are replying to and the content of their message.
- Also shows edits and has a button to cancel replies/edits
- Shown when replying or editing
- CompletionMenu
- Now a vertical list using a QQC2.Popup
- Either a Pane or a Menu/Popup
- EmojiPickerPane
@teams/vdg
2021-03-17 23:48:06 +00:00
Suraj Kumar Mahto
b67f03d33f
Remove the option to edit the messages of other users.
2021-03-17 18:54:32 +00:00
Carl Schwan
0289822e6c
Fix binding loops that was sometimes freezing the app
...
Fix #294
2021-03-17 19:46:19 +01:00