Commit Graph

33 Commits

Author SHA1 Message Date
Lukas Korba 8081ab7478 Fixes for the feedback 2025-04-22 16:22:12 +02:00
Lukas Korba fbe119040a Code cleaned up
- This is massive cleanup of all commented code from iOS 16 navigation changes
- A few fixes along the way
2025-04-19 09:47:02 +02:00
Lukas Korba 6fdeb8d553 Balances sheet and TOR connection
- SDK bumped to version with TOR connection used
- Balances sheet with spendable component implemented
2025-04-17 08:33:00 +02:00
Lukas Korba fcfca57eed Send flows WIP, mostly done 2025-04-17 08:27:52 +02:00
Lukas Korba f2ab4c85c9 Final metadata encryption keys code & fixes 2025-03-03 10:57:35 +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 9f9683358d Texts localized 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 15d929af3e Time periods
- the list of transactions is now divided into time periods
- ability to hide balances in the transactions and the detail of a transaction
2025-02-17 12:48:29 +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 d10c8c0a93 BUG: Appearance colors when mode changed
- The determination of what color is used i now handled by SwiftUI's colorScheme instead of a trait
2025-01-10 12:44:39 +01:00
Lukas Korba 10bbab6661 [#1379] Improve the logic for displaying the shield icon in the Transaction History
- A shield icon is no longer presented for received transactions to a transparent pool.
2024-10-19 13:01:32 +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 cbad754a0b [#937] Shielded transaction UI
- The TransactionState has been extended to handle shielding
- The UI for the transaction row has been extended to handle right states for all types of transactions, newly for shielding, shielded and shielding failed

[#937] Shielded transaction UI

- Rebased and updated to the latest API

[#937] Shielded transaction UI

- WIP

[#937] Shielded transaction UI

- Shileding UI updated to show amount the same way as sent/received
- Shielding UI updated to show ID

[#1337] update UI of the Settings and Advanced Settings screens

- settings WIP

[#1337] update UI of the Settings and Advanced Settings screens

- Changelog updated
- Design is finalized for both Settings and Advanced Settings

[#1337] update UI of the Settings and Advanced Settings screens

- Package.resolved fixes

[#1337] update UI of the Settings and Advanced Settings screens

- Cleanup after rebase

[#1337] update UI of the Settings and Advanced Settings screens

- Header fixes

server-checks

- implemented POC for server check in Zashi, adopted SDK with the feature

[#1237] Choose the best server by testing responses from multiple server hosts

- Logic has been updated to deliver all requirements
- UI has been upgraded to reflect latest and new design

[#1237] Choose the best server by testing responses from multiple server hosts

- inverted tint if needed implemented for the progress view

[#1237] Choose the best server by testing responses from multiple server hosts

- Rebased

[#937] Shielded transaction UI

- The TransactionState has been extended to handle shielding
- The UI for the transaction row has been extended to handle right states for all types of transactions, newly for shielding, shielded and shielding failed

[#937] Shielded transaction UI

- Rebased and updated to the latest API

[#937] Shielded transaction UI

- WIP

[#937] Shielded transaction UI

- Shileding UI updated to show amount the same way as sent/received
- Shielding UI updated to show ID

[#1337] update UI of the Settings and Advanced Settings screens

- settings WIP

[#1337] update UI of the Settings and Advanced Settings screens

- Changelog updated
- Design is finalized for both Settings and Advanced Settings

design-system

- POC done
- All Colors added/implemented
- first set of variables implemented

design-system

- Color names made unique
- CurrencyConversion screen refactored to use new design system colors
- Currency conversion colors removed from the catalogue

design-system

- Variables made for the Utilities (all of them are missing aliases in Figma so it's just prepared except a few I updated myself)
- ServerSwitch refactored to use design system
- error and primary tint updated to use design system

design-system

- Utility variables finished
- Server switch refactored to the latest design system variables

[#937] Shielded transaction UI

- The TransactionState has been extended to handle shielding
- The UI for the transaction row has been extended to handle right states for all types of transactions, newly for shielding, shielded and shielding failed

[#937] Shielded transaction UI

- Rebased and updated to the latest API

[#937] Shielded transaction UI

- WIP

[#937] Shielded transaction UI

- Shileding UI updated to show amount the same way as sent/received
- Shielding UI updated to show ID

[#1337] update UI of the Settings and Advanced Settings screens

- settings WIP

[#1337] update UI of the Settings and Advanced Settings screens

- Changelog updated
- Design is finalized for both Settings and Advanced Settings

[#1337] update UI of the Settings and Advanced Settings screens

- Package.resolved fixes

[#1337] update UI of the Settings and Advanced Settings screens

- Cleanup after rebase

[#1337] update UI of the Settings and Advanced Settings screens

- Header fixes

[#1337] update UI of the Settings and Advanced Settings screens

- settings WIP

[#1337] update UI of the Settings and Advanced Settings screens

- Changelog updated
- Design is finalized for both Settings and Advanced Settings

[#1337] update UI of the Settings and Advanced Settings screens

- Package.resolved fixes

[#1337] update UI of the Settings and Advanced Settings screens

- Cleanup after rebase

[#1337] update UI of the Settings and Advanced Settings screens

- Header fixes

design-system

- versions bumped up

Revert "[#937] Shielded transaction UI"

This reverts commit 6e50461c88165b581111f7af89a319a1125b5059.

design-system

- V2 colors removed
2024-09-09 09:49:19 +02:00
Lukas Korba 16d51ea716 [#937] Shielded transaction UI
- The TransactionState has been extended to handle shielding
- The UI for the transaction row has been extended to handle right states for all types of transactions, newly for shielding, shielded and shielding failed

[#937] Shielded transaction UI

- Rebased and updated to the latest API

[#937] Shielded transaction UI

- WIP

[#937] Shielded transaction UI

- Shileding UI updated to show amount the same way as sent/received
- Shielding UI updated to show ID

[#937] Shielded transaction UI

- Duplicated code is removed, happened probably due to some rebases

[#937] Shielded transaction UI

- Code cleanup
2024-09-09 09:12:26 +02:00
Lukas Korba 7f5404db14 [#1322] Unread messages stay unread
- Transactions marked as read are no longer rendered with a yellow icon.

[#1322] Unread messages stay unread

- The value of unread is determined by isMarkedAsRead

[#1322] Unread messages stay unread

- forgotten ! removed
2024-07-04 09:31:10 +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 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 ccf15f4c9f [#1235] When receiving a multi-output transaction all memos must be displayed
- Multi-text memos implemented
- changelog updated
2024-05-14 10:01:14 +02:00
Lukas Korba 7bbfde8133 [#1195] Transaction History: remove No message included in transaction copy from expanded transparent
- The "no message in the transaction" is no longer rendered for transparent Recipients
2024-04-16 16:38:11 +02:00
Lukas Korba 31d455f0ac [#1147] Handle nil transaction fees
- The transactions with nil fees show Typical Fee < 0.001
- When the fee is available, the value is used
- Tests fixed
2024-03-22 14:50:19 +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 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 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 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 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 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 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