Commit Graph

9358 Commits

Author SHA1 Message Date
Lukáš Tinkl a2e85bb3eb feat: [UI - Swap] Create tag error component
- created a new component (`ErrorTag`) based on the existing
`InformationTag`, suitable for displaying a row of icon (optional), text
and (optional) button in red/danger color
- add ErrorTagPage.qml to StoryBook
- add some basic QML tests

- InformationTag: make more properties customizable, use the same
`bgRadius` consistently
- StatusSmartIdenticon: some fixes for the MouseArea hover/click
behavior

Fixes #14792
2024-05-23 08:55:10 +02:00
Mikhail Rogachev df3f9984a8
fix: correct member list for new community channels (#14873) 2024-05-22 23:19:07 +02:00
Godfrain Jacques 6549348324
chore(status-go): bump status-go to get left communities persistence after restoring account (#14876) 2024-05-22 12:07:54 -04:00
Valentina1133 dd2d64043b
chore: object names added for link previews elements (#14869) 2024-05-22 09:35:25 +07:00
Jonathan Rainville 92fc9b18f2
chore(status-go): bump status-go to get token list fix + better logging (#14872) 2024-05-21 15:09:17 -04:00
Jonathan Rainville e01d8fe422
fix(links): open status links in the browser when not shared urls (#14845)
Fixes #14844

The problem was that links to status.app that are not shared links were still considered shared urls, because our util function can only check if it contains `status.app`.

The solution is two fold:
1. If there are Link Previews, I ask the link preview for the type of Link. If it's a normal link, I just open it.
2. If there are no Link Preview for that link, we call `parseSharedUrl` as before, but now we handle the failure by opening in the browser because we can assume that it's a normal link.
2024-05-21 14:14:38 -04:00
Alex Jbanca f944e8359b
fix(BiometricLogin): Move to regular login page when biometric login fails with error (#14860) 2024-05-21 18:42:53 +03:00
Roman Chornii 55edd94401
fix(ProfileDescriptionPanel): Profile settings -> Identity : Addition of validation to bio field (#14772)
- Added validator to the bio component to allow only ascii and emoji characters
This PR fixes #13623
2024-05-21 00:13:55 +03:00
Lukáš Tinkl a6c897929a chore: Remove custom rowData method from NIM's models
- Some NIM's models define additional (not part of the
QAbstractModelItem API) method rowData to allow access to model's data
on UI side
- The same job can be done relying fully on public QAbstractModelItem
API using ModelUtils utility. It gives full transparency if we need
nim's model or other like ListModel replacement in tests/storybook
- propagate `tokensStore` to unbreak the Browser's wallet menu

Fixes #14805
2024-05-20 18:02:20 +02:00
Alex Jbanca 62b7083f4c
fix: Fixing the share addresses popup height when only owner and TM permissions are available (#14865)
* fix: Fixing the share addresses popup height when only owner and TM permissions are available

* Update ui/app/AppLayouts/Communities/panels/SharedAddressesPanel.qml

Co-authored-by: Michał <michalcieslak@status.im>

---------

Co-authored-by: Michał <michalcieslak@status.im>
2024-05-20 18:45:30 +03:00
Stefan 08a1e10f59 feat(dapps) add toast notifications for Wallet Connect paring
Updates: #14754
2024-05-20 17:13:30 +02:00
Richard Ramos 35e4e63b48 feat: shards.staging fleet 2024-05-20 09:33:17 -04:00
Stefan ee72ec7aee feat(dapps) add DAppsService component and ConnectDAppModal
Implement the initial Pairing user workflow and disconnect option for
the first session.

Also

- rename pairing modal accordingly (`PairWCModal.qml`) to make room for the proper
`ConnectDAppModal.qml`
- basic tests for service helpers
- update storybook to reflect the new user workflows

Closes #14607
2024-05-20 15:09:57 +02:00
Stefan 4771f0d77f feat(wallet) customize NetworkFilter for dapps display
Allow to show all selected icons in the network filter
Hide checkboxes in the network filter dropdown

Updates #14607
2024-05-20 15:09:57 +02:00
Stefan 7cd97a0051 chore(dapps) move dApps UX into its own DAppsWorkflow component
Storybook: also automate related workflows for faster iteration

Also extend the inspector utils to handle Loaders and Popups

Updates: #14607
2024-05-20 15:09:57 +02:00
Stefan 78775d3d69 chore(dapps) move wallet connect service code outside popups
Updates: #14607
2024-05-20 15:09:57 +02:00
Stefan fc582776c0 chore(storybook) load WalletConnect SDK in storybook by QRC for now
Updates: #14696
2024-05-20 15:09:57 +02:00
Michal Iskierko 4575631a6e chore(@desktop): upgrade status-go
Issue #14220
2024-05-20 15:00:22 +02:00
Michal Iskierko 458fdd4938 feat(@desktop/permissions): Use permission-check light functions
Light functions are used first in order to reduce the number of calls to blockchain.
If the permission is not met (user is not a member of community/channel member list),
then normal permissions-check function is used.

Issue #14220
2024-05-20 15:00:22 +02:00
Alex Jbanca 9feebbc354 fix: Log storybook page validator errors
authored by @caybro
2024-05-20 13:38:04 +03:00
Alex Jbanca 7a3b0e0653 feat: Update app icons
Adding app icons with all the necessary sizes bundled in ico/icns
2024-05-20 13:38:04 +03:00
Alex Jbanca 292c74b189 feat: Add monochrome tray icons 2024-05-20 13:38:04 +03:00
Valentina1133 03712af3b9
chore: add object names for links preview and add button (#14853) 2024-05-20 17:11:37 +07:00
Michał Cieślak b764446568 feat(StatusLetterIdenticon): simplify names of properties
Closes: #14439
2024-05-17 23:43:42 +02:00
Michał Cieślak a153279e77 feat(StatusLetterIdenticon): make useAcronymForLetterIdenticon true by default 2024-05-17 23:43:42 +02:00
Michał Cieślak b2ab3a455a feat(StatusLetterIdenticon): make useAcronymForLetterIdenticon mode charactersLen unaware 2024-05-17 23:43:42 +02:00
Michał Cieślak aeb9929fcd feat(StatusLetterIdenticon): introduce strictBackgroundColor flag to decouple coloring and useAcronymForLetterIdenticon flag 2024-05-17 23:43:42 +02:00
Jonathan Rainville 4c61c115d4
fix(mute): fix muted community still sending notifs and having a badge (#14822)
Fixes #14816

The muted property on the community was never checked anywhere. I don't know how it ever worked, but oh well.

I also made it so that when the mute property on the community changes, the badge gets re-evaluated.
2024-05-17 14:25:30 -04:00
mdias 694b3c3488
fix: The emoji color selector animation is out of bounds (#14841)
Issue #14744
2024-05-17 13:43:54 -04:00
Michał Cieślak d2f73cd88f fix(Communities): Show channel for non-members when read-only, tokenless permission is set
When channel has view-only permission not requiring any holdings, the
channel is not encrypted and should be presented to non-members in
read-only mode.

Closes: #14439
2024-05-17 15:19:06 +02:00
Lukáš Tinkl 93d808d020 fix(CommunityMembershipSetupDialog): wait for the Join Permission response only
- introduce a new boolean property `checkingPermissionToJoinInProgress`
and use it to enable/disable the Join (share addresses) button when
joining a community
- we don't have to wait for both join and channels permissions check to
finish, as the former is much faster
- renamed `joinPermissionsCheckSuccessful` to
`joinPermissionsCheckCompletedWithoutErrors` to avoid confusion

Fixes #14680
2024-05-17 14:26:55 +02:00
Michal Iskierko e82207c7cb chore(@desktop): upgrade status-go
Issue #14166
2024-05-17 10:26:47 +02:00
Michal Iskierko 93f62a1672 feat(@desktop/communitytokens): Add l1 fees to community token estimations
There is only one status-go call for all fees: suggested fees, gas and l1 fee.

Issue #14166
2024-05-17 10:26:47 +02:00
Lukáš Tinkl 26923bc603 chore(StatusDialog): Support custom elements in the footer
- fix rounded corners in header/footer background
- add support for footer drop shadow
- add a page/demo with the various features to StoryBook

Fixes #14499
2024-05-17 10:08:43 +02:00
Patryk Osmaczko 76eda30fc1 fix: `LinkPreview` to json conversion
fixes: #14731
2024-05-17 09:59:46 +02:00
Jonathan Rainville bbd1adcabb
Remove importCommunity from QML and Nim code (#14814)
* Remove importCommunity from QML and Nim code

Handling issue 14310. Removed functions associated with the API.

* Updated pr for suggested changes.

* Updated module.nim

---------

Co-authored-by: Eliza <elsorber@gmail.com>
2024-05-16 17:30:32 -04:00
Andrey Bocharnikov cd7de2a2e5 Fix(ProfileShowcase): send contact update when bio changes
fixes #12617
2024-05-17 01:39:14 +07:00
Cuteivist b771ac6aed
feat: Change optimism network short name (#14766) 2024-05-16 18:37:54 +02:00
Andrey Bocharnikov 9d7d3b245e Fix(settings): crash when enabling history archive and disabling logs
fixes #14643
(see more details in the ticket)
2024-05-16 23:29:18 +07:00
Michal Iskierko a776f23965 chore(@desktop): upgrade status-go
Issue #4351
2024-05-16 17:37:05 +02:00
Michal Iskierko 5b5c164a16 feat(@desktop/communitytokens): Move community tokens logic to status-go.
Nim part is only responsible for catching the signal about handled transaction and update UI.
Added CommunityTokenTransactionStatusChangedSignal.

Issue #4351
2024-05-16 17:37:05 +02:00
Alex Jbanca f3dc7b9918 feat(ProfileShowcase): Implement custom showcase position when searcher text is filtering items 2024-05-16 16:47:42 +03:00
Valentina1133 e9127f9cd7
Chore/add object name rename keypair item (#14807)
* chore: add object name for rename keypair menu item

* chore: add object name save changes in rename keypair popup
2024-05-16 16:17:33 +07:00
Alex Jbanca 27bfe22af0 fix: Reload contact info whenever the profile dirty flag is dropped
We need to manually request the contact information again because the contact object is not live
2024-05-16 11:13:13 +03:00
Sale Djenic 6e1fe678bd fix(keycard): unable to import account from keycard
Handling for recovering Status profile for Linux updated since we don't use biometrics for Linux
and that requires slightly different flow.

Closes: #14673
2024-05-16 07:56:32 +02:00
Jonathan Rainville 753825a40e
chore(status-go): up status-go for the fix to hidden channels being unread (#14793)
Fixes #14421
2024-05-15 16:31:57 -04:00
Cuteivist d70f2dcf23
feat(@wallet): Show lightbox when clicking collectible (#14168) 2024-05-15 11:36:56 +02:00
Cuteivist 2565c8a135
fix(wallet): Show community name in tag (#14622) 2024-05-15 11:14:46 +02:00
Lukáš Tinkl 8b8af40979 feat(Settings): remove UI scaling option panel
- as discussed with Design, do not allow the user to select the UI scale
option from Settings as it causes many problems; instead rely on the
OS/Qt HighDPI support to handle the scaling for us
- note however, for advanced users, it's still possible to specify the
UI scale manually by exporting the standard `QT_SCALE_FACTOR` prior to
starting the app
- in the longterm, we will come with our own scaling solution at the QML
level, independent from the OS

Fixes #14137
2024-05-14 17:47:10 +02:00
Khushboo Mehta 30ff5f3a2b fix(@desktop/wallet): New Collectible Details tabs
fixes #13806

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-14 09:32:45 +02:00