7456 Commits

Author SHA1 Message Date
Jonathan Rainville
d3e765487c
feat(onboarding): add AC notif for importing old accounts (#17078)
* feat(onboarding): add AC notif for importing old accounts

Fixes #17028

When an old user imports an account, we now fetch the backups in the background and show an AC notification.

When the fetch is successful, the AC notif switches to a success message.

If after a timeout we detect that we didn't fetch anything or just part, we show an error and the possibility to try again.

* fix: typo

* chore: bump status-go

* fix: bump status-keycard-go

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2025-02-05 19:44:33 +00:00
Lukáš Tinkl
db7a359a49 fix(PasswordView): UI fixes and alignments with latest Figma
- display validation messages closer to the input fields
- warn about pass too long, info for "passwords match"
- fix an actual bug when two too long passwords would be considered as
"valid" by the UI
- various fixes and UX improvements for the respective SB pages

Iterates: #17101

To fully fix the above issue, we need a more complete Figma design,
depicting the various error scenarios
2025-02-05 14:35:26 +01:00
Lukáš Tinkl
09bdb955e9 feat(Onboarding): implement the KeycardFactoryReset flow
- integrate it into the UI and StoryBook
- a new keycardState is introduced: `FactoryResetting` (matching the
backend)
- a new store method introduced: `startKeycardFactoryReset()`

Fixes: #17094
2025-02-04 22:57:04 +01:00
Lukáš Tinkl
6e2e6ffc55 chore(Onboarding): continue the flow only after a successful unblock
- in other words, stop if we want some other flow instead, e.g. the
factory reset
2025-02-04 22:57:04 +01:00
Jonathan Rainville
bf5de4087e
feat: Integrate new logins flows happy paths (#17137)
* feat(login): integrate basic login flows happy paths

Fixes #17137

* fix: rebase issues and pr comments

* chore: switch status-keycard-go to master branch

* fix: tests

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2025-02-04 15:08:13 +00:00
Jonathan Rainville
2d549f42be
feat: Implement the keycard flows for the new onboarding (#17127)
* feat(onboarding): integrate all keycard flows for the new onboarding

Fixes #17079

* chore: bump submodules to merged versions

* fix: rebase fixes

* chore: bump status-keycard-go to use Go 1.21

* feat: add FactoryResetting state

* chore: minor fixes

* add KeycardRemainingPinAttempts

* minor fixes

* minor fixes

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2025-02-04 13:22:05 +00:00
Igor Sirotin
6e1ef46ef7
feat: Keychain QML Item (#17166)
* feat: Keychain QML component

* fix: non-mac builds

* test

* feat: async api

* chore: gitignore statusq android gradle

* Keychain API adjusted, Storybook page unified for real/mocked biometric popup

* fix: proper success/error of getCredential

* chore: format file

* feat: Keychain emit status

* feat: Keychain status

* feat: cancel auth

* fix: various os-specific issues

* chore: address pr comments

* chore: update mocked biometrics popup

* chore: back to LAPolicyDeviceOwnerAuthentication

* cleanup
2025-02-04 12:26:33 +00:00
Khushboo-dev-cpp
19c6e910d8 feat(@desktop/wallet): Wrtie Unit tests for SimpleSendModal, SimpleTransactionFees and SendModalFooter
fixes #17123
2025-02-03 16:20:13 +01:00
Khushboo-dev-cpp
1668fd384c feat(@desktop/wallet): Add option to not show Popular section in TokenSelectorViewAdaptor.qml
fixes #17148
2025-02-03 11:10:37 +01:00
Cuteivist
3b56fc0895
feat(wallet): Update send modal height handling (#17143) 2025-02-02 07:22:07 +01:00
Cuteivist
ea33f151db
chore(wallet): Update token selector misalignment (#17133) 2025-02-02 07:21:53 +01:00
Dario Gabriel Lipicar
55e96bbd05 chore: extract rpcProviders as independent model 2025-01-31 12:11:35 -03:00
Dario Gabriel Lipicar
051b563f9f feat(network): integrate new rpc providers api 2025-01-31 12:11:35 -03:00
Michał Cieślak
e46b8e1f09 Onboarding: Unblock with seedphrase flow for login
Closes: #17142
2025-01-31 14:57:45 +01:00
Michał Cieślak
944568eaf7 Onboarding: LoginScreen location adjusted
- LoginScreen SB page simplified
- OnboardingLayoutPage - settings introduced for handier testing
- LoginScreen moved from OnboardingLayout to OnboardingFlow, making first flow's page bound to model content (instead of relying on check during initialization)
- UnblockWithPukFlow removed from OnboardingLayout (now it's used only in OnboardingFlow)
- Login error/success processing extracted from LoginScreen to OnboardingLayout
- small bug fixed in Utils::objectTypeName

Closes: #17160
2025-01-31 13:54:49 +01:00
Lukáš Tinkl
5cf9e4f838 feat(Post Onboarding): Introduce yourself popup
- popup displayed only ever once
- triggered when section is switched to anything else than wallet
(default for new users) or settings (profile visible first anyway)
- add the popup to SB

Fixes #17027
2025-01-30 18:00:18 +01:00
Sale Djenic
442c0cba62 chore(communities-wallet): various improvements on community related transaction flows
These changes should simplify the community related tx handlings on the client side, align it with
tx flows that we already have for other sending types and make it maintainable.
2025-01-30 15:49:49 +01:00
Lukáš Tinkl
9afaf285ad fix(PasswordView): unbreak strength score and padding/margins
- the view was missing the import for `Theme`
- the `getPasswordStrengthScore` was not being called with the correct
signature

Fixes #17050
2025-01-30 11:39:06 +01:00
Lukáš Tinkl
df741d6260 feat(Onboarding): implement the new UnblockWithPukFlow
- integrate the PUK unblock flow into the Onboarding and Login screen
- added a dedicated SB page for it
- remove the `Locked` keycard state everywhere in favor of `BlockedPIN`
and `BlockedPUK`
- fix the various "Locked" buttons, based on the context and the state
of the keycard

Fixes: #17092
2025-01-29 12:38:43 +01:00
Lukáš Tinkl
2de4d3a19e feat(KeycardEnterPukPage): implement a dedicated "Enter PUK" page
- to be used in the "Unlock with PUK" flow
2025-01-29 12:38:43 +01:00
Lukáš Tinkl
0b7f58b028 fix(Onboarding): fix seedphrase page title
- make a difference between "Create profile..." and "Login with..."

Fixes: #17109
2025-01-29 12:38:43 +01:00
Michał Cieślak
cf85dea32d Onboarding lost keycard - basic tests
Closes: #17095
2025-01-29 11:00:16 +01:00
Michał Cieślak
6fb1c26449 Onboarding: lost keycard flow added to OnboardingLayout 2025-01-29 11:00:16 +01:00
Michał Cieślak
fb9cd351c4 Onboarding: lost keycard flow components added 2025-01-29 11:00:16 +01:00
Michał Cieślak
3ab2b7c86b UseRecoveryPhraseFlow parametrized, type property added 2025-01-29 11:00:16 +01:00
Sale Djenic
9673e3515e chore(wallet): new send modal improvements
Updated Sign Send popup (that is going to be review popup soon) to operate over a single tx path instead
like it's now. It needs to display a path specific time, fees, later priority fees ranges, nonce and so.
2025-01-29 09:32:08 +01:00
Lukáš Tinkl
4b8ed6c7a1 chore(Onboarding): implement getModelFromEnum()
- and use it in the SB pages to automatically get all values from an
enum and use them as a ready made model, instead of spelling the values
individually/manually
2025-01-29 09:20:24 +01:00
Lukáš Tinkl
e2f9dab33b fix(Onboarding/SyncProgressPagePage): fixup back buttons
- SyncProgressPagePage: enable the back button only in the failed state
- SyncProgressPagePage: fix the "Try again" and "Back" button to go to
the Scan QR step; the connection code is disposable and can't be used
again anyway
- adjust the respective SB pages to reflect the correct enum values
2025-01-29 09:20:24 +01:00
Lukáš Tinkl
f64019fb09 chore(Onboarding): use the isOutline StatusButton variant 2025-01-29 09:20:24 +01:00
Lukáš Tinkl
7029d56cbf fix(Onboarding): fixup and extract info button to OnboardingInfoButton
- create a reusable component
- fix the bg and hover colors as specified in Figma

Fixes #17102
2025-01-28 12:13:17 +01:00
Lukáš Tinkl
2ec862231a feat(StatusButton): add an outline variant
- only for `StatusButton` as for the `StatusFlatButton` it's not desired
- also use defined metrics for padding/spacing
- add a QML test

Fixes #17124
2025-01-28 11:34:30 +01:00
Cuteivist
28690379e1
feat: Simple send modal recipient view (#17096)
* feat: Simple send modal recipient view

* feat: Handle duplicate entries in recent recipient view
2025-01-27 17:35:59 +01:00
Jonathan Rainville
e0c3adce67 feat(onboarding): hook metrics to the new onboarding
Fixes #17047
2025-01-27 11:06:54 -05:00
Jonathan Rainville
3fbc98e2aa fix: fix signals not being hooked properly 2025-01-27 11:06:54 -05:00
Jonathan Rainville
e051bca3bb chore: provide base properties so the app launches propertly 2025-01-27 11:06:54 -05:00
Khushboo Mehta
4b2457a17b feat(@desktop/wallet): Adapt invocations to New Simple Send Modal
fixes #17023
2025-01-27 15:50:32 +01:00
Alex Jbanca
2098300d8f fix(ButCrypto): Fixing assets filtering when the selected chain changes 2025-01-27 15:52:10 +02:00
Alex Jbanca
e60cf57831 Revert "feat: hide mercuryo"
This reverts commit 22c4bb2846c2a88f79ccb326fbbb885ead077d41.
2025-01-27 15:52:10 +02:00
Lukáš Tinkl
0445f131f7 fix(KeycardCreateProfileFlow): rename the fromBackupSeedphrase flag
- to `withNewSeedphrase` to reduce the confusion
2025-01-24 15:27:07 +01:00
Lukáš Tinkl
0aa85d5cb0 fix: Help Us Improve Status Button Label
- use the "Got it" text for the OK button

Fixes #17099
2025-01-24 15:27:07 +01:00
Lukáš Tinkl
c06d7f81ce fix: Privacy Policy and Terms of Use UI Issues
- make it possible for the "OK" button text to be overridden
- use the correct "Done" text for those 2 popups (PP & TOU), as designed
in Figma

Fixes #17098
2025-01-24 15:27:07 +01:00
Lukáš Tinkl
acb24c9e7b fix(KeycardCreateProfileFlow): swap the order of PIN and Seed pages
- first Create the PIN, then backup or enter the seed phrase
- fix and simplify the tests to reflect the reality; we are always
creating a PIN here since it's an empty keycard
2025-01-24 15:27:07 +01:00
Alex Jbanca
460feea889 fix: Set SNT as the default receive on swap 2025-01-24 15:19:41 +02:00
Alex Jbanca
2efe0c199d perf(SwapModal): improve the performance on tokenSelectorAdaptor 2025-01-24 15:19:41 +02:00
Khushboo Mehta
5793204e01 feat(@desktop/wallet): Integrates the new sign model into the simple send
fixes #17060
2025-01-24 13:51:59 +01:00
Khushboo Mehta
bb0908021e feat(@desktop/wallet): New Send Sign Modal
fixes #16708
2025-01-24 13:51:59 +01:00
Khushboo Mehta
e8b03e8b7a feat(@desktop/wallet): Filter out community owner and master tokens from single network send modal 2025-01-24 09:40:21 +01:00
Lukáš Tinkl
638676ed0b feat(Onboarding) Implement new Login screen
- implement the new UI and frontend logic of the Login screen
- integrate it (as a separate page) into the OnboardingLayout
- add SB pages
- add an integration QML test
- add some TODOs and FIXMEs for the existing and new external flows,
which will be covered separately in followup PRs

Fixes #17057
2025-01-23 17:41:43 +01:00
Lukáš Tinkl
24ee6683a2 chore(Onboarding): fix the page transitions in dark mode
- explicitely provide a bg color
- also fix the mouse cursor shape
2025-01-23 17:41:43 +01:00
Lukáš Tinkl
1246f9fbd9 chore(Onboarding): tweak the NewsCarousel bg color 2025-01-23 17:41:43 +01:00