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
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
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
Srevin Saju
9932823ad3
feat: show the room name in bold if the room has unread messages
2021-04-07 17:10:45 +00:00
Tobias Fella
94ad17d50e
Fix more license headers
2021-04-06 15:52:25 +02: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
Tobias Fella
e79df870e2
Fix joining rooms from the JoinRoomPage
...
Fixes #288
2021-04-02 16:39:13 +02: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
8e5ca78249
Fix selection in room list
2021-03-18 01:49:15 +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
8f1f02fa22
Use ItemSelectionModel to preserve room selection after sort
...
Fix #305
Fix #297
2021-03-17 18:51:17 +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
4860330c27
Fix image editor
2021-03-13 23:53:07 +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
Devin Lin
17930e2e2c
Use reuseITems for room list and don't have default highlighted room
2021-03-05 15:48:08 -05:00
Carl Schwan
34311e4d48
Fix "Choose local file" does nothing
...
An import was wrong.
Fix #286
2021-03-05 01:31:48 +01:00
Arnav Rawat
b6787ae242
Allow the avatar to be changed
...
This Merge Request allows an avatar to be set through the userEditSheet
The parts in controller.cpp decode the url and check whether the image
is valid, through qimagereader.
2021-03-05 00:31:44 +00:00
Carl Schwan
a9678b6fc3
Fix icon sizes on mobile
2021-03-05 01:28:35 +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
Carl Schwan
63d05272fa
Hide Avatars Setting - Hide them also in Left and Right sidebars
...
Fix #245
2021-02-26 14:29:54 +01:00
Carl Schwan
481a2e3681
Don't show "Close in System Tray button" on Android
...
Fix #273
2021-02-26 14:15:33 +01:00
Arnav Rawat
7ddd28406d
Remove redundant timeline label
2021-02-25 10:14:21 -06:00