Commit Graph

20 Commits

Author SHA1 Message Date
Tobias Fella
cb2ea5f4e3 Allow TextDelegate to wrap anywhere if required
Prevents lines from going out of the message bubble
2021-09-20 23:31:36 +02:00
Tobias Fella
9cdf6bfa04 Fix displayname in reply component 2021-09-14 23:24:59 +02:00
Carl Schwan
efb70287b9 Add setting page 2021-06-07 11:49:35 +02:00
Carl Schwan
7bec8c73f8 Fix size of replies in mesage delegate
(cherry picked from commit 76bd529c3c)
2021-05-28 14:54:08 +02:00
Carl Schwan
dded804f00 Fix mode without avatar
It seems that this mode didn't get much love when I added the bubbles so
it was quite broken. This patches removes the bubbles and fix the
alignment issues when using this mode.

We probably should rename it to compact mode in a follow up commit (but
not this one so we can backport it to the stable branch).
2021-05-23 16:30:16 +00:00
Carl Schwan
a24df37d74 Show images from replied-message in replies
Fix #350
2021-05-20 19:45:22 +02:00
Carl Schwan
7ac232d372 Minor optimizations to the timeline delegates
* Use anchors instead of Layouts
* Don't use Loader for message display name
* Lazy load the emoji popup
2021-05-20 15:04:38 +00:00
Tobias Fella
d170cc5161 Cleanup QML imports and license headers
- Group the imports into Qt, KDE, NeoChat
- Import the latest versions
- Remove unused imports
- Remove unused components
- Unify license header styling
2021-04-07 19:38:40 +00:00
Carl Schwan
a1ee00147b Remove underline from link in replies
Fix #306
2021-03-13 13:54:27 +01:00
Carl Schwan
612fb4924e Start implementing bubbles 2021-03-06 20:19:41 +00:00
Carl Schwan
4be3eac7af Fix avatar loading in multiple places and prefers name instead of
display name for avatar fallback.

This also fixes a bug where users didn't get their avatar loaded in the
room list.

Fix #209
2021-01-09 00:37:13 +01:00
Tobias Fella
724f10a895 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
2020-12-28 01:28:13 +01:00
Carl Schwan
735008c74c Fix ReferenceError: Config is not defined 2020-12-03 17:42:24 +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
Carl Schwan
a0b0b44f8d Add rich text formating to replies too 2020-11-30 23:50:39 +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
089f327223 Wrap text in replies 2020-11-22 12:13:35 +01:00
Carl Schwan
41b81dd744 Improve icon sizing and margins on mobile 2020-11-15 21:10:31 +00:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
9de51fc77e Dynamic load reply qml stuff if needed 2020-11-10 17:06:38 +00:00