Commit Graph

588 Commits

Author SHA1 Message Date
Lukas Korba 33b94b517d
Merge pull request #1066 from LukasKorba/1053-Improve-successful-restore-message
[#1053] Improve successful restore message
2024-02-16 08:49:39 +01:00
Lukas Korba 4639e4fc84 [#1053] Improve successful restore message
- text has been updated
2024-02-15 13:13:29 +01:00
Lukas Korba 10eb66f1a2
Merge pull request #1061 from LukasKorba/1058-Cleanup-dependency-injection-in-reducers
[#1058] Cleanup dependency injection in reducers
2024-02-14 19:33:20 +01:00
Lukas Korba 9b683651cf [#1058] Cleanup dependency injection in reducers
- All work here is just cleanup of obsolete dependency injection. #981 introduced a brand new approach of DI for token name and SDK constants. That allowed me to deliver expected values directly in the TCA fashion so all reducers no longer needed those values to be passed via initializers.
2024-02-14 14:42:01 +01:00
Lukas Korba 48536e5fa0
Merge pull request #1059 from LukasKorba/981--Send-button-disable-check-must-include-the-fee
[#981] Send button disable check must include the fee
2024-02-14 14:39:27 +01:00
Lukas Korba 0faa37c243 [#981] Send button disable check must include the fee
- the fee is now checked and it's coming from the SDK
- unit test checking validity of the form when not enough Zatoshi for the fee has been implemented
- brand new concept of handling the SDK constants inside the TCA has been implemented, will greatly simplify cleanup of all reducers (see #1058)
2024-02-14 12:44:42 +01:00
Lukas Korba b668b15f04
Merge pull request #1048 from LukasKorba/975-Localize-the-balances
[#975] Localize the balances
2024-02-14 12:02:24 +01:00
Lukas Korba 783ed20c20 [#975] Localize the balances
- The Zatoshi decimals have been localized with respect to floating point style
- unit tests fixed + new set of comma tests implemented

[#975] Localize the balances (#1048)

- pre-rebase

[#975] Localize the balances (#1048)

- "<" localized

[#975] Localize the balances (#1048)

- rebased
2024-02-14 11:30:47 +01:00
Lukas Korba 82fd0e043f
Merge pull request #1047 from LukasKorba/1032-Advanced-settings
[#1032] Advanced settings
2024-02-14 11:16:20 +01:00
Lukas Korba 8498cff744 [#1032] Advanced settings
- all buttons moved to appropriate positions and screens
- business logic rewired
- all new texts localized
- changelog updated

[#1032] Advanced settings

- unit tests fixed

[#1032] Advanced settings (#1047)

- separate reducer for advanced settings
2024-02-14 11:12:51 +01:00
Lukas Korba 5d078035f4 [#1028] Runtime switch of lightwalletd servers
- prototype of the solution implemented

[#1028] Runtime switch of lightwalletd servers

- error handling done
- localized all new texts
- custom server resolved with all possible parsing states
- persistency of selected server done

[#1028] Runtime switch of lightwalletd servers (#1044)

- changelog update

[#1028] Runtime switch of lightwalletd servers (#1044)

- Unfortunately the compiler has a bug so Circular reference error is not possible to solve, Apple fixed reported issue from October 2023 last week so we should expect fix in Xcode 15.3, beta is released but still no fix. Until that moment I moved placeholders to the view and will move it back to the stores once the issue is resolved
2024-02-14 11:12:51 +01:00
Lukas Korba 8372df6f1e [#1028] Runtime switch of lightwalletd servers
- prototype of the solution implemented

[#1028] Runtime switch of lightwalletd servers

- error handling done
- localized all new texts
- custom server resolved with all possible parsing states
- persistency of selected server done

[#1028] Runtime switch of lightwalletd servers (#1044)

- changelog update

[#1028] Runtime switch of lightwalletd servers (#1044)

- Unfortunately the compiler has a bug so Circular reference error is not possible to solve, Apple fixed reported issue from October 2023 last week so we should expect fix in Xcode 15.3, beta is released but still no fix. Until that moment I moved placeholders to the view and will move it back to the stores once the issue is resolved

[#1028] Runtime switch of lightwalletd servers (#1044)

- adoption of SDK 2.0.10
2024-02-14 11:12:51 +01:00
Lukas Korba 924e318be3
Merge pull request #1044 from LukasKorba/1028-Runtime-switch-of-lightwalletd-servers
[#1028] Runtime switch of lightwalletd servers
2024-02-14 11:11:00 +01:00
Lukas Korba ec6e082938 [#1028] Runtime switch of lightwalletd servers
- prototype of the solution implemented

[#1028] Runtime switch of lightwalletd servers

- error handling done
- localized all new texts
- custom server resolved with all possible parsing states
- persistency of selected server done

[#1028] Runtime switch of lightwalletd servers (#1044)

- changelog update

[#1028] Runtime switch of lightwalletd servers (#1044)

- Unfortunately the compiler has a bug so Circular reference error is not possible to solve, Apple fixed reported issue from October 2023 last week so we should expect fix in Xcode 15.3, beta is released but still no fix. Until that moment I moved placeholders to the view and will move it back to the stores once the issue is resolved

[#1028] Runtime switch of lightwalletd servers (#1044)

- adoption of SDK 2.0.10

[#1028] Runtime switch of lightwalletd servers (#1044)

- comments addressed
2024-02-14 11:10:31 +01:00
Lukas Korba f7f5bcfedd
Merge pull request #1041 from LukasKorba/1035-Align-balances-vertically-on-Balances-tab
[#1035] Align balances vertically on Balances tab
2024-02-10 09:09:20 +01:00
Lukas Korba 0919584b81 [#1035] Align balances vertically on Balances tab
- balances aligned for all formats possible
2024-02-08 14:38:40 +01:00
Lukas Korba 9aa28d39b8
Merge pull request #1026 from LukasKorba/1007-Missing-seed-screen-lacks-any-back-button
[#1007] Missing seed screen lacks any back button
2024-02-08 10:30:36 +01:00
Lukas Korba 70631cc995 [#1007] Missing seed screen lacks any back button
- Exit button from the screen moved one layer up to show even when no words are stored

[#1007] Missing seed screen lacks any back button

- changelog updated
2024-02-06 08:57:02 +01:00
Lukas Korba 79648f59af
Merge pull request #1025 from LukasKorba/1022-Restore-UI-not-activated-when-app-is-deleted-and-reinstalled
[#1022] Restore UI not activated when app is deleted and reinstalled
2024-02-06 08:47:48 +01:00
Lukas Korba 1f39ce2423 [#1022] Restore UI not activated when app is deleted and reinstalled
- Restore mode in the UI was missing when Zashi was deleted from an iPhone and reinstalled again.
- Syncing bar in the restore mode bottom padding.
2024-02-05 17:02:26 +01:00
Lukas Korba a64815c178
Merge pull request #1020 from LukasKorba/1019-Extract-sort-logic-into-a-function
[#1019] Extract sort logic into a function
2024-02-02 06:04:25 -08:00
Lukas Korba 05364dc3c3 [#1019] Extract sort logic into a function
- reduced duplication of the code by extracting the logic into the transaction itself
2024-02-02 14:57:51 +01:00
Lukas Korba 760243581f
Merge pull request #1018 from LukasKorba/932-Pending-balances
[#932] Pending balances
2024-02-01 18:05:13 -08:00
Lukas Korba f546c9d8f5 [#932] Pending balances
- adopted new SDK with the AccountBalance values
- unit tests refactored
- use of SynchronizerState refactored
- failed transactions sort changed to put failed around the timestamp it failed (expiredHeight used)

[#932] Pending balances

- SDK version bump

[#932] Pending balances

- changelog updated

[#932] Pending balances

- addressed comments for the sort

[#932] Pending balances (#1018)

- unit tests fixed
- sort updated
2024-02-01 17:50:54 -08:00
Lukas Korba f0c4759e0c
Merge pull request #1016 from Electric-Coin-Company/release-0.2.0-15
Release version 0.2.0 build 15
2024-01-31 17:31:58 -08:00
Kris Nuttycombe 06355da1b4 Release version 0.2.0 build 15 2024-01-31 09:05:12 -08:00
Lukas Korba cef25b79cf
[#1014] Adopt SDK 2.0.8 (#1015)
- changelog updated
- SDK version bumped with shielding fix
2024-01-31 08:56:48 -08:00
Kris Nuttycombe 54fdc0cd9e
Release version 0.2.0 build 14 (#1011) 2024-01-30 11:46:28 -08:00
Lukas Korba 4231fd321a
[#1005] Adopt SDK 2.0.7 (#1010)
- SDK version bumped up, 2.0.7 has brought some rust performance optimizations
- changelog updated
2024-01-30 09:57:19 -08:00
Kris Nuttycombe f1a63e37f1
Update dependencies for release 0.2.0 build 13 (#1004)
Zashi bumped to build 13
2024-01-28 20:46:09 -08:00
Lukas Korba 6f03d91bc3
[#1002] Adopt SDK 2.0.6 (#1003)
- SDK updated to the 2.0.6
2024-01-28 19:56:10 -08:00
Lukas Korba 8ebd310798
[#999] Update support mail metadata (#1001)
- Subject in the mail composer/generator fixed
- unit tests checking the subject + mailto implemented
2024-01-28 19:29:07 -08:00
Lukas Korba 79ab841f75
[#997] Keys missing handling (#1000)
- changelog update
- the keys missing error state has been tweaked to try 3 retry attempts because of unresponsiveness keychain API
- in case of true missing keys, the user is no longer locked on a splash screen but rather let land to the Account tab so the rest of the Zashi can be used
- unit tests fixed + implemented new ones for the 3-attempt retry logic
2024-01-28 19:28:18 -08:00
Lukas Korba b6248fdd3c
[#971] Share QR code (#996)
- UI modified to offer both copy & share in the Balance tab
- share of the QR implemented
- unit tests added
- code cleanup
- changelog update
2024-01-23 20:13:46 +01:00
Kris Nuttycombe 96292825bf
Version updates for release 0.2.0 build 12 (#995) 2024-01-20 16:30:13 +01:00
Lukas Korba a4fc0743c6
[#933] Shielding hint box (#994)
- The hint box implemented
- Snapshot tests extended to cover the hint box case
- Unit tests for show/hide of the hint box implemented
- Code cleanup of the previous design for the hint box
- typeface fix
2024-01-14 17:35:47 +01:00
Lukas Korba 777aab54d5
[#991] Send failed alert not localized (#993)
- The alert metadata fixed
- changelog updated
- new test case for send failure implemented
2024-01-10 13:28:32 +01:00
Lukas Korba b801ac72d7
[#974] Restore of the wallet UI (#989)
The broadcasting technology done, the views can subscribe to the restoring wallet state dependency
The restoring wallet badge implemented + handling of different backgrounds underneath it
Progress of the sync implemented on the Account screen
SyncProgress feature implemented, this new component is used 2 times already in Zashi so it's been separated into its own module (used in balances screen and at home screen when restoring the wallet)
Unit tests fixed + implemented new ones for the restore wallet flag
2024-01-09 19:36:42 +01:00
Lukas Korba 1d60dd3275
[#982] Background syncing (#985)
Background processing task implemented
Doc for the Background Synchronization added
changelog update
custom wifi check
2024-01-08 14:14:48 +01:00
Lukas Korba 79205018a5
[#979] Export private data UX tweaks (#980)
- is acknowledge flag is reseted with every private data screen access
- the export buttons are disabled throughout the whole export + share phase
- the spinner is attached to the button that's exporting
- unit tests for all this new functionality added
- sdk 2.0.5 adopted
- changelog updated
2023-12-15 09:28:05 +01:00
Lukas Korba 9ed49c9a29
[#852] Persistency in onboarding flows (#977)
- check for the confirmed phrase backup implemented, when not confirmed, the phrase is displayed and awaiting user's confirmation
- unit tests added + modified
2023-12-15 09:26:04 +01:00
Kris Nuttycombe 076d445597
Version updates for release 0.2.0 build 11 (#978) 2023-12-14 19:24:00 +01:00
Lukas Korba 88715ded04
[#968] Share logs in private data sector (#973)
export of logs from the sdk implemented
the logs have been split into 2 files - verbose and sync specific logs + metrics
changelog updated
SDK dependency adopted
unit tests fixed + added new ones
2023-12-13 11:17:13 +01:00
Lukas Korba bc3db29ee0
[#965] Changelog update for the fixes (#966)
- entries for user facing changes/fixes/updates
- comments resolved
2023-12-12 20:30:02 +01:00
Lukas Korba 5c1898f5a7
[#963] Sending gets stuck (#964)
- Fixed alert appearance in the view
- Fixed missing memo UI in the confirmation screen
- Created a few more tests to cover new cases
2023-12-04 16:24:47 +01:00
Lukas Korba eb36c6db3e
[#961] Grid pattern in the background (#962)
- screen background extended to render either solid background or with grid pattern
- all screens that are designed with pattern have been updated
- recovery phrase screen has been updated to be scrollable because it couldn't fit the smallest iPhone's screen
- changelog updated
2023-12-04 16:23:33 +01:00
Lukas Korba ad4ac13e86
[#950] Sapling address when testnet build (#959)
- the sapling address and its QR code are present only for the testnet builds
- unit tests resolved and tweaked a bit - TCA actions have been merged into 1 copyToPasteboard
- snapshot tests for both mainnet and testnet version to prove sapling is missing on mainnet
2023-12-04 16:20:51 +01:00
Kris Nuttycombe e27e4ed34d Version updates for release 0.2.0 build 10 2023-11-30 09:23:58 -07:00
Lukas Korba 8b53ebfc34
[#936] Send confirmation screen UI (#957)
- confirmation screen implemented
- navigation flow implemented instead of just 1 pushed view
- unit tests fixed + added new ones that handles new actions and states
- zashi button modifier extended to offer new options for new states
- changelog update
- snapshot tests
2023-11-30 15:11:58 +01:00
Lukas Korba 26de9e250b
[#930] Newly created transaction (#944)
- the UX of the newly created transaction is improved by inserting the returned transaction immediately to the array of transactions, that way when the account page is accessed, the sending transaction is presented
- unit tests fixed + added new ones
- sending title for the button implemented alongside with the spinner
- changelog updated
2023-11-27 10:26:03 +01:00