Commit Graph

526 Commits

Author SHA1 Message Date
Richard Ramos 1d4beeb041 fix: change values to consider user inactive or offline 2021-08-06 14:17:22 -04:00
Khushboo Mehta 531b2771a3 fix(@desktop/chat): mention color is too bright when replying
Updated the style of mention text when replying to one

fixes #3012
2021-08-06 13:03:23 -04:00
Richard Ramos 7c407305d2 fix: userlist 2021-08-05 17:09:03 -04:00
Sale Djenic 83d6817f70 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Crash adding public chat which is caused by changes applied to this feature is fixed.

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic 5d8b02e057 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Feature added. Firstly we check if the searched message is already displayed and if yes simply jump
to it, if not then we are loading new 20 messages in the past using cursor and check if the
searched message's id is among those received messages. We do that in a loop till we find the
message we are searching for.

Fixes: #3005
2021-08-05 14:35:46 -04:00
Anthony Laibe cec7525fe8 fix(@desktop/chat): re-enable ability to click on profile 2021-08-04 07:50:30 -04:00
Alexandra Betouni fe08c0bdc8 [#2584] Fixing 'more' chat menu position
Re-parented to 'more' button so that it's
following that when scaling the window

Closes #2584
2021-08-03 16:51:35 -04:00
Anthony Laibe 9893dbb00c fix(@desktop/chat): display correct identicon for reply
fixes #2959
2021-08-03 16:17:25 -04:00
Andrei Smirnov 544b0aafc7 fix(@desktop/chat): support to mentions in message edit mode 2021-08-02 20:01:57 -04:00
Jonathan Rainville fc6143035f fix(act-center): remove backdrop on activity center
Fixes #3100
2021-08-02 17:02:01 -04:00
Richard Ramos 9204e409f3 chore: update translation files 2021-08-02 13:31:53 -04:00
Richard Ramos 2b1945425c fix: Display current user's ENS in profile and share URL
Fixes #2503
2021-07-29 09:08:27 -04:00
Jonathan Rainville a37ce0b133 chore(act-center): hide contact requests from the activity center 2021-07-27 15:29:03 -04:00
Jonathan Rainville e2d91dc66b fix(act-center): multiple fixes to the activity center 2021-07-27 15:29:03 -04:00
Richard Ramos acdb4d3bcb fix: last seen timestamp and removing useless echo 2021-07-27 11:16:28 -04:00
Alexandra Betouni c7c3c5dc9d [#2813] Fixing chat layout bugs
* Added clipping and scrollbar in user lists
2021-07-27 10:46:50 -04:00
Jonathan Rainville ed223f15da fix(invitation-bubble): fix json parse 2021-07-27 10:36:42 -04:00
Jonathan Rainville 58532ba25d fix(activity-center): fix mark as read
Fixes #3011
2021-07-27 10:36:42 -04:00
Anthony Laibe a2db1deeda fix(@desktop/chat): revert the visible logic for fetch more messages
This is causing fetch more message to not be visible in other chat type
such as publich chat
2021-07-27 09:45:21 -04:00
Jonathan Rainville 7d169e85f2 fix(delete): disable deleting certain message types 2021-07-26 17:14:07 -04:00
Jonathan Rainville 523e94ae0c feat: enable to delete messages
Fixes #2775
2021-07-26 17:14:07 -04:00
Alexandra Betouni 0a01e84b1c [#2813] Updating chat layout
Switched to StatusAppThreePanelLayout as per new
design for members list

Closes #2813
2021-07-26 14:05:08 -04:00
Jonathan Rainville 39dace238b feat(chat): add unfurling message for images
Fixes #1940
2021-07-23 17:44:06 -04:00
Anthony Laibe 1be169bc7e fix(@desktop/chat): remove add to contact banner from top bar
fixes #2717
2021-07-23 17:25:54 -04:00
Andrei Smirnov 79db861d2f fix(@desktop/chat): incorrect timestamp evaluation 2021-07-23 16:55:05 -04:00
Anthony Laibe 54570bce6e fix(@desktop/translation): update translation
fixes #2993
2021-07-23 16:35:23 -04:00
Andrei Smirnov 0675f013af fix(@desktop/pinned): actions to unpin and jump to the message 2021-07-23 14:43:57 -04:00
Alexandra Betouni 7ac63b4451 [#2563] Fixed hover over Join button has wrong shape
For performance reasons clipping doesn't work
with rounded corners - wrapping Join button in
an Item and apply clipping there instead

Closes #2563
2021-07-23 14:13:31 -04:00
Richard Ramos 6849091460 feat: community user status pt 2 2021-07-22 13:48:53 -04:00
Jonathan Rainville aa87a3f7fe feat(activity): add 1-1 messages to activity center
Fixes #2830
2021-07-20 10:55:42 -04:00
Jonathan Rainville 2cc819af46 fix(contact): unblock input when possible request pending 2021-07-20 10:55:42 -04:00
Alexandra Betouni 0f0b239f2a [#2386] Fixed inline emoji reaction menu not showing on top of message
* Also replaced usage of synamic scoping with properties,
  signals and functions where possible

Closes #2386
2021-07-19 14:06:36 -04:00
Alexandra Betouni 68c9b533d4 [#2598] Fixed New messages have their buttons getting overlapped by messages above
Closes #2598
2021-07-19 13:12:56 -04:00
Sale Djenic 1acbc76cc9 chore(@desktop/general): run translation script
All untranslated properties are translated now using translation scripts.
2021-07-19 12:27:45 -04:00
Andrei Smirnov 9a348e1836 fix(@desktop/chat): invitation bubble long text support 2021-07-16 18:26:27 -04:00
Andrei Smirnov f66e64cc9c fix(@desktop/timeline): auto-update messages age 2021-07-16 18:14:01 -04:00
Andrei Smirnov 1cc8d768b8 fix(@desktop/timeline): render message age instead of message time 2021-07-16 18:14:01 -04:00
Sale Djenic ecb2bac6e5 fix(@desktop/chat): sign and send appears for both recipient and sender when sharing the address
The reason for this issue is a message where recipient accepted to share his address with sender.
In that message recipient's public key is set as a "from" property of a "Message" object and we
cannot determine which of two users has initiated transaction actually.

This is fixed checking if the "from" address from the "commandParameters" object of the "Message"
is contained as an address in the wallet of logged in user. If yes, means that currently logged in
user has initiated a transaction (he is a sender), otherwise currently logged in user is a
recipient.

We were just sending a transaction, without notifying message about that. Now we call
callPrivateRPC("acceptRequestTransaction".prefix, %* [transactionHash, messageId, signature])
and that notifies message about the change, but only on the sender side. Appropriate message
on the recipient side was not notified about the change. That need to be checked.
2021-07-16 17:41:22 -04:00
Sale Djenic e832666123 fix(@desktop/chat): push notification is duplicated when mentioning
This bug is happening if you have more than one private chat in the contacts column. How many chats
you have that many same notifications you will get. That's happening cause connection is made
between chatsModel.messageView and ChatsMessages component for each private chat, and for each of
them ChatsMessages component is maintained in StackLayout component what means all of them are
exist but only selected instance is visible. When new messageNotificationPushed signal is emitted
each qml component triggers its slot (regardless component is not currently visible it exists in
the background, it's not deleted) and that's why we see more than one OS' notification bubble for
the same notification.

That is fixed moving slot from ChatMessage component to ChatColumn component.

Fixes: #2551
2021-07-14 18:46:04 -04:00
Anthony Laibe 511c959121 fix(@desktop/chat): fix sticker/image notification with placeholder
fixes #2450
2021-07-14 18:27:38 -04:00
Jonathan Rainville 6e218ad924 feat: add basic local chat search
Fixes #2771
2021-07-14 17:42:55 -04:00
Sale Djenic 47d1546893 fix(@desktop/chat): app crash when you leave a chat
The issue is happening randomly. I managed to catch it few times and hopefully fix it. Problem was
in leave proc in src/status/chat.nim cause we were sending activeChannelChanged signal from it what
started setting activeChannel to the value of the backToFirstChat variable, and while that process
was in progress setActiveChannelByIndex was called from activeChannel what caused another emit of
activeChannelChanged signal while the previous one was not completed. That caused new setting of
activeChannel with active channel index 0, what caused an app crash.

This is fixed by setting active channel to the first one from the list when we get a signal that
any channel from the list is removed. This way activeChannelChanged is broadcasted to the other
parts correctly.

Fixes: #2825
2021-07-14 16:15:40 -04:00
Andrei Smirnov f755ba44e2 fix(@desktop/chat): fetch more messages fix 2021-07-13 17:05:58 -04:00
Anthony Laibe 76f1aec0e3 fix(@desktop/communities): disable edit for cleared message 2021-07-13 16:41:27 -04:00
Anthony Laibe 0eb2a23600 fix(@desktop/timeline): update color of chat time when image 2021-07-13 11:38:43 -04:00
Jonathan Rainville 621f723ecf fix(mentions): set mention index at the top when changing the filter 2021-07-13 09:41:52 -04:00
Jonathan Rainville 40fd390def fix(mentions): fix to sort alphabetically and with start of words 2021-07-13 09:41:52 -04:00
Jonathan Rainville 4277a6e7f4 feat(mentions): show mentions ordered by how it matches the filter
Fixes #2543
2021-07-13 09:41:52 -04:00
Richard Ramos e3c09a9631 fix: enable community feat. when clicking community invite 2021-07-12 17:33:39 -04:00
Richard Ramos 8d7a78389d fix: crash on chatmessages when using 5.15.2 2021-07-12 17:14:25 -04:00