Commit Graph

1766 Commits

Author SHA1 Message Date
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
B.Melnik 5e8e897acc fix: Update window position to center
Closes: #2930
2021-07-23 13:26:08 -04:00
Andrei Smirnov 201a87d052 Updated submodules and fixed SystemTrayIcon menu. 2021-07-23 13:22:04 -04:00
Andrei Smirnov b3528bd717 fix(@desktop): missing context menu on SystemTrayIcon 2021-07-23 13:22:04 -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 07c399530b fix: load old user status, and fix code review obs. 2021-07-22 13:48:53 -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 c21f80e7da feat: select bloom filter level 2021-07-21 15:09:23 -04:00
Richard Ramos d8053f5291 fix: getNodeConfig 2021-07-21 15:09:23 -04:00
Richard Ramos 561991da67 Add wakuv2 fleets 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 ee7fe04bd1 fix(CreateCategoryPopup): ensure validation message is position correctly
Fixes #2973
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
Pascal Precht 5b05bef3d5 chore(dep): update StatusQ to v0.2.0 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
Richard Ramos 6564bd8497 fix: make gas selector visible in transaction modals
Fixes #2434.  Modals that were affected by this issue were
- RegisterENSModal (for registeing an ens username)
- SetPubKeyModal (for changing the contact code of an already owned ens)
- StatusStickerPackPurchaseModal (for acquiring a sticker pack)
2021-07-20 10:29:54 -04:00
Andrei Smirnov a3979511e2 fix(@desktop/wallet): modal is not being closed when clicking Add Account 2021-07-20 10:05:52 -04:00
Jonathan Rainville 1621818ecf feat(link): handle group chat invite links
Fixes #2676
The group chat is still not usable. It is missing the feature to request access to the group chat.
2021-07-20 10:00:54 -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
Pascal Precht 9eb752885d refactor(Communities): use `StatusModal` in `CreateCommunityPopup`
This replaces the modal popup with `StatusModal` in the `CreateCommunityPopup`
and also ensures that it adheres to the design.

There are still things to be refactored in here, primarily form control components.
Those will be tackled in future commits once they have been built in StatusQ

Closes #2882
2021-07-20 08:40:29 -04:00
Pascal Precht 9795890544 ui(Communities): remove unnecessary dividers in modals
There was a change in StatusQ that introduced dividers for modal footers
and headers, so we don't need to put them in the content manually anymore.

This commit removes the no longer needed ones.
2021-07-20 08:40:29 -04:00
Iuri Matias bdda052968 update statusQ 2021-07-19 14:33:30 -04:00
Anthony Laibe 5e52095b1f fix(@desktop/communities): remove context menu leftover
fixes #2839
2021-07-19 14:33:30 -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 9ee7079744 [#2550] Fixed wrong color in key icon
Key icon color was wrong at the community
welcome message

Closes #2550
2021-07-19 13:38:32 -04:00
Sale Djenic abf89fa399 chore(@desktop/general): use different icons for Windows/Linux and MacOS
Icons are updated, mac uses rounded rect log, win and linux circle logo.

Fixes: #2833
2021-07-19 13:37:56 -04:00
Anthony Laibe 4269b51ea6 feat(@desktop/wallet): display confirmation block count
fixes #2715
2021-07-19 13:33:32 -04:00
Alexandra Betouni 81fe8976dd [#1945] Fixed ToolTip position when there is no space
Closes #1945
2021-07-19 13:25:47 -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
Andrei Smirnov 4031db9bf1 perf(@desktop): "make run" boost and build correct qrc 2021-07-19 13:01:53 -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
Sale Djenic e9585e6209 feature(@desktop/communities): add loading state when import community
Toast message is added when user access an existing community using community's private key. Toast
message with message that importing community is in progress is displayed while community is being
imported and once it is imported toast is closed and new one, which will be closed in 4 seconds,
with message that community is imported is displayed.

Fixes: #2467
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
Alexandra Betouni 80943b3342 [#2263] Change Focused state back to default in search box
In chat search box the focus state was remaining true
even though the user was clicking outside of it

Closes #2263
2021-07-16 18:21:44 -04:00