Commit Graph

62 Commits

Author SHA1 Message Date
Carl Schwan
550cef52d0 Use more adapted delegate for showing emote (/me)
Now use a standard MessageDelegate and don't display the title part.
This now make the reply and reaction button available and also make it
possible to see the reactions.

Fix: #69
Fix: #75
2020-11-27 15:29:11 +01:00
Carl Schwan
b0bbd3631f Add Start a chat page 2020-11-27 14:37:29 +01:00
Carl Schwan
da9f08eae4 Remove obsolete QML components 2020-11-27 14:37:29 +01:00
Carl Schwan
7140734576 Improve reaction delegate style 2020-11-27 12:42:06 +01:00
Carl Schwan
139d9e93e0 Fix regression with Enter+Shif in ChatTextInput 2020-11-27 00:45:13 +01:00
Carl Schwan
48521d8c8e Don't hijack drag event on mobile in timeline
This fix #78
2020-11-26 15:41:40 +01:00
Carl Schwan
d6ab6bacdd Use RichText text input to provide real mentions
This use internally now a QTextDocument and a new C++ class to
manipulate the document with QTextCursor.
2020-11-26 14:25:30 +00:00
Carl Schwan
e838f7423d Add highlight effect on mentioned messages 2020-11-26 10:20:55 +00:00
Nate Graham
5f932fb112 Correct typo in signal name (choosen -> chosen) 2020-11-24 15:43:43 -07:00
Carl Schwan
f4da552674 Force the focus on the text field after adding an emoji
Fix #71
2020-11-24 23:40:02 +01:00
Carl Schwan
8da4ff1585 Improve autocompletion of Emojis
Now it start automatically for emojis, and also the first time you use
tab you jump to the first selected emoji or face.
2020-11-24 17:54:15 +01:00
Carl Schwan
c93b724746 Fix emoji picker 2020-11-24 15:35:14 +01:00
Carl Schwan
fe63b0c9a7 Add emoji picker for reaction 2020-11-24 14:25:56 +01:00
Nate Graham
0c28ec4041 Make emoji button checkable
Since clicking on it both opens and closes the emoji panel, it's a
natural fit for being checkable.
2020-11-24 12:01:42 +00:00
Carl Schwan
9f734aa570 Optimize size of images 2020-11-24 12:15:34 +01:00
Carl Schwan
792be7acff Improve spacing 2020-11-24 12:02:10 +01:00
Carl Schwan
dc06332c3f Add tooltips 2020-11-24 11:58:32 +01:00
Carl Schwan
9bcb8b3784 Add hover effect 2020-11-24 11:52:09 +01:00
Carl Schwan
6ef7e4cd1c Add quick way to reply to messages 2020-11-24 11:41:15 +01:00
Carl Schwan
936f818142 Fix wrong color in reply 2020-11-23 22:48:26 +00:00
Carl Schwan
20966806d2 Simplify reaction delegate 2020-11-23 20:01:25 +01:00
Nate Graham
0b75b9f488 Correct alignment for text input inline buttons
Ther were aligned top for no perceptible reason, which caused them to
not ve vertically centered in the text field.
2020-11-23 10:25:21 -07:00
Nate Graham
d6df2de767 Add tooltips for inline chat text box toolbuttons 2020-11-23 09:26:08 -07:00
Carl Schwan
09be81a6cc Disable select by mouse on mobile 2020-11-23 15:39:20 +01:00
Carl Schwan
06d1be146e Add time information to the messages 2020-11-22 19:05:40 +01:00
Carl Schwan
5316e32004 Improve look of reactions 2020-11-22 18:33:06 +01:00
Carl Schwan
4dedb87efa Clicking on an reply move the timeline view to the reply 2020-11-22 17:14:08 +00:00
Carl Schwan
a7e06a6529 Improve sections
Now they are displayed for each day (if there was at least one message
on that day) instead of every few hours
2020-11-22 14:51:25 +00:00
Tobias Fella
e778c18913 Show an info message instead of an empty message for redactions
Fixes #26
2020-11-22 15:36:00 +01:00
Carl Schwan
820b63d493 Improve emoji selector 2020-11-22 14:59:10 +01:00
Carl Schwan
089f327223 Wrap text in replies 2020-11-22 12:13:35 +01:00
Carl Schwan
263c9dcd6e Improve emoji only message detection 2020-11-22 11:14:43 +01:00
Carl Schwan
3a7565874e Start completing with message starting with @ 2020-11-19 16:31:21 +00:00
Carl Schwan
9c3d803a8d Remove spectral style from autocomplete list 2020-11-19 15:15:18 +00:00
Carl Schwan
aacbad6071 Fix regressions in ChatTextInput
bb5ed865c4 caused a bunch of problems
2020-11-19 15:14:45 +00:00
Carl Schwan
011fc052f4 Remove debug output 2020-11-19 09:26:36 +01:00
Carl Schwan
f46fd90743 Use a read only text edit for selectable text 2020-11-19 08:13:02 +00:00
Carl Schwan
b78b0eaf09 Improve style of chat text input with the material style 2020-11-18 14:27:56 +01:00
Tobias Fella
3a11ff614c Port away from qsTr/tr 2020-11-17 20:52:40 +01:00
Tobias Fella
a8b95791e2 Port MessageSourceDialog to OverlaySheet 2020-11-17 20:39:40 +01:00
Carl Schwan
96bcb54806 Simplify video delegate 2020-11-17 15:02:03 +01:00
Carl Schwan
90bfd1d31f Add progress bar for audio files 2020-11-17 13:57:14 +01:00
Carl Schwan
13907cedda Simplify audio delegate 2020-11-17 11:42:34 +01:00
Carl Schwan
8e52f645a2 Remove more old MPalette stuff 2020-11-17 11:21:56 +01:00
Carl Schwan
d954d295eb Internalisation++ 2020-11-17 00:09:54 +01:00
Carson Black
bb5ed865c4 Make chat text input look less foreign 2020-11-16 17:54:55 -05:00
Carl Schwan
b209b4aff5 Center sections notice in the timeline 2020-11-16 22:50:57 +00:00
Carl Schwan
76728cb3f9 Improve consistency of emoji picker
Now use Kirigami.Units and Kirigami.Theme, this also fix at the same
time a few issues on the dark theme.
2020-11-16 15:22:38 +00:00
Carl Schwan
9120521fc5 Simplify file delegate and remove material style 2020-11-16 15:22:20 +00:00
Tobias Fella
aa609b70e0 Enable opening links in messages 2020-11-15 22:47:35 +01:00