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
Tobias Fella
73f18f4fe9
Refactor the context menu loading
2021-04-06 11:08:56 +00: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
Arnav Rawat
4f52c5293b
Fix deletion of images
...
Fixes #322
2021-03-29 21:45:43 +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
a1fb3471c9
Limit the reaction tooltip to 3 users
2021-03-29 21:23:30 +00:00
Tobias Fella
e1327dfde0
Fix opening the image context menu
2021-03-24 14:45:39 +01:00
Tobias Fella
2c4cc9672d
Fix the reaction delegate
2021-03-23 20:46:36 +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
Carl Schwan
4ef75cfdf3
Fix regression around highlited messages
...
Fix #307
2021-03-19 22:17:56 +01:00
Eike Hein
b13082a8d4
Fix some problems with overlapping chat bubbles and auto-scroll
...
* Fix the implicitHeight binding loop
* Revert the TypeError regression from 525d691c
* Fix resolving the showAuthor model role, drop the
isPooled/isReuser Loader hack for the autor name item
Fix #293
Fix #292
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-03-19 22:07:28 +01:00
Carl Schwan
ac94204687
Fix
2021-03-19 22:04:55 +01:00
Devin Lin
b770213e09
Revert "Maintain timeline container author height"
...
This commit did not work, and was setting a readonly property.
2021-03-19 16:46:35 -04:00
Devin Lin
dd20df5c26
Fix hover actions being taken away by scrolling
2021-03-17 21:37:30 -04:00
Devin Lin
525d691cf8
Maintain timeline container author height
2021-03-17 21:35:24 -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
0e521f5b03
Maybe fix implicitHeight binding loop now
2021-03-18 01:33:51 +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
a1ee00147b
Remove underline from link in replies
...
Fix #306
2021-03-13 13:54:27 +01:00
Tobias Fella
e569936a85
Unify styling of links between TextDelegates and StateDelegates
2021-03-09 14:25:48 +01:00
Carl Schwan
21fb674f7d
Improve and siplify the design of state events
2021-03-07 16:43:22 +01:00
Tobias Fella
03a1562b23
Make the reaction bubble shadows look like the message bubble shadows
2021-03-06 21:41:33 +01:00
Carl Schwan
612fb4924e
Start implementing bubbles
2021-03-06 20:19:41 +00:00
Carl Schwan
2f06d45589
Input field fixes
...
* Message with multiple mentions are not broken in IRC. Fix #267
* Editing a message won't remove mentions anymore
(cherry picked from commit bb3b3bc088 )
2021-03-01 13:26:25 +00:00
Tobias Fella
e546c12b45
Don't underline links
2021-02-17 20:16:19 +00:00
Tobias Fella
546d17b1a2
Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu
2021-02-04 20:23:16 +00:00
Bart Ribbers
465334e23f
Improve the look of reactions
...
- Always show the reaction counts. Element does this too and it makes sure
the look is consistent, no matter how many reactions there are.
- Show a slight border around the background to make the transition to
non-reaction less "grainy"
2021-02-04 18:28:53 +01:00
Yuri Chornoivan
fde637b1df
Add i18n()
2021-01-23 21:49:38 +02:00
Yaroslav Sidlovsky
6893cb361e
Fix displaying user names with bold text
...
Property "font.bold" is ignored for QQC2.Label (see: https://phabricator.kde.org/D14495 )
2021-01-16 15:16:22 +03:00
Carl Schwan
c24c25eb38
Be less noisy
2021-01-14 20:32:15 +01:00
Yaroslav Sidlovsky
ed26e87c96
Display table borders
2021-01-09 15:02:24 +01:00
Yuri Chornoivan
a82b9dc14e
Fix minor typos
2021-01-09 09:19:11 +02:00
Carl Schwan
4be3eac7af
Fix avatar loading in multiple places and prefers name instead of
...
display name for avatar fallback.
This also fixes a bug where users didn't get their avatar loaded in the
room list.
Fix #209
2021-01-09 00:37:13 +01:00
Carl Schwan
4463e3e3f2
Add edited flag to edited messages
...
Fix #206
2020-12-30 13:17:59 +00:00
Carl Schwan
5c8d916752
Add support for stickers
...
Fix #130
2020-12-29 14:28:32 +00:00
Carl Schwan
5a831732c5
Fix Platform is undefined bug
2020-12-29 01:43:23 +01:00
Carl Schwan
c69d3587ba
Allow editing text and also hide edits from the timeline
2020-12-28 09:37:17 +00:00
Tobias Fella
724f10a895
Don't load empty images from imageprovider
...
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error
2020-12-28 01:28:13 +01:00
Tobias Fella
8aec6b67cb
Fix image saving
2020-12-24 13:29:35 +01:00
Tobias Fella
1a28e52d79
Set a default name when saving files
...
Fixes #173
2020-12-24 01:54:19 +01:00
Devin Lin
87a7a34d80
Show feedback on avatar hover
2020-12-23 08:51:07 +00:00
Tobias Fella
b3899f1e69
Port away from implicitly defined onFoo properties in Connections
2020-12-21 16:37:22 +01:00