11095 Commits

Author SHA1 Message Date
Michał Cieślak
d1ac45ce6c Onboarding: KeycardCreatePinPage and SeedphrasePage refactored to be pure UI components
Now those components are not aware of any logic in the upper layer,
making the flows more structured and easier to follow.

Required for: #17232
2025-02-12 13:54:46 +01:00
Cuteivist
0131b1fa4d
chore: Add metrics for success of swap transaction (#17279) 2025-02-12 12:06:09 +01:00
Igor Sirotin
f320abb5c4
feat: create startupModule when onboarding is finished (#17268)
* feat: create `startupModule` when onboarding is finsihed

* chore: bump submodules to master branch

* fix: typo
2025-02-12 13:35:23 +03:00
Khushboo-dev-cpp
91846f38b0 feat(@desktop/wallet): Add swap button in left sidebar
fixes #17197
2025-02-12 10:54:48 +01:00
Khushboo-dev-cpp
28496a93b1 feat(@desktop/wallet): Remove progressive pixel reduction in Send and Swap 2025-02-11 20:21:07 +01:00
Khushboo-dev-cpp
296b717f54 feat(@desktop/wallet): Swap changes needed for -2.33
1. Max button functionality
2. Hardcode swap modal to swap USDT <-> WETH
3. Fixing some issues found
4. Not limiting number entered by user

fixes #17198, #17200
2025-02-11 20:21:07 +01:00
Cuteivist
d01ab02a5a
feat: Update interactive states in simple send modal (#17253) 2025-02-11 19:44:23 +01:00
Lukáš Tinkl
1ed92fca67 feat(Onboarding): update the loading splash screen illustration
- use the new illustration image
- fixup the image size
- respect the correct splash screen duration, based on user settings

Fixes #17236
2025-02-11 14:12:59 +01:00
Lukáš Tinkl
fb9856a7d4 fix(Onboarding): attempt to fix keycard login crash
... when the new onboarding is enabled; the `startupModule` is not
available/undefined in that case

Fixes #17222
2025-02-11 14:12:59 +01:00
Lukáš Tinkl
fe1e76d596 fix(Onboarding): don't ask to enable metrics again
... when the new onboarding is enabled; we already do it as part of the
new onboarding itself
2025-02-11 14:12:59 +01:00
Igor Sirotin
0efe2e9a91
fix: reset keycard api after login (#17267) 2025-02-11 15:50:22 +03:00
Michał Cieślak
cee35cb164 Onboarding: Add key pair page aligned to the design
Dedicated page for operation of adding new key pair to the keycard,
with minimal times for displaying in progress and success states.

Closes: #17233
2025-02-11 12:44:46 +01:00
Michał Cieślak
0c19a44471 Missing review amendments for #17205 2025-02-11 12:44:46 +01:00
Michał Cieślak
0f81f7922f Storybook(OnboardingLayout): mnemonic auto-fill fixed 2025-02-11 12:44:46 +01:00
Cuteivist
289c14aefd
feat: Remove beta popup (#17264)
* feat: Remove beta popup

* chore(@e2e): remove beta consent popup

---------

Co-authored-by: Anastasiya <anastasija.ig@gmail.com>
2025-02-11 10:18:16 +01:00
Igor Sirotin
90461d787c
chore: simplify keycard rpc counter (#17244)
* chore: simplify keycard rpc counter

* fix: remove service callRPC wrapper
2025-02-10 19:55:39 +03:00
Lukáš Tinkl
bc5da78180 fix(Onboarding): Incorrect Navigation Flow for 'Use existing phrase' Option
- changes the order of the "Create profile on empty Keycard" flow to
match Figma (seedphrase -> create pin -> add key pair)
- fixup tests to match the order

Fixes #17216
2025-02-10 17:20:56 +01:00
Michał Cieślak
8e703eb02f chore(Onboarding): Unused pages removed from LoginWithKeycardFlow 2025-02-07 17:24:20 +01:00
Michał Cieślak
7649ad45ca feat(Onboarding): KeycardExtractingKeysPage excluded from KeycardEnterPinPage
Closes: #17205
2025-02-07 17:24:20 +01:00
Igor Sirotin
6fe5330e5b
fix: use mnemonic as BIP-39 string (#17246) 2025-02-07 15:14:52 +00:00
Lukáš Tinkl
a9066806b5 chore(Onboarding): Remove all "Reload keycard state" buttons
- the manual "I've insterted a keycard" reload buttons are no longer
needed; we can rely solely on the HW keycard state
- when doing a "Restart", also reset the internal mock/store states

Fixes #17234
2025-02-07 13:10:58 +01:00
Vedran Mendelski
dcd2270842 chore(ci): bump status-jenkins-lib to include alchemy base api keys 2025-02-06 21:58:32 +01:00
Igor Sirotin
b86cc8ba96
chore: bump status-kecard-go (#17243)
* chore: bump status-kecard-go

* chore: one more bump
2025-02-06 20:42:15 +00:00
Igor Sirotin
487f57049d
fix: unblock create replacement flow (#17242) 2025-02-06 20:19:39 +00:00
Michał Cieślak
54ff857f3d feat: LoginScreen - ability to dismiss biometrics popup 2025-02-06 19:20:38 +01:00
Michał Cieślak
d26991bc72 feat: LoginScreen biometrics integration using Keychain
Required for #17085
2025-02-06 19:20:38 +01:00
Michał Cieślak
94dbdc450f chore: Keychain api adjusted 2025-02-06 19:20:38 +01:00
Lukáš Tinkl
86d291a17c fix(SeedphraseVerifyInput): UX fixes
- display outline color only when focused
- display bg color only when not focused
- focused field always shows the standard bg/outline colors and the
"clear" icon
- status icons are displayed outside of the field

Fixes: #17219
2025-02-06 14:56:07 +01:00
Lukáš Tinkl
2c0bcd67af chore(EnterSeedPhrase): improve the SB page
- add a convenience Paste button
- make it possible to validate the seedphrase
2025-02-06 14:56:07 +01:00
Lukáš Tinkl
c20662e6a4 fix(EnterSeedPhrase): fix backspace or delete
- fields can be cleared by selecting a word and pressing backspace or
delete

Iterates: #17105
2025-02-06 14:56:07 +01:00
Lukáš Tinkl
241f21e4ea fix(EnterSeedPhrase): focus last input field after paste
Iterates: #17105
2025-02-06 14:56:07 +01:00
Lukáš Tinkl
b4a1c47f16 chore: small cleanups
- update imports
- fix wrong filename in qmldir
- don't use hardcoded metrics
2025-02-06 14:56:07 +01:00
Siddarth Kumar
8e7a588bee
ci: use sc5cmd for uploads (#17228)
This fixes issues like :

11:16:59  + s3cmd --stats --acl-public --no-preserve --host=ams3.digitaloceanspaces.com '--host-bucket=%(bucket)s.ams3.digitaloceanspaces.com' put pkg/StatusIm-Desktop-250205-101034-e6dfac-pr17210-aarch64.dmg s3://status-im-desktop-prs/
11:16:59  /opt/homebrew/Cellar/s3cmd/2.4.0_1/libexec/lib/python3.13/site-packages/S3/S3Uri.py:122: SyntaxWarning: invalid escape sequence '\.'
11:16:59    m = re.match("(.*\.)?s3(?:\-[^\.]*)?(?:\.dualstack)?(?:\.[^\.]*)?\.amazonaws\.com(?:\.cn)?$",
11:16:59  /opt/homebrew/Cellar/s3cmd/2.4.0_1/libexec/lib/python3.13/site-packages/S3/S3Uri.py:170: SyntaxWarning: invalid escape sequence '\w'
11:16:59    _re = re.compile("^(\w+://)?(.*)", re.UNICODE)
11:16:59  /opt/homebrew/Cellar/s3cmd/2.4.0_1/libexec/lib/python3.13/site-packages/S3/FileLists.py:525: SyntaxWarning: invalid escape sequence '\*'
11:16:59    wildcard_split_result = re.split("\*|\?", uri_str, maxsplit=1)
11:17:00  ERROR: SSL certificate verification failure: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1018)

- we also bump nix interpreter version to 2.24.11
- we also use a newer image which has support for nix-shell since sc5cmd needs a nix-shell
2025-02-06 17:54:52 +05:30
Khushboo-dev-cpp
67ec079078
feat(@desktop/wallet): Make footer and header opaque with blurring effect (#17190) 2025-02-06 10:09:28 +01:00
Cuteivist
79432938b2
feat(wallet): Update recipient data in send sign modal (#17164) 2025-02-06 10:08:54 +01:00
Cuteivist
aa1e407ff2
feat: Add event metrics to simple send modal (#17192) 2025-02-06 05:30:16 +01:00
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
b366a44994 fix(ci): add missing deps for building Python deps
Without `python3-dev` and `build-essential` build of `pyzstd` fails with:
```
error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-02-04 13:33:00 +01: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