Commit Graph

387 Commits

Author SHA1 Message Date
Carl Schwan
da9f08eae4 Remove obsolete QML components 2020-11-27 14:37:29 +01:00
Reinhold Gschweicher
244adf3467 Generate "is typing" string only if someone is typing
If no user is typing (currentRoom.userseTyping.length == 0) then don't
generate the "is typing" string. Because the message box is invisible.

This prefents error messages like:
```
kf.i18n: "1 instead of 2 arguments to message {%2 are typing} supplied before conversion."
```

Fixes: https://invent.kde.org/network/neochat/-/issues/80
2020-11-27 12:12:40 +00:00
Carl Schwan
7140734576 Improve reaction delegate style 2020-11-27 12:42:06 +01:00
Carl Schwan
feebc7678a Fix wrong color for room pill when mentioned
Fix: #81
2020-11-27 12:34:20 +01:00
Carl Schwan
139d9e93e0 Fix regression with Enter+Shif in ChatTextInput 2020-11-27 00:45:13 +01:00
Tobias Fella
49881f809d Improve the 'jump to last read message' button
When loading a room, automatically load messages until the last read
message is loaded #35
Don't show the button if the message is not loaded
2020-11-26 23:05:08 +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
Tobias Fella
48c17798b7 Make all buttons on InvitationPage not flat
Fixes #73
2020-11-25 19:17:45 +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
ae6eae5204 Add bold for unread channel 2020-11-24 23:36:39 +01:00
Carl Schwan
fcb2659c53 Add selected effect to selected room
This fix #55
2020-11-24 18:45:08 +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
b6ad038a54 Add option to disable showing new join and leave events 2020-11-24 10:39:25 +01:00
Carl Schwan
d7409bf639 Don't make unread room bold, we have pills for that 2020-11-24 09:58:54 +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
17ceb59a71 Fix logical error in separated/intermixed sidebar settings 2020-11-23 10:45:49 -07:00
Nate Graham
135150f4cc Remove unused overlapping ids 2020-11-23 10:44:50 -07:00
Carl Schwan
5d221b995a Add an unified room list view
This is off by default and can be enabled in the setting
2020-11-23 17:41:56 +00:00
Nate Graham
72f62b01eb Add tooltips to go up/go down buttons in the view 2020-11-23 10:28:49 -07: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
Nate Graham
8c380a1c25 Improve initial view placeholder messages 2020-11-22 18:00:09 -07:00
Nate Graham
ef9325fd6a Remove periods at the end of the Placeholder Messages
We don't end placeholder messages with periods elsewhere.
2020-11-22 17:59:11 -07:00
Carl Schwan
50ffda05d2 Make it possible to cancel "Add account" flow when an account already
exists
2020-11-22 23:10:06 +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
Carl Schwan
beafc572c4 Fix scrolling in RoomPage
This now use the ScrollablePage native scroll effect when the ScrollPage
only have one scrollview has child item.
2020-11-22 14:46:19 +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
9849f9ae80 Don't display empty combobox 2020-11-22 12:03:10 +01:00
Carl Schwan
201ae823c8 Elide room settings dialog title 2020-11-22 11:58:18 +01:00
Carl Schwan
7622b89bdd Move settings page's login button in the footer 2020-11-22 11:42:09 +01:00
Carl Schwan
1d19213d4f Fix typo in Room Settings 2020-11-22 11:24:08 +01:00
Carl Schwan
b8a7edb2ef Change background color for chat view 2020-11-22 11:23:06 +01:00