Commit Graph

104 Commits

Author SHA1 Message Date
Tobias Fella
893bc79f1e 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


(cherry picked from commit 724f10a895)
2020-12-28 17:30:16 +00:00
Eamonn Rea
9f9498541a Fix cursorShape not updating for messages
(cherry picked from commit 066ab1e6c6)
2020-12-28 00:58:07 +01:00
Devin Lin
c96109e9b7 Fix room header text alignment and add support for two line room descriptions
(cherry picked from commit 93f35faf95)
2020-12-23 09:06:33 +00:00
Carl Schwan
2acdf61b16 Don't recreate RoomPage each time and add a small loading indicator
(cherry picked from commit bd41dcc986)
2020-12-17 08:59:36 +00:00
Mathew Broady
be709a2732 Remove forgotten NeoChat.Effect imports
Fixes the "Start Chat" and "Explore Rooms" pages


(cherry picked from commit 79dab63993)
2020-12-17 06:24:29 +00:00
Tobias Fella
24fac27a7f Get rid of Neochat.Effect 2020-12-15 17:57:55 +01:00
Tobias Fella
cbad7fbf51 Remove 'configure room' button from roomlist 2020-12-11 22:42:43 +01:00
Tobias Fella
0aeecb8c63 Also update read markers when opening room 2020-12-09 23:44:53 +01:00
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
Devin Lin
d5b21b837d Reduce sidebar clutter by shrinking text sizes and increasing spacing 2020-12-09 21:19:45 +00:00
Yuri Chornoivan
675e0d5611 Fix comment 2020-12-08 09:24:01 +02:00
Carl Schwan
87833a8458 Add an image editor 2020-12-07 09:58:03 +00:00
Carl Schwan
ccdcf9a354 Fix tapping issue on room list 2020-12-06 19:30:14 +01:00
Carl Schwan
408b9eb057 Use long press on mobile for room list 2020-12-06 17:41:33 +01:00
Carl Schwan
aaa0024fd6 Add easy way to switch between accounts
Related to #121
2020-12-05 00:26:37 +01:00
Carl Schwan
7d8e344842 Remember active connection instead of loading first connection
Fix #122
2020-12-04 23:16:21 +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
b24af7c2f0 Fix room list 2020-12-03 22:39:35 +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
93cee871ba Fix regression: right click on room list items
Fix: #113
2020-12-03 17:19:36 +01:00
Carl Schwan
837f5dff09 Fix delegate not all having the same height in the room list
Fix: #112
2020-12-03 16:44:42 +01:00
Carl Schwan
bc4cde2dc7 Improve image delegate sizing 2020-12-03 13:42:21 +01:00
Carl Schwan
21cd37c21e Completely rework login job
Now .well-know is obsolete and also error message are correctly
displayed
2020-12-03 00:34:10 +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
de338607e3 fix typo 2020-12-02 19:19:13 +01:00
Carl Schwan
9472d5e417 Move back to abstrastlistitem for room list 2020-12-02 19:18:24 +01:00
Carl Schwan
722fc15368 Remove quick favorite action, this isn't an action often used 2020-12-02 18:51:51 +01:00
Carl Schwan
8a3659efba Add option to toggle the display of users avatar in timeline on and off 2020-12-02 18:25:29 +01:00
Noah Davis
a625f715c2 [SettingsPage] Use text properties instead of FormData.label properties for checkbox labels 2020-12-02 16:39:55 +00: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
Carl Schwan
1296a688eb Improve allignement of dropdown in room list section delegate 2020-12-01 12:00:31 +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
6bb3821039 Fix color diferenciation between highlight and unread pills
Fix: #87
2020-11-27 22:04:33 +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
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