Commit Graph

420 Commits

Author SHA1 Message Date
Lukas Korba 21b01fca7d [#1055] Handle unavailable AccountBalance
- The available balance 0 scenario is now handled on a product/design level and the 0 is replaced with a progress view.
- There is some redundancy in the code that is going to be resolved in #1087 because it will require to implement a brand new reducer and stream subscriber, out of the scope of this issue.

[#1055] Handle unavailable AccountBalance

- Changelog updated.

[#1055] Handle unavailable AccountBalance (#1088)

- rebased
2024-02-27 12:54:39 +01:00
Lukas Korba ecc8ec9c1d
Merge pull request #1078 from LukasKorba/1051-Crashlytics-acknowledge
[#1051] Crashlytics acknowledge
2024-02-27 12:52:38 +01:00
Lukas Korba 6b94e1a8f6 [#1051] Crashlytics acknowledge (#1078)
- comments addressed

[#1051] Crashlytics acknowledge (#1078)

- documented what boolean values represents
2024-02-27 12:52:11 +01:00
Lukas Korba 45d7241d33
Merge pull request #1085 from LukasKorba/1082-New-shielding-explanation-copy
[#1082] New shielding explanation copy
2024-02-27 12:48:57 +01:00
Lukas Korba f1c7df7768 [#1082] New shielding explanation copy (#1085)
- generated file updated
2024-02-27 12:46:40 +01:00
Lukas Korba 6c83487da4
Update modules/Sources/Generated/Resources/Localizable.strings
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-02-27 12:43:42 +01:00
Lukas Korba 97dc8eea80
Merge pull request #1083 from LukasKorba/1080-Send-amount-enhancements
[#1080] Send amount enhancements
2024-02-25 09:23:20 +01:00
Lukas Korba a83dfa73f7 [#1082] New shielding explanation copy
- Message for the transparent hint box updated
2024-02-22 14:05:22 +01:00
Lukas Korba ab10520492 [#940] Set final privacy policy URL for iOS
- link updated
2024-02-22 13:58:05 +01:00
Lukas Korba a0a17c6d49 [#1080] Send fields enhancements
- All bullet points from the parent ticket have been resolved
- The keyboard is not decimal one so users don't need to switch to numbers + it reduces cases when users fill in some alphabetical letters + it improved the UX with floating point comma vs. point
- Error handling fixed
- Max amount fix and rely on spendable balance
- Unit tests fixed
2024-02-22 13:47:15 +01:00
Lukas Korba c9f1e85c1f [#1060] Memo field behaviours for transparent address
- MessageEditor updated to present disabled state in a different way
- Text in the memo is not persisted when the transparent address is used and MessageBox disabled
- New unit tests implemented and many more updated

[#1060] Memo field behaviours for transparent address (#1075)

- comments addressed

[#1060] Memo field behaviours for transparent address (#1075)

- debug code removed

[#1060] Memo field behaviours for transparent address (#1075)

- code revert
2024-02-22 13:46:23 +01:00
Lukas Korba 25197b1dc6 Update modules/Sources/Generated/L10n.swift
Co-authored-by: str4d <thestr4d@gmail.com>
2024-02-22 10:04:57 +01:00
Lukas Korba ff5cc09941 [#1051] Crashlytics acknowledge
- Layout changes for the Security warning consent
- The screen has also been refactored to the latest TCA
- Unit tests fixed
2024-02-22 10:04:57 +01:00
Lukas Korba 6b6c586f01 [#988] Scan UI (#1069)
- comments addressed
2024-02-22 09:03:42 +01:00
Lukas Korba 774f5d294d Update modules/Sources/Features/Scan/ScanStore.swift
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-22 09:03:42 +01:00
Lukas Korba 5a96727b01 [#988] Scan UI
- new layout for the scan screen

[#988] Scan UI

- new layout and design for scan
- camera not authorized case + UI
- scan store refactored to the latest TCA
- unit test fixed

[#988] Scan UI (#1069)

- changelog update
2024-02-22 09:03:42 +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 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 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 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 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 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 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 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 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 0919584b81 [#1035] Align balances vertically on Balances tab
- balances aligned for all formats possible
2024-02-08 14:38:40 +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 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 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 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 cef25b79cf
[#1014] Adopt SDK 2.0.8 (#1015)
- changelog updated
- SDK version bumped with shielding fix
2024-01-31 08:56:48 -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
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
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
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 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
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
Lukas Korba 4f3a5f7270
[#928] Balances screen UI (#942)
- the new layout implemented
- some of the functionality is not done yet because it's not supported in the SDK or some design is still WIP - TODOs added at related places
- result of shielding (the transaction) is automatically added to the list of transactions so the UX is seamless
- localized texts refactored
- unit tests done
2023-11-27 10:04:51 +01:00
Lukas Korba 4f06f83274
[#919] Update TODO to link ECC repo instead of secant (#927)
- the links haven been updated to point to the ECC repo
2023-11-22 10:07:48 +01:00
Lukas Korba 1d8ceb138b
[#918] Omit sapling address (#926)
- the sapling address is no longer on the receive screen
- code cleaned up
- changelog updated
2023-11-22 10:03:00 +01:00
Lukas Korba c76322c0fb
[#922] Batch of ux feedback tweaks (#924)
message (memo) text regular weight, black color
change the color or received message bubble background
no message included... title regular + black
transaction ID (expanded one) regular font + black
expanded address regular font + black
2023-11-21 09:58:00 +01:00
Lukas Korba 4ab2ca0e7c
[#879] BalanceFormatter dependency (#921)
- BalanceFormatter dependency implemented
- ZatoshiRepresantationView implemented, all balances and zatoshi amounts supposed to be rendered should be done via this view
- zatoshi string representation struct implemented, holds all possible states
- unit tests + celanup
2023-11-20 15:07:24 +01:00
Lukas Korba a8a68852d3
[#902] Adopt TCA version 1 (#920)
- Reducers refactored
- EffectTasks refactored
- WithViewStores refactored
- all side effects refactored to the newest API
- tests refactored to MainActor async ones
- hosting application bypassed so the tests are passing and not flaky
- code cleanup
- snapshot tests with ViewStore bindings work again
- Confirmation dialog refactored, used brand new navigation TCA pattern
- unit tests fixed
2023-11-16 16:10:24 +01:00
Lukas Korba 14c5057eff
[#900] Reset states after wipe of the wallet (#901)
- concept of placeholder states removed finally, replaced with initial states that are production ready
- this change allowed the TCA roto state to simply clear out to initial after nuke/wipe
- code + tests refactored and fixed
- unit tests implemented
2023-11-14 15:33:07 +01:00
Lukas Korba aa726aa9e3
[#898] Feature timestamp is broken in unread logic (#899)
- fixed unread timestamp logic, old transactions are marked as read
- the BUG itself was in the unit test, that's why it got through the testing unnoticed

[#898] Feature timestamp is broken in unread logic (#899)

- reverted the names of the assets
2023-11-13 14:40:09 -07:00
Kris Nuttycombe 23ee03c208 Version and asset updates for release 0.2.0 build 8. 2023-11-13 10:00:59 -07:00
Lukas Korba 50c603278a
[#888] Read and Unread state persistency for transactions (#896)
- implemented CoreData dependency as this is the best choice for the persistency in the end
- update the list only if there's anything new
- fixes + code cleanup
- unit tests & fixes
2023-11-13 11:34:46 +01:00
Lukas Korba e9d8e0fbbb
[#892] Add floating points to the balances (#895)
- the utility that splits the balance into 2 parts: main + rest so it can be rendered separately with different font sizes
- unit tests implemented
- code refactored
- Available balance view helper implemented
- spaces unified for the Home & Send
2023-11-13 11:31:34 +01:00
Lukas Korba 49de5f2e3e
[#891] Tap to copy for the transaction details (#893)
- Tap to copy of transaction address and ID implemented
2023-11-13 11:30:10 +01:00
Lukas Korba 34f0077604
[#887] UI tweaks for transactions on Home (#890)
- Concept of WalletEvents removed and replaced with TransactionState and TransactionList
- UI updated to enable list of transactions and expansion with the details
- Color naming cleanups and refactors
- Conditional font modifier implemented
- Conditional strikethrough modifier implemented
- Title + tests of the title for the transaction implemented
- Color + tests for the title of the transaction implemented
- All texts localized
- tests fot the TCA TransactionList implemented
2023-11-13 11:28:43 +01:00
Lukas Korba 3fa10e5147
[#881] UI tweaks for the latest Zashi (#883)
- Balances tab name (from Details)
- Restore flow - birthday header + optional
- Swipe across tabs to change it
- Splash screen with bigger steps
- Restore flow seed screen, scrollable + nav bar fixes + scroll to see the seed field
- Restore seed box to have a placeholder
- Fix the suggestions for the restore seed editor
- Rectangle around recovery phrase editor is now a shape instead of a full background with padding 1
2023-11-02 10:43:08 +01:00
Lukas Korba 74a2936b26
[#875] Send Screen UI (#882)
- message box (memo) reworked to properly handle text with system suggestions
- cleaned up the focused state
- cleaned up the screen background
- finalized the work on Zashi UI for Send
- unit tests fixed + added new ones that cover updated logic
- fixed next next return logic when transparent address is used and message (memo) box disabled
- scrollable content in the message (memo) box instead of dynamically expanding box
2023-11-02 10:37:38 +01:00
Lukas Korba c15b9558b8
[#885] Export of private data (#886)
- PrivateDataConsent screen implemented where is possible to share the dataDb
- tests fixed + added
2023-11-01 19:38:41 +01:00
Lukas Korba b4dc72d511
[#873] Start of the app shows pending state for the transaction (#874)
- The TransactionState always require a BlockHeight to be given, no more optional
- This ensures transactions are properly evaluated for the state (pending vs. non-pending)
2023-10-25 12:43:54 +02:00
Lukas Korba c0d34224c4
[#864] Restore from seed UI (#872)
- fixes for the birthday screen
- layout updated to be scrollable for the seed screen
- code cleanup
- SDK 2.0.3 adopted
- optional placeholder for the birthday
- fixes for the restore flow after a wipe
- clean up of TCA warnings, EffectTask refactored to Effect
2023-10-24 10:38:19 +02:00
Lukas Korba 3689e461cd
[#870] balance truncation to 3 floating points (#871)
- BalanceTitle view created for the bigger balance + zcash icon
- balance formatter with 3 floating points created and used everywhere in the views
- tests for this formatted added to check bank rounding
2023-10-20 15:03:13 +02:00
Lukas Korba 72c34db59d
[#868] tap to copy seed (#869)
- tap to copy phrase action added to the phrase screen
2023-10-20 15:01:20 +02:00
Lukas Korba 44510ac88d
[#865] Settings UI (#867)
- Settings UI according to the Zashi UI
- cleanup of unused code
- fixed tests
2023-10-20 15:00:52 +02:00
Lukas Korba 9f4243b475
[#861] Remove lightwalletd related error dialogs (#862)
- error dialogs removed
- cleanup of the code

[#861] Remove lightwalletd related error dialogs

- sdk 2.0.2 adopted, version bumped
- error dialogs removed
- a few bugfixes:
- phrase display can handle longer words and still render it fully with no truncation
- tabs tap area increased
- receive screen with addresses now uses the wallet's UA
2023-10-13 08:36:50 -06:00
Lukas Korba 2d4ddd72c6
[#858] About screen UI (#859)
- About screen updated to the Zashi UI
- back button finalised according to the Zashi UI
2023-10-13 08:25:35 +02:00
Lukas Korba 86007d449a
[#856] Opening screen UI (#857)
- Opening Screen UI has been redesigned according to the new Zashi UI
2023-10-13 08:16:11 +02:00
Lukas Korba 9827e9aff9
[#853] open privacy policy from the security screen (#854)
- here in the texts works as a hyperlink now and redirects a user to the system browser with the PP
2023-10-13 07:53:04 +02:00
Lukas Korba c1190c782e
[#851] Tab bar layout for the home screen (#855)
- concept of tabs implemented, it's the main navigation hub
- home reducer simplified because it no longer plays a role of a navigation hub
- navigation bar titles implemented
- hamburger menu for the settings screen
- balances screen tweaked
- wallet events on home screen instead of a separate screen
- tests fixed
- feature flags removed from the debug menu, no longer used
- semitransparent nav bar implemented
2023-10-13 07:47:04 +02:00
Lukas Korba fc4f6ad7f9
[#849] Receive screen (#850)
- Profile screen removed completely, no longer in the designs
- AddressScreen is now directly connected to the receive ZEC button
- redesigned according to new Zashi UI
- localized texts
2023-10-10 13:51:06 +02:00
Lukas Korba 1e0c82e15d
[#845] Recovery screen (#848)
- redesigned according to new Zashi UI
- modified grouping or phrase words, halves instead of quarters
- snapshot tests updated
- code cleanup - recovery phrase screen loads the stored wallet instead of being injected into it
2023-10-10 13:47:52 +02:00
Lukas Korba 5ad02e0c6b
[#842] Move state and progress of the synchronizer to the balance breakdown screen (#844)
- Home screen updated to show total + spendable balances
- BalanceBreakdown screen updated to show status of the synchronizer
- Zashi BACK button applied to all screens
- tests fixed
2023-10-05 11:31:12 +02:00
Lukas Korba 4fb80ed89f
[#841] Warning screen (#843)
- custom toggle
- security screen UI and logic finished
- splash screen extended to report completion, this way I can assure it never shows again
- dynamic Zashi version + build implemented into the warning message
2023-10-05 11:30:04 +02:00
Lukas Korba 7c5022a5df
[#828] Splash masking effect (#836)
- Splash screen accessible from a view modifier
- landing through it to the Home and Restore wallet screens
- final effect after round of feedback from Richard
2023-10-04 15:04:08 +02:00
Lukas Korba e33ee405ee
[#830] Zashi design buttons (#837)
- all features of the button done
- cleanup of everything that is not part of the design anymore, needed for the colors for the buttons
- zcashStyle used for the buttons
2023-10-04 11:04:22 +02:00
Lukas Korba e1a5fa9778
[#839] Show total balance on Home screen (#840)
- balance on the home screen is not a total instead of verified one
2023-10-04 11:03:47 +02:00
Lukas Korba 83e5f4fb11
[#833] Ensure that the Send ZEC button is enabled whenever the wallet reports a spendable balance (#835)
- button is enabled when verified shielded balance > 0
2023-10-03 14:05:55 +02:00
Lukas Korba ebbf2520ad
[#832] Replace user-facing Secant strings with Zashi (#834)
- localized files updated, secant -> Zashi
2023-10-03 14:05:44 +02:00
Lukas Korba bbd8da45d6
[#826] proper handling of apps lifecycle (#827)
- SDK version updated
- handling of stopped state added
- swiftgen plugin removed until it's supported by xcode 15 again
2023-09-29 10:23:17 +02:00
Kris Nuttycombe 9586bcbb60 Update Zashi wallet to ZcashLightClientKit 2.0.0-rc.4 2023-09-22 22:05:17 -06:00
Kris Nuttycombe 30eabdf589 Update Zashi wallet to ZcashLightClientKit 2.0.0-rc.3 2023-09-20 15:21:04 -06:00
Lukas Korba feb4ab4eaf
[#820] Adopt SDK sbs-rc1 (#821)
- adopted SDK 2.0.0 RC1 with the Spend-before-Sync
- fixed how memo is selected out of the array of memos (.text is picked, .empty ignored)
2023-09-14 17:10:46 +02:00
Lukas Korba 78f230a768
[#816] Adopt TCA 0.59.0 (#818)
- TCA updated to the latest supported version, there's a 1.0 release already but handled in a different ticket
2023-09-01 08:43:07 +02:00
Lukas Korba 9839f3e34e
[#812] Add Archivo font (#813)
- Archivo font added to the project
- info file indentation fixed
2023-08-29 10:35:44 +02:00
Lukas Korba a73a57aee2
[#814] Server update (#815)
- endpoint updated to the latest and workable server
2023-08-29 10:25:19 +02:00
Lukas Korba 9b2463a370
[#810] Bitrise fails to build (#811)
- hotfix for the CI to work again
2023-08-23 18:16:46 +02:00
Lukas Korba faec526e15
[#804] Update FFI dependency (#805)
- SDK version updated so the FFI is updated as well
- log levels changed so uni tests fixed
2023-08-23 17:06:34 +02:00
Lukas Korba 59e0a68da5
[#747] CrashReporterClient as isolated package (#799)
- CrashReporter is now an independent module
- all crash reporter TODOs removed
- the crash reporter code commented out is now back in action
- package.resolved file updated
- adopted latest SDK
- test crash reporter added back to debug menu
- typo in comments fixed
2023-08-10 08:20:31 +02:00
Lukas Korba 0330f0e7e9
[#789] Use Inter font in Zashi (#797)
- Inter fonts added and registered for use
- all Texts in the Zashi use Inter as a default font
- some texts have custom sizes
- cleanup of fonts in the project
2023-08-10 08:18:19 +02:00
Lukas Korba 1de13698d8
[#793] Polish debug menu and fix dark mode (#794)
- fixed alerts in debug menu
- fixed confirmation dialog in for rescan action
- fixed dark mode colors
- updated texts
- simplified texteditor UI so it's more consistent with the other components
- reduced debug menu items
- tests fixed
2023-08-07 08:33:33 +02:00
Lukas Korba 0206641fc6
[#790] Adopt latest SDK (#791)
- The SDK updated to the latest main (commit hash)
- Fixes for a few texts
- UX improvement: Upgrading databases... label for cases when it takes a few seconds, most of the times it is so quick that the label is even not visible to the user. It simple dismisses before user lands on a home page from the welcome screen
- fixed tests after adding the flag for migration
2023-07-31 18:07:44 +02:00
Lukas Korba ae2c18006d
[#786] Errors for input fields (#787)
- Send flow updated so both input field show an error
- texts for the errors start with capital letters
2023-07-21 09:23:22 +02:00
Lukas Korba de0c954dd7
[#785] Dark mode (#788)
- dark mode support integrated (colors)
- branding updated (name of the app + logo)
2023-07-20 13:21:37 +02:00
Lukas Korba 5fe923f91d
[#783] Set the swift tool version to 5-6 (#784)
- the version has been downgraded to 5.6 from 5.8
2023-07-17 15:11:59 +02:00
Matthew Watt 9fc08a221e
Use SwiftGen plugin (#782)
SwiftGen plugin
2023-07-17 12:12:32 +02:00
Lukas Korba d972a7834b
[#776] Alerts do not work as expected (#777)
- actions from alerts are now properly propagated
- dismissal of an alert is not clearing out the state
- qrcode icon is now a system one
- swiftgen paths updated
2023-06-22 08:12:33 +02:00
Lukas Korba 2aadd2870a
[#772] Cleanup app dependencies (#775)
- dependencies cleaned up
- _unmodularized folder cleared as well
2023-06-22 08:05:22 +02:00
Lukas Korba f1de69f10e
[#767] Modularize batch of features Vol IV (#770)
Following features have been modularized:
- Home
- Root
2023-06-09 10:29:01 +02:00
Lukas Korba 896f4532a1
[#766] Modularize batch of leaf features Vol III (#768)
Following features have been modularized:
- OnboardingFlow
- ImportWallet
- SendFlow
- Sandbox
- crashReporter TODO added
2023-06-08 14:13:36 +02:00
Lukas Korba 0d5904e30c
[#764] Modularize batch of leaf features Vol II (#765)
Following features have been modularized:
- BalanceBreakdown
- WalletEventsFlow
- Scan
- ExportLogs
- Settings
- AlertState generic type cleanup
- crashReported TODO added
2023-06-08 09:37:05 +02:00
Lukas Korba 9b77a57a5f
[#757] Modularize batch of leaf features Vol I (#760)
Following features have been modularized:
- AddressDetails
- RecoveryPhraseDisplay
- Welcome
- Profile
2023-06-01 10:11:37 -04:00
Lukas Korba 561ccc0689
[#750] Batch of Dependency Packages Vol IV (#756)
Last 4 dependencies modularized

- URIParser
- UserPreferencesStorage
- WalletConfigProvider
- WalletStorage
2023-06-01 16:05:35 +02:00
Lukas Korba e2502075e0
[#754] Structure for modules (#755)
- the modules are now in folders
2023-05-31 09:49:37 +02:00
Lukas Korba dbc6316766
[#749] Batch of Dependency Packages Vol III (#751)
Finished modules for:

RecoveryPhraseRandomizer
RecoveryPhraseValidationFlow
ReviewRequest
SDKSynchronizer
SecItem
SupportDataGenerator
ZcashSDKEnvironment
UserDefaults
2023-05-31 08:29:32 +02:00
Lukas Korba 7e9f8c3170
[#746] Batch of Dependency Packages Vol II (#748)
Finished modules for:
- DiskSpaceChecker
- FeedbackGenerator
- LocalAuthentication
- LogsHandler
- Mnemonic
- NumberFormatter
- Pasteboard
2023-05-30 22:33:56 +02:00
Lukas Korba c8546376db
[#744] Batch of Dependency Packages Vol I (#745)
Finished modules for:
- AudioServices
- Capturedevice
- DatabaseFiles + FileManager
- Deeplink
- DerivationTool
- Utils: NumberFormatter+zcash, String, URL+Empty
2023-05-29 14:38:53 +02:00
Lukas Korba 7ed4d1bfcf
[#739] AppVersion Dependency Package (#742)
- AppVersion dependency moved to a separate package
2023-05-29 08:28:36 +02:00
Lukas Korba 7b7ef3b087
[#738] Date Dependency Package (#741)
- Date dependency moved to a separate package
2023-05-26 13:30:01 +02:00
Lukas Korba 04d4c363d4
[#735] Setup swift package (#740)
- project updated to hold package for future modularization
2023-05-26 12:59:36 +02:00