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
Carl Schwan
21fb674f7d
Improve and siplify the design of state events
2021-03-07 16:43:22 +01:00
Carl Schwan
612fb4924e
Start implementing bubbles
2021-03-06 20:19:41 +00:00
Carl Schwan
34311e4d48
Fix "Choose local file" does nothing
...
An import was wrong.
Fix #286
2021-03-05 01:31:48 +01:00
Carl Schwan
418f22932d
Remove dead code
2021-02-26 18:19:46 +01:00
Tobias Fella
5692066bbc
Fix position of icon in 'go to readmarker' button
2021-02-26 15:46:15 +01:00
Alexey Andreyev
668968990c
Fancy effects: remove excess console debug output
2021-02-23 20:49:35 +00:00
Alexey Andreyev
008d19e68b
Fancy effects: fix container positioning
2021-02-23 20:49:35 +00:00
Alexey Andreyev
01f8c3b09f
Fancy effects: additional check if enabled everywhere
2021-02-23 20:49:35 +00:00
Alexey Andreyev
5ab44f1897
Fancy effects: add fancy effects support for chatTextInput
2021-02-23 20:49:35 +00:00
Alexey Andreyev
e7a862a1d9
Introduce fancy particle effects. Contributes to #261
...
Add user setting. Introduce FancyEffectsContainer. And confetti and snow
implementation.
2021-02-23 20:49:35 +00:00
Tobias Fella
f4ab281789
Revert "Fix broken i18ncp call"
...
This reverts commit 7d100b2a0f
2021-02-12 15:21:20 +00:00
Tobias Fella
7d100b2a0f
Fix broken i18ncp call
2021-02-11 23:18:14 +01:00
Tobias Fella
9432e28685
Fix opening a second invitation
2021-02-10 23:13:16 +01:00
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
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
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
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
Carl Schwan
d9128ca483
Fix the white bar in the room page's header
2021-01-11 22:18:45 +00:00
Carl Schwan
f4784bb0a1
Allow opening window in a secondary window
2021-01-09 13:32:16 +00: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
cb57a1ec06
Fix case of anchors being set on an item in a Layout
2021-01-08 14:09:04 -07:00
Carl Schwan
5c8d916752
Add support for stickers
...
Fix #130
2020-12-29 14:28:32 +00:00