Commit Graph

59 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
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
feebc7678a Fix wrong color for room pill when mentioned
Fix: #81
2020-11-27 12:34:20 +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
Tobias Fella
48c17798b7 Make all buttons on InvitationPage not flat
Fixes #73
2020-11-25 19:17:45 +00: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
9f734aa570 Optimize size of images 2020-11-24 12:15:34 +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
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
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
4dedb87efa Clicking on an reply move the timeline view to the reply 2020-11-22 17:14:08 +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
Carl Schwan
7622b89bdd Move settings page's login button in the footer 2020-11-22 11:42:09 +01:00
Carl Schwan
b8a7edb2ef Change background color for chat view 2020-11-22 11:23:06 +01:00
Carl Schwan
e18027a873 Trim username, server name and device name in login page
This makes it easier to login and remove a common user input error
2020-11-22 11:07:37 +01:00
Carl Schwan
8f358b7680 Immediately display connect errors in the login page
This is using a Kirigami.InlineMessage component.
2020-11-22 11:02:56 +01:00
Tobias Fella
4bfbca75d8 Add action to search in room directory when search is empty in roomlist 2020-11-21 22:48:36 +01:00
Carl Schwan
2e9fb7615a Don't hide room when searching
This makes it more easy to find the room you want without having to
clicking on every collapsed sections.
2020-11-21 21:47:06 +00:00
Tobias Fella
d5379f86c1 Fix freeze when opening already opened room 2020-11-19 12:47:43 +01:00
Carl Schwan
011fc052f4 Remove debug output 2020-11-19 09:26:36 +01:00
Tobias Fella
4e2b68dc0a Make Neochat compile against libQuotient 0.6 2020-11-19 08:13:55 +00:00
Carl Schwan
b4e1c6979f Add option to accept invitation 2020-11-19 07:35:00 +00:00
Tobias Fella
039816e8eb Show notifications 2020-11-18 21:14:40 +00:00
Tobias Fella
9c469b96f1 Send read markers for read messages 2020-11-18 21:14:17 +00:00
Carl Schwan
fcbb5a1acf Fix regression in JoinRoomPage - namespace not defined 2020-11-18 17:33:25 +01:00
Carl Schwan
fd6fb1f340 Adjust 'no rooms' message when searching for rooms
Fix #20
2020-11-18 17:27:30 +01:00
Carl Schwan
d96a548c4f Add unread message count 2020-11-18 10:26:48 +01:00
Carl Schwan
74bcfca275 Fix sending images from clipboard
This was caused by a regression in an QML include
2020-11-18 10:01:06 +01:00
Carl Schwan
62820b7418 Better typing handling 2020-11-17 20:49:54 +00:00
Tobias Fella
a8b95791e2 Port MessageSourceDialog to OverlaySheet 2020-11-17 20:39:40 +01:00
Carl Schwan
fc0ed1d137 Use SwipeListItem instead of BasicListItem
This allows to have a second way to open the room options.
2020-11-17 17:12:13 +00:00
Carl Schwan
28c965a40d Use a page for invitation instead of popup
This generally work better on a mobile device
2020-11-16 22:45:41 +00:00
Carl Schwan
8c3e5b2b48 Add drop area for conveniently share files 2020-11-16 22:14:53 +00:00
Tobias Fella
dc3896db1b Fix the 'jump to last unread message' button 2020-11-16 22:10:32 +01:00
Carl Schwan
6abe7cab57 Start keyboard navigation
Now a room can be opened with the keyboard only and be scrolled.
2020-11-16 15:22:59 +00:00
Carl Schwan
6db8354727 Fix MessageDelegateContextMenu not being displayed
It turnout that using an QML Singleton was a bad idea, instead create a
qml object in the main component and refer to it in the rest of the
codebase.

This commit also simplify a bit the qml structure of the Menu and fix
some visual bugs.
2020-11-16 10:00:18 +01:00
Carl Schwan
523adace21 Small fixed in 18n 2020-11-16 00:12:22 +01:00
Carl Schwan
bd853800a6 Add PlaceholderMessage when room list is empty 2020-11-15 21:31:06 +00:00
Carl Schwan
41b81dd744 Improve icon sizing and margins on mobile 2020-11-15 21:10:31 +00:00
Tobias Fella
8040259645 Don't show inactive rooms in the list 2020-11-13 13:59:46 +01:00
Tobias Fella
16c64ad67f Rename Controller.connection to activeConnection 2020-11-12 12:26:08 +01:00