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
Jonathan Rainville
08a7baed8f
feat: add OS notification and setting to switch back
2020-12-09 14:19:16 -05:00
Richard Ramos
6494427de0
fix: notifications
...
- If notification is clicked and app minimized, restore app
- If app is minimized, show notifications for active chat
2020-12-01 16:17:19 -04:00
hydrogen
ff5b972139
fix: stop crash by showing error message
...
fix #898
The segmentation fault occured because the RPC response returned json with an error message as oppossed to the usual data required to update the chat. Since the section of the code didn't handle this error message it caused the app to crash. I've handled this error to show an error alert box by emitting a event
2020-12-01 13:40:49 -05:00
Jonathan Rainville
b536707646
fix: fix notification banner showing the pubkey of group chats
2020-11-27 15:15:26 -05:00
Richard Ramos
8890805a14
fix: scroll to bottom when switching back from any module to chat
2020-11-26 11:43:45 -05:00
Pascal Precht
db0b765d74
feat(Notifications): allow users to turn of notifications for non-contacts
...
Partially fixes #1280
2020-11-24 11:16:02 +01:00
Richard Ramos
983fbfd3d4
fix: scroll speed
2020-11-19 16:57:20 -05:00
Jonathan Rainville
08f8035b31
fix: add timeout to scroll bottom at all times to make sure we do scroll
2020-10-20 13:52:13 -04:00
Pascal Precht
3d0f50a5b3
feat: allow users to configure notification settings
...
Can choose between all, just mentions, or nothing
2020-10-20 13:50:49 -04:00
Richard Ramos
2fb9d569f7
refactor: open profile popup
2020-10-02 12:48:58 -04:00
Jonathan Rainville
9acb6609ab
feat: only show the scrollDown when scrolled up 400 pixels
2020-09-29 14:43:58 -04:00
Jonathan Rainville
3881d1e012
fix: make chatMessages new message box clearer
2020-09-29 14:43:58 -04:00
Jonathan Rainville
39f06d0741
feat: implement design for the new messages box in chat
2020-09-29 14:43:58 -04:00
Jonathan Rainville
9f9bad2fa3
feat: add a read more button and crop text when message is too long
2020-09-29 14:02:33 -04:00
Jonathan Rainville
81f5e4e7d8
chore: update translations
2020-09-23 17:19:57 -04:00
Jonathan Rainville
c36f1f82cd
feat: add a button to scroll back to the end of the chat list
2020-09-23 15:16:22 -04:00
Jonathan Rainville
7dce940e68
fix: fix message order being messed up because of the messageId
2020-09-18 17:23:09 -04:00
Jonathan Rainville
23ca5f9930
feat: make settings user dependant and clean settings uses
2020-09-16 16:58:55 -04:00
Richard Ramos
6c7a3d6340
fix: use messageid in comparator
...
Fixes #324
2020-09-14 14:39:06 -04:00
hydr063n
b479dba001
feat: open modal when user left clicks on message containing image
2020-09-14 14:38:41 -04:00
Jonathan Rainville
0c686c3fcf
chore: run qstrConverter script
2020-08-27 17:09:37 -04:00
Jonathan Rainville
72af6adb69
feat: get and display emoji reactions in chat
2020-08-27 16:34:35 -04:00
Pascal Precht
04ff3393fa
feat: introduce confirmation dialog for blocking contacts actions
...
Closes #632
2020-08-13 14:40:03 -04:00
Jonathan Rainville
156aaba0aa
feat: improve style of the notification box
...
Use the Channel box for that
2020-08-10 09:34:02 -04:00
Jonathan Rainville
9604faff08
feat: add New messages box in chat when scrolling up
2020-07-23 17:01:04 -04:00
Jonathan Rainville
327552c33b
add loading and error image boxes
2020-07-23 15:44:59 -04:00
Jonathan Rainville
c7cfa5d32b
fix: fix scrolling to bottom for images
2020-07-23 15:44:59 -04:00
Jonathan Rainville
e176443ceb
fix: fix chat not scrolling to bottom on load
2020-07-23 15:44:59 -04:00
Richard Ramos
7ca512661b
fix: load messages on scroll up, scroll down when sending messages and hide sending status for expired messages
2020-07-22 15:58:31 -04:00
Richard Ramos
f9335c0969
feat: retry sending messages
2020-07-21 10:19:12 -04:00
Jonathan Rainville
262941e839
feat: add space between the last chat and the chat input
2020-07-16 10:32:27 -04:00
Jonathan Rainville
5951fcf131
feat: refactor Message and add Compact message type
2020-07-16 10:29:29 -04:00
Iuri Matias
c5410b6536
remove leftover condition
2020-07-15 16:05:35 -04:00
Jonathan Rainville
7d178b355e
feat(chat): add image support
...
This commit adds support for rendering images by detecting
image URLs inside of a message and attaching them to their
corresponding message bubble.
2020-07-15 16:05:35 -04:00
Iuri Matias
7d7bac5fb6
add notifications support
...
first attempt
attempt 2
working notifications
add notification sound
cleanup
remove unneeded imports
remove unneded imports
2020-07-14 14:23:40 -04:00
Richard Ramos
ceb5873272
show date headers, and fix sending replies only when they are enabled
2020-07-14 13:10:14 -04:00
Richard Ramos
a342192f43
fix: code review
2020-07-10 20:09:15 -04:00
Richard Ramos
649023bacf
feat: support message replies
2020-07-10 20:09:15 -04:00
Jonathan Rainville
25ac69b37c
fix: fix message width by using the plainText
2020-07-10 15:54:48 -04:00
Richard Ramos
7b82f52fac
fix: show replies and do not trigger an activeChannelChanged event on init
2020-07-09 12:01:32 -04:00
Richard Ramos
64452e71b9
feat: Determine if a message was sent
2020-07-02 11:57:48 -04:00
Richard Ramos
bcec11c432
fix: message scrollbar
2020-06-25 16:26:21 -04:00
Jonathan Rainville
02d915cb50
chore: up import version and fix SplitViews
2020-06-25 11:02:35 -04:00
Iuri Matias
0ad64cc5de
update qml imports
2020-06-18 11:02:11 -04:00
Iuri Matias
e7e77f58dc
make profile popup reusable
2020-06-18 08:13:45 -04:00
Richard Ramos
0971b5928d
feat: Support ENS usernames in messages
2020-06-17 13:09:31 -04:00
Richard Ramos
b842925ba4
feat: edit group name
2020-06-16 12:05:22 -04:00
Richard Ramos
d7f9120840
Adding messageId to messages
2020-06-15 08:23:03 -04:00