22 Commits

Author SHA1 Message Date
Richard Ramos
5ad54b057b fix: missing username 2020-12-11 13:47:51 -05:00
emizzle
5953031bfc fix: YouTube unfurling
YouTube link unfurling was not working for a couple reasons.

There were two main parts fixed:
1. QML context for messages pertaining to linkUrls and imageUrls was changed from implicit to explicit. By this, I mean that any time we referenced linkUrls/imageUrls, we were relying on the knowledge that those values would be populated by some parent context several levels up. Now, we are referring to properties that have been explicitly defined on the components. This offers the ability to reuse components, and makes reading the code and debugging much easier.
2. Error handling has been added to getting link preview data. An unhandled "error" was thrown each time a link that wasn't whitelisted was passed in, causing the app to crash. For example, when a link to a tenor gif was posted in the chat, that URL was not whitelisted, causing the app to crash.
2020-12-10 14:45:48 -05:00
Pascal Precht
e11139df12 feat: make UserNameLabel render local nick names and ENS names
In timeline status update messages we want to render the ENS name next to a
local nickname in case it exists. This commit extends the `UsernameLabel` to do
just that.

Closes #1488
2020-12-10 12:30:31 +01:00
Pascal Precht
b778fa9c30 refactor(ChatText): move Connection out of component
This is done because there's gonna be a case where this connection causes errors
because the component expects `NormalMessage` to be a parent of this component.

When used in future StatusUpdates, there's no `NormalMessage`. Unfortunately,
disabling the connection based on a condition doesn't remove the error, so we have
to move this code out entirely
2020-12-07 13:06:21 +01:00
Jonathan Rainville
dae7f9cd44 fix: fix ChatImage not opening in the popup 2020-11-27 15:19:20 -05:00
Jonathan Rainville
1ec28bca01 feat: enable animated gifs but stop them on click and out of focus 2020-11-19 16:55:41 -05:00
Pascal Precht
4ac8400038 fix: ensure sending message state isn't shown when message is expired 2020-11-17 10:01:13 -05:00
Jonathan Rainville
b583a4d4bf feat: show unfurled youtube links 2020-11-05 11:25:22 -05:00
Jonathan Rainville
261460f8fb fix: fix chat height being too high in compact mode 2020-10-02 12:48:02 -04:00
Jonathan Rainville
fe3995bb3d refactor: clean compact mode message 2020-10-02 12:48:02 -04:00
Jonathan Rainville
7478415c64 fix: fix image padding 2020-10-02 12:48:02 -04:00
Jonathan Rainville
c37ba24f7b fix: fix padding around stickers in compact mode 2020-10-02 12:48:02 -04:00
Jonathan Rainville
23ca5f9930 feat: make settings user dependant and clean settings uses 2020-09-16 16:58:55 -04:00
Jonathan Rainville
72af6adb69 feat: get and display emoji reactions in chat 2020-08-27 16:34:35 -04:00
Richard Ramos
5ab1088f7c
feat: play audio messages 2020-07-30 13:49:50 -04:00
Jonathan Rainville
a1585c8499 feat: add ImageLoader to reuse Image loading mechanism 2020-07-23 15:44:59 -04:00
Jonathan Rainville
42c09c9f3a fix: hide sent message on compact mode once sent 2020-07-23 15:44:59 -04:00
Richard Ramos
a31610742c fix: code review 2020-07-21 13:15:22 -04:00
Richard Ramos
5351fb62dc feat: display messages with an image contenttype 2020-07-21 13:15:22 -04:00
Richard Ramos
f9335c0969 feat: retry sending messages 2020-07-21 10:19:12 -04:00
Jonathan Rainville
0ab257d005 feat: make RectangleCorner a component and show images in compact 2020-07-16 11:49:13 -04:00
Jonathan Rainville
5951fcf131 feat: refactor Message and add Compact message type 2020-07-16 10:29:29 -04:00