1232 Commits

Author SHA1 Message Date
Sale Djenic
74d868ab92 feature(@desktop/chat): implement search on sqlcipher (status-go side)
Searching messages by some term for a specific channel is added on the side of status-go and an
appropriate part on the side of nim is developed accordingly.

Fixes: #2912
2021-08-05 14:35:46 -04:00
Sale Djenic
de661459cb feature(@desktop/chat): implement search on sqlcipher (status-go side)
Current code adapted to handle future changes on message search (like searching message in multiple
channels).

Memory leak which was happening in qml assigning (copying) MessageItem to qml variable messageItem
(where that qml variable messageItem was never deleted) is fixed.

Fixes: #2912
2021-08-05 14:35:46 -04:00
Sale Djenic
f0c605936d feature(@desktop/chat): implement search on sqlcipher (status-go side)
Searching messages by some term for a specific channel is added on the side of status-go and an
appropriate part on the side of nim is developed accordingly.

Fixes: #2912
2021-08-04 15:49:50 -04:00
Sale Djenic
1573d7b928 feature(@desktop/chat): implement search on sqlcipher (status-go side)
Current code adapted to handle future changes on message search (like searching message in multiple
channels).

Memory leak which was happening in qml assigning (copying) MessageItem to qml variable messageItem
(where that qml variable messageItem was never deleted) is fixed.

Fixes: #2912
2021-08-04 15:49:50 -04:00
Anthony Laibe
5fc85af04b fix(@desktop/communities): Remove search from invite
fixes #3053

Align invite popup with design
2021-08-04 14:41:13 -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
Andrei Smirnov
7c735aa7a8 fix(@desktop/communities): close community modal when leaving the community 2021-08-03 16:45:41 -04:00
Anthony Laibe
edc5bd81c0 feat(@desktop/chat): disable copy to clipboard when clicking on profile
fixes #3111
2021-08-03 16:36:37 -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
9de0b95c3d fix: group member list 2021-08-02 15:51:33 -04:00
Jonathan Rainville
9f21740bae feat: add api to delete a community channel 2021-08-02 14:08:51 -04:00
Alexandra Betouni
b5aa8d876e [#3119] Fixiing profile picture not correct in add new chat popup
Closes #3119
2021-08-02 13:38:54 -04:00
Richard Ramos
9204e409f3 chore: update translation files 2021-08-02 13:31:53 -04:00
Jonathan Rainville
c6b13d783b fix(community): lock community type to on request 2021-07-29 09:38:38 -04:00
Anthony Laibe
5c36f2ca1a fix(@desktop/communities): fix translation for members count
fixes #3106
2021-07-29 09:35:58 -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
Pascal Precht
d47ddf69bb
refactor(@desktop/chat): make use of StatusQ's input in contact list search
Also, use `StatusPopupMenu` for starting new chats.
2021-07-29 10:30:25 +02:00
Pascal Precht
0dbfb61093 fix(@desktop/chat): make chat group popup work again
This broke during the modal refactoring because we're no longer relying
on `chatsModel.contextChannel`.

Passing the channel item to the popup ensures it's properly hydrated again.

Closes #3050
2021-07-28 16:52:55 -04:00
Richard Ramos
97f0a0435d refactor: SNT transaction modal (for buying sticker packs and ens) 2021-07-28 11:56:17 -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
a99eccee00 feat: limit to 3 pins and show how to unpin 2021-07-26 17:16:35 -04:00
Jonathan Rainville
7d169e85f2 fix(delete): disable deleting certain message types 2021-07-26 17:14:07 -04:00
Jonathan Rainville
93f602adf2 fix(delete): fix delete button color and typo in warning 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
Pascal Precht
07142dc66b fix(CommunityDetailPopup): ensure description wraps properly
Fixes #3052
2021-07-26 13:34:12 -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
Pascal Precht
6ad2171390 fix(CommunitiesPopup): render community description not just member count
This also updates StatusQ as the underlying StatusListItem component wasn't able
to handle multi-line subtitles very well. Also it didn't support tertiaryTitle, which
is needed in this UI.
2021-07-23 17:10:12 -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
RichΛrd
7a4ced53c5 fix: code review 2021-07-23 15:58:07 -04:00
Richard Ramos
55a11f016e fix: limit suggestions to member list in communities
Fixes #3021
2021-07-23 15:58:07 -04:00
Pascal Precht
e097d2bfe7 fix(Communities): preserve category id when editing channels
As described in #3015, when editing channels that belong to a category of a community,
after saving them, they'll get kicked out of the category.

This is because we haven't passed the category id along the API that performs the
save operation.

This commit ensures we have access to a category chats' `categoryId` and send it
over to `editCommunityChat` RPC API provided by status-go

Fixes #3015
2021-07-23 15:48:21 -04:00
Anthony Laibe
e88665f27a fix(@desktop/chat): hide notification when leaving/creating a group
fixes #2484
2021-07-23 15:37: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
03db6a4985 [#2707] Added "My Profile" button in new chat popup
My profile link was not shown when starting 1x1 chat
having someone in contacts as it is currently the case in
mobile app

Closes #2707
2021-07-23 14:19:33 -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
Anthony Laibe
076a5bc5b7 fix(@desktop/communities): mute/unmute communities
fixes #2880
2021-07-23 13:40:40 -04:00
Pascal Precht
9f6a4f7834 fix(CreateCategoryPopup): ensure delete button and name input stay in viewport
There are a few issues with the popup's content when there are many channels in a community:

1. Channel items belonging to other categories would still take space in the list
1. Due to the longer list of channels, the delete button wouldn't be fully visible (scrolling down
   helps here)
2. Scrolling down is hard because the `ListView` in use is `interactive`
3. Even when `interactive` is set to false, one would scroll the name input out of the viewport.

To solve these, this commit rearchitects the popup's content such that:

1. The name input is always static and in place
2. The scrollview starts with the channel list and ends with the channel list
3. The delete button is positioned below the scrollview
4. The scrollview has a max height of 300 so that the popup doesn't grow too big
5. Invisible channel items won't have a height anymore

The result is that the middle section of the popup becomes scrollable in case there's many
channel items, while both, the name input and the delete button stay in the viewport.

Fixes #3013
2021-07-22 13:52:33 -04:00
Richard Ramos
7aaca9ec4d toggle switch to control if status should be broadcasted or not 2021-07-22 13:48:53 -04:00