4885 Commits

Author SHA1 Message Date
Khushboo-dev-cpp
acd8b1327b fix(@desktop/wallet): Issues with the 'Not enough ETH to pay for gas fees' error message 2025-02-12 17:07:22 +01:00
Khushboo-dev-cpp
edbe51b13e fix(@desktop/wallet): When the send modal is launched from a saved address, the name of the saved address is not displayed in the Send modal 2025-02-12 17:07:22 +01:00
Lukáš Tinkl
57ba401228 chore(Onboarding): add unblock flows tests of LoginScreen
- to be completed/finished when the flows actually work
2025-02-12 14:07:03 +01:00
Lukáš Tinkl
262f51a102 fix(Onboarding): Better handling of login errors
- remove `tryToSetPinFunction` and correct `setPin` functions; those
were not used in LoginScreen
- consistently report login errors to the LoginScreen, including details
for the keycard profiles
- display error details in a popup (extracted from `LoginKeycardBox` to
`LoginScreen`) for both password and keycard profiles
- add login error simulation buttons to SB pages

Fixes #17258
2025-02-12 14:07:03 +01:00
Lukáš Tinkl
be8e2ab8d1 fix(Onboarding): fix empty possible entries in LoginUserSelector
- try harder to fallback to the first existing entry, if the one saved
is not available or empty
- some clazy fixes in ModelUtils

Fixes #17271
2025-02-12 14:07:03 +01:00
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
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
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
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
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
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
b4a1c47f16 chore: small cleanups
- update imports
- fix wrong filename in qmldir
- don't use hardcoded metrics
2025-02-06 14:56:07 +01:00
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
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
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
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
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
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
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