Commit Graph

748 Commits

Author SHA1 Message Date
Lukas Korba 32b7afb867
Merge pull request #1077 from LukasKorba/1037-Consolidate-back-button-on-the-phrase-display-screen
[#1037] Consolidate back button on the phrase display screen
2024-02-22 08:53:51 +01:00
Lukas Korba ef64496739 [#1037] Consolidate back button on the phrase display screen
- ZashiBackModifier updated with a new hidden param. This way it can be controlled by views for dynamic scenarios.
- Reducer updated to latest TCA.
- Unit tests refactored and fixed.

[#1037] Consolidate back button on the phrase display screen

- updated test
2024-02-20 15:25:03 +01:00
Lukas Korba 21cb72dfc9
Merge pull request #1065 from LukasKorba/1056-Redactable-AccountBalance
[#1056] Redactable AccountBalance
2024-02-20 12:10:51 +01:00
Lukas Korba e494744fcc
Merge pull request #1072 from LukasKorba/1067-Disable-logging-for-production
[#1067] Disable logging for production
2024-02-20 12:08:52 +01:00
Lukas Korba 3460cf6f58 [#1067] Disable logging for production
- There are 3 different and independent loggers that have been disabled for production (release configuration builds)
- The TCA logger doesn't call os_log()
- The SDK is instantiated with .noLogging policy
- The Wallet logger is never set so it's nil
- With no logs the export logs button in Export Private Data screen no longer makes sense so I removed it from the UI

[#1067] Disable logging for production (#1072)

- project reverted back
2024-02-20 12:06:30 +01:00
Lukas Korba 06cc8ed1c1
Merge pull request #1073 from LukasKorba/1068--False-positive-keysMissing-detection
[#1068] False positive keysMissing detection
2024-02-20 12:03:31 +01:00
Lukas Korba 6b783cbbe5
Merge pull request #1074 from LukasKorba/1070-No-email-account-in-iPhone-error-handling
[#1070] No email account in iPhone error handling
2024-02-20 12:03:07 +01:00
Lukas Korba 5afe5fb1dd [#1070] No email account in iPhone error handling
- Alert view message updated
- Copy support email button added to the alert view
- Unit test for the new functionality added

[#1070] No email account in iPhone error handling (#1074)

- empty row comment addressed
2024-02-20 12:02:38 +01:00
Lukas Korba 9d7d9badb6 [#1068] False positive keysMissing detection
- Change of the setup of the keychain massively reduces the probability and frequency of cases when the keychain is required to provide data. Background task for the sync was the main producer of these attempts to read the data, the new flag allows BGTask to operate freely with no errors related to the keychain. Ultimate solution how to make it even better is covered in #1071, TODO added to the code.
2024-02-19 14:04:42 +01:00
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 21412a356b [#1056] Redactable AccountBalance
- AccountBalance has been wrapped into RedactableAccountBalance
- SynchronizerState has been wrapped into RedactableSynchronizerState
- Code updated to use these new redactable structs instead of direct use of unredacted ones
- tests fixed
2024-02-15 12:42:11 +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