Commit Graph

41 Commits

Author SHA1 Message Date
Tobias Fella
05955c43de Improve read markers by fixing detection of first and last visible event and updating event markers on new messages
Fixes #60
2020-12-09 23:31:05 +01:00
Carl Schwan
b90a027c99 Use video delegate for videos
There is still two issues:

* Videos send by neochat are broken (missing metadata)
* Once the video has run it is unavailable

Fix #120
2020-12-04 10:37:04 +01:00
Carl Schwan
5ed47e7397 Revert "Port timeline mouseare to tap handler"
This reverts commit d63811471c.
2020-12-03 17:50:27 +01:00
Carl Schwan
d63811471c Port timeline mouseare to tap handler
This fix inconsistency in behavior
2020-12-03 17:38:57 +01:00
Carl Schwan
bc4cde2dc7 Improve image delegate sizing 2020-12-03 13:42:21 +01:00
Carl Schwan
8355ceeeb0 Reduce the size on the room bottom 2020-12-02 22:57:10 +01:00
Carl Schwan
fcede82fec Improve visual on Mobile 2020-12-02 22:52:13 +01:00
Carl Schwan
0f4a0006a9 Ignore escape and other keys when auto focussing
Fix #92
2020-12-02 17:33:44 +01:00
Carl Schwan
8387757b13 Fix header is running away
Fix #105
2020-12-02 17:19:59 +01:00
Carl Schwan
cd16b3513c Add topic in room title
Fix #83
2020-12-01 15:31:49 +01:00
Carl Schwan
c847d3d5c9 Fix regression with not selectable text on desktop
Fix: #99
2020-12-01 14:57:19 +01:00
Reinhold Gschweicher
f10ef11919 Use long press as right click on messages 2020-11-30 20:54:22 +00:00
Carl Schwan
66b6f5c229 Fix formating 2020-11-29 17:34:40 +01:00
Carl Schwan
2cdf606c7c Allow filtering join and leave events
Fix #93
2020-11-29 11:14:19 +01:00
Carl Schwan
c97ca27c52 More fix 2020-11-28 00:50:45 +01:00
Carl Schwan
362c8b4e63 Fix text input 2020-11-28 00:49:07 +01:00
Carl Schwan
4bff186a40 Import keyboard navigation
* Aggressively set focus to message input box and fix #37
* Improve room switching #66
2020-11-28 00:25:40 +01:00
Carl Schwan
2a0b6c74f3 Switch between room list items with standard tab switching keyboard
shortcuts

Ctrl+PgUp/PgDn and Ctrl+Tab/Ctrl+Shift+Tab

Fix #66
2020-11-27 23:43:11 +01:00
Carl Schwan
496781954b Use smaller round button 2020-11-27 16:16:12 +01:00
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
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
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
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
Nate Graham
72f62b01eb Add tooltips to go up/go down buttons in the view 2020-11-23 10:28:49 -07: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
b8a7edb2ef Change background color for chat view 2020-11-22 11:23:06 +01:00
Tobias Fella
d5379f86c1 Fix freeze when opening already opened room 2020-11-19 12:47:43 +01:00
Tobias Fella
9c469b96f1 Send read markers for read messages 2020-11-18 21:14:17 +00: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
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
523adace21 Small fixed in 18n 2020-11-16 00:12:22 +01:00
Carl Schwan
41b81dd744 Improve icon sizing and margins on mobile 2020-11-15 21:10:31 +00:00
Tobias Fella
3a70a9d91c Set all internal qml versions to 1.0
They're useless and anything else just causes problem
2020-11-11 20:14:43 +01:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
82768b4cc5 Us room name as room page title 2020-11-10 13:00:50 +01:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00