Commit Graph

35 Commits

Author SHA1 Message Date
Lukas Korba 4918bd610c UserMetadata functionality done
- The UM data load/store logic done
- The UM data reset logic done
- Simple remote backup system and restore from backup implemented
2025-02-24 15:10:44 +01:00
Lukas Korba bd456cec80 Shared states for transactions and memos
- The logic around transactions have been fully refactored. The data are held by shared state only as a one source of truth
- The same idea has been done for on demand loaded memos
- The TransactionState is no longer required to be updated or copied because it doesn't carry any data and it's only an enriched version of ZcashTransaction.Overview for Zashi purposes
2025-02-17 12:50:03 +01:00
Lukas Korba ebcbd04e18 UserMetadataProvider
- UserMetadataProvider prepared and connected to the Zashi's bookmarking and annotations
2025-02-17 12:50:03 +01:00
Lukas Korba 67576e5e53 Bunch of tweaks, enhancements and fixes
- focus on polishing details
- bookmarking (in memory data atm)
- add a note (in memory atm)
2025-02-17 12:50:03 +01:00
Lukas Korba 6454c5a7bf Stack navigations for all possible paths
- The code cleanup done, important for the maintenance of the new approach of transaction history
- Stack navigations for both possible path (detail from the home page directly or from the new manager screen with filters)
2025-02-17 12:47:36 +01:00
Lukas Korba 00f60bac9c Empty and home page history redesigned
- The empty state redesigned
- The up to 5 transactions state has been implemented with see all option
2025-02-17 12:47:36 +01:00
Lukas Korba 9f2915c0f3 Details finished
- the regular functionality for the details is done except bookmarking and adding a notes (brand new features)
2025-02-17 12:47:36 +01:00
Lukas Korba 39344f6e0f TransactionDetails screen
- Created and connected the new screen for the transaction details
- WIP UI inside of it
2025-02-17 12:47:36 +01:00
Lukas Korba 456d138797 TCA 1.17.1 migration 2025-01-10 12:45:53 +01:00
Lukas Korba 9c249a027d Shielding flow and API update
- the flow for sending has been updated to shielding texts - locallized
- API of the synchronizer adopted and updated
2024-12-16 13:13:03 +01:00
Lukas Korba d2ca2d0619 Address book zashi only
- AB is Zashi only
- RobotoMono font for the addresses
2024-12-11 11:01:13 +01:00
Lukas Korba 3a5660183a deriveUnifiedAddressFromUfvk adoption
- Plus very first connection between KS and Zashi confirmed and tested
- transaction history now filters based on UUID
2024-12-10 13:08:21 +01:00
Lukas Korba 7ad3073c65 FFI adoption
- AccountUUID fully adopted
- importAccount by ufvk implemented
- texts localized
2024-12-10 09:12:29 +01:00
Lukas Korba 69368cf088 Zip32AccountIndex adoption 2024-11-26 08:35:44 +01:00
Lukas Korba ce7059a6cc SDK Account adoption
- accountIndex is not used anymore, refactored to SDK's Account
- shared state used so there is only 1 source of truth for the account
- The key for the chacged ABKeys is an Int, this could be a problem in the future
- Zip32Account addopted
2024-11-26 08:35:44 +01:00
Lukas Korba f8df7b01ac Final cleanup and feedback resolution
- data -> plainData refactor
- syncContacs improved
- code cleaned up
2024-11-18 12:23:34 +01:00
Lukas Korba 206ce8262a Remote error handling and byte alignment resolved
- All AddressBookClient operations have been updated to return a remote store result
- Undefined Behaviour resolved for byte load operation
- Typos fixed
2024-11-18 12:23:34 +01:00
Lukas Korba 9b10d3a939 Resolution of review comments
- All blocking comments from the PR have been resolved
2024-11-18 12:23:34 +01:00
Lukas Korba b508c38cb9 Fixes and improvements
- bugfix after testing
- sending json for the light/dark mode
- hola for the spanish HI

FFI-preview

- code cleaned up
- FFI bumped up
2024-11-18 12:23:34 +01:00
Lukas Korba 9083920202 [#1377] Add UA to memo
- Checkbox for the UA being included to the memo implemented

[#1377] Add UA to memo

- Select text made as a separate and independent feature with final design and its own feature flag

[#1377] Add UA to memo

- design modified to encapsulate in a rounded background even the memoBytes label

[#1377] Add UA to memo

- Changelog updated
2024-11-11 14:36:24 +01:00
Lukas Korba a85c749cc7 [#1363] Binary address book serialization
- Local storage for address book is now primary source of data
- Remote storage for address book is used as a backup, syncing is prepared and merge strategy is WIP
- The data serialization/deserialization is prepared, no encryption in place
- The data are versioned and checked
- lastUpdated data are stored as well
- Keychain stores a struct for encryption, in case there is more than just 1 key

[#1363] Binary address book serialization

- Subject cleanup

[#1363] Binary address book serialization

- padding of the currency field fixed
2024-10-03 18:29:34 +02:00
Lukas Korba 8b0791d86b [#1341] remote storage for address book
- iCloud support implemented for the address book storage
- The dependency is prepared for encryption
2024-09-27 13:44:14 +02:00
Lukas Korba 3e704537ad [#1341] add address book feature
- Initial screens for the feature done

[#1341] add address book feature

- partially redesigned to final designs
- edit updated to work without swipe over the contact

[#1341] add address book feature

- Package.resolved updated

[#1341] add address book feature

- Package.resolved update

[#1341] add address book feature

- ZashiButton component done
- Latest design for some screens
- Send screen facelift

[#1341] add address book feature

- Scan view redesigned
- Tweaks of layouts, error handlings for the fields, etc.

[#1341] add address book feature

- Another batch of tweaks and finalizations for Address Book

[#1341] add address book feature

- AddressBook finished, testing starts
- New Zashi internal target added to distribute the app

[#1341] add address book feature

- package update

[#1341] add address book feature

- Testing & Debugging
- fix: card for add new address is always visible
- fix: done button associated with the keyboard is now fully custom solution
- fix: memo field broken input

[#1341] add address book feature

- modifier for the fonts and styles

[#1341] add address book feature

- Modifier for the screen horizontal padding

[#1341] add address book feature

- All Address book texts localized

[#1341] add address book feature

- Archivo removed from the project and all instances replaced with Inter

[#1341] add address book feature

- All images refactored to use DesignSystem's modifiers

[#1341] add address book feature

- fixes + design system refactors
- transaction history revamp

[#1341] add address book feature

- Package.resolve update

[#1341] add address book feature

- Scan screen redesigned

[#1341] add address book feature

- QR code scan navigation fixed

[#1341] add address book feature

- ZashiButton tap area fix
- Auto-focuses in Add New Contact implemented

[#1341] add address book feature

- ScanView design tweaks
- Address is not in address book redesigned to hint that dismisses automatically after 3s

[#1341] add address book feature

- zImage

[#1341] add address book feature

- build fixes
2024-09-27 08:18:48 +02:00
Lukas Korba 73faf21d22 [#1313] Missing memo in transaction history
- Changelog updated.
- Fixes for memos in the history, a yellow icon is back again and memos aren't unexpectedly missing or disappearing.
2024-07-02 13:10:16 +02:00
Lukas Korba 858974b963 [#1305] Upgrade TransactionListReducer to the latest TCA
- TransactionListReducer has been refactored to @Reducer TransactionList
2024-06-20 12:35:42 +02:00
Lukas Korba 2366a62f43 [#1288] Detect unavailable service and show a dialog
- draft

[#1288] Detect unavailable service and show a dialog

- cleanup

[#1288] Detect unavailable service and show a dialog

- changelog updated

[#1288] Detect unavailable service and show a dialog

- localizations added to the strings file

[#1288] Detect unavailable service and show a dialog

- Restoring badge has been completely redesigned to be a universal wallet status panel
- 3 possible states at the moment: none, restoring and disconnected
- Disconnected state is now tight to the wallet status disconnected, rendered over restoring if needed

[#1288] Detect unavailable service and show a dialog

- changelog updated

[#1288] Detect unavailable service and show a dialog

- code cleanup
- package resolved updated

[#1288] Detect unavailable service and show a dialog (#1289)

- show the dialog only with the transition from any state to disconnected one

[#1288] Detect unavailable service and show a dialog (#1289)

- cleanup

[#1288] Detect unavailable service and show a dialog (#1289)

- latest copy

[#1288] Detect unavailable service and show a dialog (#1289)

- Fixed the case when Zashi's server is down while attempting to recover wallet from a seed
2024-06-05 21:10:19 +02:00
Lukas Korba 8ded02ac19 [#1286] Speed up transations list load
- Deduplication of memos implemented
- On-demand load of memos implemented
- Starting pipeline optimized to use HI screen for a short of time and initiate load of transactions during it

[#1286] Speed up transations list load

- SDK version bumped up to 2.1.8

[#1286] Speed up transations list load

- cleanup
2024-05-30 13:52:49 +02:00
Lukas Korba 5948947288 [#1141] Bugfix batch
- The no transactions list has been disabled to not scroll
- The sync bar % was canceled on Balanced before it could gather data, the problem is about cancelation IDs not being unique, I updated all effect handles to be UUIDs
- Balances tab was rendering spendable balance instead of total balance
2024-03-18 14:02:02 +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 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
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 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