Commit Graph

1819 Commits

Author SHA1 Message Date
Jonathan Rainville 02d80429d6 fix(@desktop/communities): request to join fixes (#14287) 2024-05-08 16:17:10 -04:00
Jonathan Rainville 9ad27133d0 fix: make button active as soon as the permission to join check resolves 2024-05-08 14:46:09 -04:00
Lukáš Tinkl dbd3e6dc62 fix: can't join an encrypted community
- fix the corner case and allow the user to join a community without an
explicitely stated "Member" permission
- enable/disable the Share/Join/Save buttons when the permission to join
check is ongoing, or when the permission check failed
- display tooltips over the disabled buttons explaining why it's disabled
- always display the eligibility button floating on top of the
(scrollable) contents

Fixes #14473
Fixes #14299
2024-05-08 14:46:09 -04:00
Lukáš Tinkl 054c5736e3 feat(SharedAddresses): display the eligibility bubble in edit mode too
- previously, we'd display the bubble only when joining the community
- now we display it also when editing the shared addresses, with a
slightly different wording (eg. "You're an admin" -> "You'll be a
member"), hinting the user about the future change
- remove the usage of `ModuleWarning` as we don't want its delay or
transitions here, replace it with a regular red `Rectangle` + text

Fixes #13397
2024-05-08 14:46:09 -04:00
Jonathan Rainville 7f0d7fdaa9 chore: update icons to use the new multicoloured Status logo
Fixes #14531
2024-05-07 19:39:59 -04:00
Lukáš Tinkl 1cbc94491c fix: Hovering community in the profile showcase leads to crash
- messing around with the DropShadow layer lead to a nasty crash
somewhere deep inside Qt mouse event handlers

Fixes #14596
2024-05-03 13:28:59 -04:00
Lukáš Tinkl 74b92dd848 fix(StatusCard): fix some visual glitches
- correct propagation of hover events, fixes card flicker
- improve the ugly thick border
- token icons are now correctly rounded
- fix text descent lines are cut of ("y" and "p" truncated at the
bottom) due to excessive clipping, set correct max line count
- fix tag outline not being visible in dark mode
- add/update the corresponding SB page, with more controls to play
around with the different params

Fixes #14555
2024-05-02 15:08:28 -04:00
Alex Jbanca 6b7256cc13 fix: Hide members count from community cards when the community is encrypted and the community info is not available 2024-05-02 14:43:29 -04:00
Emil Sawicki e84a33c75c fix(wallet): Fetch details 2024-04-25 11:51:01 +02:00
Sale Djenic e787dce368 fix(wallet): displaying L1 gas cost in UI
Fixes #13892
2024-04-19 09:40:12 -04:00
Anastasiya Semiankevich 3d21085fc4 chore@StatusSyncCodeInput: add object names for buttons 2024-04-19 09:36:52 -04:00
Dario Gabriel Lipicar 6b4307acd1 fix(@desktop/wallet): properly handle collectible groups in send modal
Fixes #14080
2024-04-18 09:40:15 -04:00
Alex Jbanca 32d70c1715 chore(ProfileShowcase): Cherry-pick profile showcase loading state
https://github.com/status-im/status-desktop/pull/14260
2024-04-15 10:03:57 -04:00
Alexandra Betouni 9cad3db60f feat(ProfileShowcasePopup): Adding interactions in delegates
Closes #13702

(cherry picked from commit 53db09412a)
2024-04-15 10:03:57 -04:00
Alex Jbanca 822e170b6d fix(PRofileShowcase): Fixing conflict merge error 2024-04-15 10:03:57 -04:00
Alexandra Betouni 29e3e41410 [ProfileShowcase] Updated delegates as per design + added web tab
Closes #13421
Closes #13606
2024-04-15 10:03:57 -04:00
Alex Jbanca c720d48d61 feat(ProfileShowcase): Integrate profile perspective selector 2024-04-15 10:03:57 -04:00
Alex Jbanca dda9b80fb6 feat(ProfileShowcase): Add profile perspective selector component 2024-04-15 10:03:57 -04:00
Mikhail Rogachev 5caadda171 Feat: New showcase models for a contact (#13998)
* Feat: New showcase models for a contact

* feat(ProfileShowcase): Integrate the new profile showcase backend

* fix(Storybook): Fix ProfileShowcaseModelsPage

* fix: fetch only requested profile showcase data

Support PR for https://github.com/status-im/status-go/pull/4982

* feat: Load and validate profile showcase for a contact in two steps

* fix: fetching criteria for profile showcase collectibles

* fix: review fixes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-04-15 10:03:57 -04:00
Emil Sawicki b810687049 fix(wallet): Update amount to send decimal handling 2024-04-12 11:28:56 -04:00
Lukáš Tinkl 1fc6e1f26b feat(SharedAddressesAccountSelector): update account sorting
- implement sorting of the wallet accounts by the number of tokens (aka tags) and
then by alphabet
- due to the delegate complexity here and usage of nested models, keep
track of the tags count separately and outside of the model
- this will be improved later on as part of the complete sort/order
design described in https://github.com/status-im/status-desktop/issues/14192

Fixes #14101
2024-04-11 10:39:55 -04:00
Michał Cieślak e3028ffd28 feat(SharedAddressesAccountSelector): Support for collectibles in account's delegate tags
Closes: #14102
2024-04-11 10:39:55 -04:00
Lukáš Tinkl e044dfcf57 feat: Add missing eligible to join tag in CommunityMembershipSetupDialog
- implement the eligibility check in C++, returning the highest possible
role the user would be allowed to join under
- enable/disable the "Share" button based on the above permissions check
- remove all the locally placed components, access teh popup only via
Global/Popups
- calculate the `accessType` internally based on the permissions present
- update the eligibility as the async check for permissions is finished
- fix the permissions panel background color
- partially revert the share/finish/cancel buttons behavior; it must be
one button due to StatusStackModal limitations
- fix some other minor UI issues or differences to current Figma designs
- adjust SB, add the possibility to play around with different
permission models

Fixes #14100
2024-04-11 10:39:55 -04:00
Noelia fda0eaa915 fix(CancelCommunityMembership): Added popup instead of directly cancelling request
- Added dialog instead of calling directly to the cancel method.
- Updated `Cancel` button format according to figma in `CommunityMembershipSetupDialog`.

Closes #14097
2024-04-11 10:39:55 -04:00
Sale Djenic 6dfc291105 fix(communities): when only keycard accounts selected (and 1 keycard), authentication is not triggered
Closes #14175
2024-04-11 10:39:55 -04:00
Sale Djenic e2e72f0b0c fix(communities): keycard authentication marked automatically as authenticated
Closes #14174
2024-04-11 10:39:55 -04:00
Noelia 4483eded3c fix(JoinCommunity): Add missing state ONLY private permissions and NOT MET (#14164)
* fix(JoinCommunity): Add missing state ONLY private permissions and NOT MET

- Modified `becomeMemberModel` in store to provide all member permissions.
- Modified permissions model filter to only discard  permissions that are private and NOT met.
- Updated `storybook/PermissionsModel` with new only private permissions and added new model option in corresponding pages.

Closes #14104

* fix(JoinCommunity): Text position when all channels hidden

Updated text position when `allChannelsAreHiddenBecauseNotPermitted` in community join process
2024-04-11 10:39:55 -04:00
Mykhailo Prakhov a68559ba90 fix: set correct permision UI 2024-04-11 10:39:55 -04:00
Michał Cieślak e728084e4c fix(CommunityJoiningAndAddressSharingDialog): Intro text width fixed 2024-04-11 10:39:55 -04:00
Michał Cieślak e6974f21a3 chore(Communities): CommunityIntroDialog renamed to CommunityMembershipSetupDialog
Closes: #14144
2024-04-11 10:39:55 -04:00
Michał Cieślak 26e8ff9ca3 chore(CommunityIntroDialog): Fix storybook page 2024-04-11 10:39:55 -04:00
Lukáš Tinkl 981b292a01 fix[Onboarding] Password screen is not correct
- hide the "Current password" label when creating a new password
- fix margins inside the keycard popup
- some minor UI fixups according to Figma

Fixes: #14214
Fixes: #14177
2024-04-04 09:08:06 -04:00
Emil Sawicki 1a0900ae91 fix(wallet): Add token data when new token is added 2024-03-27 08:26:03 -04:00
Lukáš Tinkl c26110c5ef fix: Display name is not validated properly (UI part)
- do not use the `alphanumericalExpanded:
/^$|^[a-zA-Z0-9\-_\.\u0020]+$/` regex which contains the dot (`.`)
character too; be explicit here and do what the error message says
- the space character at start/end is validated above with the
`startsWithSpaceValidator`

CHERRY-PICK-TO: 2.28

Fixes #14127
2024-03-25 14:56:39 -04:00
Sale Djenic 665d1cb949 fix(communities): deltas between designs and build for join token gated community flow
This commit:
- improves selection of addresses to reveal
- keeps the selection state for the popup lifetime
- brings higher granularity in terms of signed requests by keypairs
- meets new requirements from the latest related Figma
- merges edit shared addresses feature and request to join community features
into a single component, cause the flow is logically the same, with the only
difference that when editing revealed addresses we don't show the community
intro screen

Fixes at least points 3 and 4 from #13988
2024-03-25 13:17:56 -04:00
Jonathan Rainville 19c283be8b
fix: fix warning and inconsistencies with spectating (#14041)
Kinda fixes #13957
2024-03-20 13:58:46 -04:00
Stefan 631ae08a8d fix(wallet): pick a random emoji in the wallet new account modal
Updates #13715
2024-03-20 11:56:03 +01:00
Mykhailo Prakhov a586c6d352
feat(desktop/communities): View community member messages functionality (#14002)
* feat(desktop/communities): View member messages functionality
2024-03-20 11:50:10 +01:00
Noelia c93a8d2c6f feat(SettingsDirtyToastMessage): Extended with additional information component in bottom
- Updated layout using `ColumnLayout`.
- Added additional text component on bottom according to new designs.
2024-03-20 09:31:34 +01:00
Noelia d35c0bd3d1 feat(ProfileShowcase): Align UI save flow according to backend response
- Added loading state in dirty toast message.
- Added store connections in `MyProfileView` and save loading logic.
- Added toasts notifications.

Closes #13950

a
2024-03-20 09:31:34 +01:00
Noelia 1d15398ea7 fix(ProfileSectionStore): Only instanciated once
- Removed `ProfileSectionStore` instance from `CurrenciesStore`. Only needed some certain accesses to the `profileSectionModule`.
- Added strict type in `CommunitiesView`.
2024-03-20 09:31:34 +01:00
Dario Gabriel Lipicar 74440c81e5 feat(@desktop/wallet): add support for EUROC 2024-03-19 16:03:31 -03:00
Mykhailo Prakhov f3d2d0a809
feat(@desktop/community): add new CommunityMemberState - CommunityMemberBanWithAllMessagesDelete (#14028) 2024-03-19 16:17:02 +01:00
Stefan 0958860bc9 fix(qml): fix etherscan links for all networks
Also refactor code for reusability and readability.

Closes: #13986
2024-03-19 15:14:40 +01:00
Lukáš Tinkl a6172eb1de fix(FoldableHeader): do not display the switch if the model is empty
makes no sense to be able to arrange by community/collection if the the
underlying model is empty
2024-03-19 14:18:55 +01:00
Lukáš Tinkl be7e09ba97 fix(CommunityAssetsInfoPopup): fix missing OK button
needs the import for `standardButtons: Dialog.Ok`
2024-03-19 14:18:55 +01:00
Lukáš Tinkl 864be0ad37 fix(ShareProfileDialog): contents spills outside of dialog
- make the contents scrollable using a `StatusScrollView`

Fixes #13967
2024-03-19 13:54:30 +01:00
Michał Iskierko 9ed38bddb7
13291 hide channels (#13876)
* feat(@desktop/communities): Hide channels if the user is not permitted to view and hideIfPermissionsNotMet is set

Extend chats model with channel permissions info and hideIfPermissionsNotMet.
Visibility of chat item is based on: member roles, channel permissions, hideIfPermissionsNotMet.
If all channels from category are hidden, category item is also hidden.
If all chats in community are hidden, infomration label is displayed.

Issue #13291

* chore(@desktop): Upgrade status-go

Issue #13291
2024-03-18 13:33:07 -04:00
Lukáš Tinkl affdccc100 chore: update base and English plural translations
- extract/refresh translatable strings
- fix missing English plurals
- some fixes in KeycardInit, was using non-plural forms

Fixes #13840
2024-03-18 09:43:06 +01:00
Stefan 086180b47a chore(settings) align password screen with design
Changes required:

- Fixed text colors
- Fixed text expressions
- Added dividers
- Added labels

Closes #13893
2024-03-15 17:52:59 +01:00