Commit Graph

962 Commits

Author SHA1 Message Date
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
Richard Ramos 6849091460 feat: community user status pt 2 2021-07-22 13:48:53 -04:00
Richard Ramos d8053f5291 fix: getNodeConfig 2021-07-21 15:09:23 -04:00
Pascal Precht 5bf5095c3c refactor(communities): remove typo in `exportCommunity()` API 2021-07-21 12:18:02 -04:00
Pascal Precht 84f87f696c chore: remove unused community component 2021-07-21 12:18:02 -04:00
Pascal Precht 319334e21f fix(Communities): make managing community button work again
This broken because the component is relying on globals that don't provide
the same APIs anymore.

Fixes #3000
2021-07-21 12:18:02 -04:00
Pascal Precht 9971f2fc0a fix(@desktop/chat): render community description in chat toolbar
This was lost during the refactor to use StatusQ components because it wasn't
clear to me that community channel descriptions should be rendered there.

Fixes #2982
2021-07-21 12:18:02 -04:00
Pascal Precht 865b3385f3 fix(CreateCategoryPopup): ensure channels are rendered in edit mode
Fixes #2984
2021-07-21 12:18:02 -04:00
Pascal Precht bfab715465 fix(CreateCategoryPopup): make saving categories work again
Due to recent refactors, this popup was still referencing unreachable
components. This commit fixes this.

Fixes #2983
2021-07-21 12:18:02 -04:00
Pascal Precht cd37fa8e58 fix(Communities): reintroduce danger list item for "leave community" button
This was already one in 78f7e0f4e0 but due to
lack of updated designs, it was accidently undone in the refactor of community modals.
2021-07-21 12:18:02 -04:00
Pascal Precht e6059db5ac fix(Communities): make opening profile popup from within memberlist work again
This broken when we refactored the modal to be a `StatusModal` because the loaded
content can no longer rely on globals.
2021-07-21 12:18:02 -04:00
Pascal Precht 8a504ce190 fix(Communities): enable letter identicon support in community profile popup 2021-07-21 12:18:02 -04:00
Pascal Precht aa3c68ec3d fix(Communities): use `StatusModal` in `InviteFriendsToCommunityPopup`
This refactors the popup to use StatusQ APIs and also fixes a bug where the
inner view isn't properly hydrated with community data.

Fixes #2998
2021-07-21 12:18:02 -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
Pascal Precht 4213f953e0 refactor(Communities): use `StatusModal` in `MembershipRequestsPopup`
Closes #2894
2021-07-20 09:58:37 -04:00
Pascal Precht 2807628c4d refactor(Communities): use `StatusModal` in `MembershipRequirementsModal`
Closes #2894
2021-07-20 08:40:29 -04:00
Pascal Precht 92d042184a refactor(Communities): use `StatusModal` in `CommunityDetailPopup`
Closes #2892
2021-07-20 08:40:29 -04:00
Pascal Precht 4b059f6190 refactor(Communities): use `StatusModal` in `CommunitiesPopup`
Closes #2891
2021-07-20 08:40:29 -04:00
Pascal Precht d4e56ab6ef refactor(Communities): use `StatusModal` in `TransferOwnershipPopup`
Closes #2889
2021-07-20 08:40:29 -04:00
Pascal Precht 4dab6f9239 refactor(Communities): replace `CommunityMembersPopup` with `CommunityProfilePopup`
When right-clicking a community from the navbar and selecting "View community", Status Desktop
opens `CommunityMembersPopup` which looks like it was either never really finished or more of an
intermediate solution until a proper community profile popup was created.

That's why this commit replaces it with a `CommunityProfilePopup` instead.
In fact, this lead to changes in `CommunityProfilePopup` where the `activeCommunity` dependency
is entirely removed, which allows us to use this popup in various places given that it's hydrated
with proper data.

Because we're no longer relying on `activeCommunity` inside that popup, all of its children and
connected popups needed that same refactor as well, hence this PR introduces a few more changes.

Closes #2890
2021-07-20 08:40:29 -04:00