Commit Graph

420 Commits

Author SHA1 Message Date
Lukas Korba 58c936f569 cleaned up the debug code 2025-01-10 12:44:39 +01:00
Lukas Korba 7df7a159b7 BUG: migration to a new device lets a user to fill the birthday 2025-01-10 12:44:39 +01:00
Lukas Korba abc9446ed0 BUG: report button doesn't do anything when a native mail client is not set up 2025-01-10 12:44:39 +01:00
Lukas Korba 6bbdf05abd BUG: broken seek of the cursor in the restore wallet inputs 2025-01-10 12:44:39 +01:00
Lukas Korba f105a1adf4 BUG: Send button on a send feedback screen can't be reached on a smaller screens 2025-01-10 12:44:39 +01:00
Lukas Korba 0f174f35c3 BUG: don't show the selected account among accounts in Address Book 2025-01-10 12:44:39 +01:00
Lukas Korba 38c01f4234 BUGs: reset Zashi now properly clears out accounts
FIXED:
- When KS was selected and Zashi reseted, the next restored wallet showed KS account even though none was added
- Addresses were cached when reset Zashi happened so it was showing the same address over and over again
2025-01-10 12:44:39 +01:00
Lukas Korba a57b370be8 BUG: Balances tab's duplicated status bar removed 2025-01-10 12:44:39 +01:00
Lukas Korba 96b95ba36d BUG: info text on a balance screen is no longer truncated 2025-01-10 12:44:39 +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 ab9fe03a50 SDK 2.2.8 adopted
- version bumped
2025-01-10 12:42:50 +01:00
Lukas Korba b3b4c72199 Release 1.3.1
- changelog updated
- dataMismatch error fix by resetting the pczts
- debug messages for debug builds
2025-01-06 09:48:25 +01:00
Lukas Korba 202dea24bb Finalization of code for Keystone 2024-12-18 11:22:44 +01:00
Lukas Korba cd9c5bfc75 Code cleanup and preparation for the PR 2024-12-16 14:04:07 +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 c4f854d720 Final design Vol 1
- This is supposed to be final design changes, according to 2024-1-03 state
2024-12-03 14:43:25 +01:00
Lukas Korba 23117d9ae9 WalletAccount UA
- The address string for the UI must be taken somewhere, the ideal source of truth is the account itself. The flow here is to load list of accounts without addresses ("") and fill it in later. Due to the nature of bindings in UI, it will reflect it.
2024-12-03 09:57:03 +01:00
Lukas Korba fce793f6ca Multi-account Send flow
- The Send has been extended to split paths during review & confirmation into regular Zashi path and HW path
- Stacked flow for the KS sign signature done
2024-11-29 13:20:23 +01:00
Lukas Korba 20d7660a25 Receive tab multi-account support
- Receive tab has been extended to support HW wallet accounts
- QR code generator and logos have been updated to support multi-account
2024-11-29 10:56:59 +01:00
Lukas Korba 1cebbe5a8e Internal buil 0.4.6-2
- Internal build release for the testing purposes
2024-11-28 14:00:08 +01:00
Lukas Korba 407c9c69be Multi-account address book design
- Support for multi-account has been implemented for Address book
- Handling of all possible states and scenarios (empty AB, 1 vs. many wallet acounts, from Send form vs. from Settings) tested
2024-11-28 12:45:23 +01:00
Lukas Korba 09db171ed3 Add HW Wallet flow
- Deployment target bumped up to iOS 16
- Account switch navigation bar implemented
- Accounts sheet implemented
- Add Keystone HW wallet flow implemented
2024-11-28 09:41:57 +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 682b159c85 Animated QR scanner and player
- Ability to show & scan Animated QR code implemented
2024-11-26 08:35:44 +01:00
Lukas Korba 85dda11979 KS SDK bump
- KeystoneSDK bumped to 0.7.1, still doesn't compile
2024-11-26 08:35:44 +01:00
Lukas Korba 1d5d9a6407 Flexa 1.0.8
- Flexa bumped to 1.0.8
- Hotfix for the account hash
2024-11-26 07:48:18 +01:00
Lukas Korba 6aa8a93f9b Flexa 1.0.7
- Flexa version bumped to 1.0.7 and adopted
- Changelog updated
- What's new updated
2024-11-25 08:54:10 +01:00
Lukas Korba 9b054ae2ae secItemNotFound error handling
- Pacu reported issue during testing and it was a case I missed during the OSStatus error screen work, this is the fix
2024-11-22 15:09:30 +01:00
Lukas Korba 038f366be4 Finished design and localization
- The texts have been localized
- A few text changes done even outside work on the initial task
- Final design resolved
- Changelog updated
2024-11-20 19:19:14 +01:00
Lukas Korba eccaf2a99a [#1419] Status page for keychain read failure
- OSStatusError screen implemented, UI is WIP
- Navigation + detection done
- Mocked failure for now

[#1419] Status page for keychain read failure

- finished UI layout, waiting on ES translation
- added contact support button
2024-11-20 19:18:56 +01:00
Lukas Korba c8e76c4742 [#1406] Add disclaimer to the Integrations screen
- A disclaimer implemented for the Integrations screen
- Text localized to both EN and ES (final ES will be replaced before this PR is merged)
- CHangelog updated
2024-11-19 13:13:41 +01:00
Lukas Korba 9d75f1ae1e [#1284] Flexa
- Flexa tested and fixes implemented on our side
- SDK numerator/denominator fixes WIP

[#1284] Flexa

- Total vs. Available balance handling
- Fixed freeze of Zashi by wrapping Flexa code into Task
- Prints cleanup

[#1284] Flexa

- SDK reverted to 2.2.3

[#1284] Flexa

- rebased

[#1284] Flexa

- Initialization moved to the Integrations screen

[#1284] Flexa

- simple feature flaggins system implemented
- flexa is behind the feature flags, hidden in the production & testnet builds, available for internal builds

[#1284] Flexa

- flexa seek logo added to the integrations screen

[#1284] Flexa

- fixes

[#1284] Flexa

- versions bumped up

[#1284] Flexa

- versions cleanup

[#1284] Flexa

- live vs. test Flexa keys support

[#1284] Flexa

- Versions

[#1284] Flexa

- WIP

[#1284] Flexa

- disconnect a user after reset zashi

[#1284] Flexa

- ZEC logo in Flexa
- shielded balance instead of total balance

[#1284] Flexa

- code cleanup

[#1284] Flexa

- version bumped to 1.0.6
2024-11-19 09:34:09 +01:00
Lukas Korba b4147678ab [#1397] Release Zashi 1.2.3
- changelog updated
- Flexa icon changed from Optional to strong reference in FlexaSDK, updated the code to fallback to blank image if the ZEC logo is not found
2024-11-19 08:56:34 +01:00
Lukas Korba a73bb5fde1 Fixes after testing
- several fixes for the issues observed during testing
2024-11-18 12:25:18 +01:00
Lukas Korba dc62adb7df Cleanup & fixes
- The branch with AddressBook can be build and has the latest code
2024-11-18 12:23:34 +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 4459ab5211 Propagation of the correct version
- for the future changes, version is inherited
2024-11-18 12:23:34 +01:00
Lukas Korba 343d42cede Tweak of a code comment
- comment description improved
- resolved file updated
2024-11-18 12:23:34 +01:00
Lukas Korba 9ba2ec8929 Fixes of reported blockers
- latest comments resolved
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 e0c56e4424 Fix for the derive key
- The `encryption_key` info needed to be added so Android can decrypt the file
2024-11-18 12:23:34 +01:00
Lukas Korba c7c3c71e32 Encryption of the AddressBook by the agreed design
- Code cleaned up and refactored to clearly divide unencrypted from encrypted
- Migration of unencrypted AB data to the encrypted implemented
- Deletion of the unencrypted file implemented
- Filename for the address book data file derive method implemented
2024-11-18 12:23:34 +01:00
Lukas Korba 437e09d83e Migration and remote storage
- Migration from v1 to 2 implemented
- Remote storage activated
- Merge strategy implemented
- Zashi internal setup to use the same remote container
2024-11-18 12:23:34 +01:00
Jack Grigg 070a261da9 Implement AddressBook encryption 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 d9cc27cad0 [#1239] implement localization in Spanish
- WIP

[#1239] implement localization in Spanish

- project set up

[#1239] implement localization in Spanish

- code cleanup
- fixes after strings were provided
- what's new localized as well

[#1239] implement localization in Spanish

- Resolved issue with localizations

[#1239] implement localization in Spanish

- resolved file

[#1239] implement localization in Spanish

- Updated some texts based on the feedback
- fixed some UI issues

[#1239] implement localization in Spanish

- recovery phrase screen fixes

[#1239] implement localization in Spanish

- latest translations
2024-11-18 12:23:34 +01:00
Lukas Korba 9871a1ad61 [#1368] Update Settings flows UI
- About
- Private data export
- Reset Zashi
- What’s New
- Recovery Phrase

[#1373] update buttons across the app and remove the grid pattern

- Send feedback finished

[#1373] update buttons across the app and remove the grid pattern

- All settings screens localized

[#1373] update buttons across the app and remove the grid pattern

- Recovery phrase screen prepared for onboarding

[#1368] Update Settings flows UI

- changelog updated

[#1368] Update Settings flows UI

- SDK bumped up to 2.2.5

[#1368] Update Settings flows UI

- Zasji testnet version bumped up

[#1368] Update Settings flows UI

- Rebased

[#1368] Update Settings flows UI

- tooltip for the birthday added

[#1368] Update Settings flows UI

- spacing

[#1368] Update Settings flows UI

- regenerated cleanup
2024-11-18 12:23:34 +01:00
Lukas Korba 821976d068 [#1367] update UI of Not Enough Free Space status screen
- The screen has been redesigned

[#1367] update UI of Not Enough Free Space status screen

- changelog updated

[#1367] update UI of Not Enough Free Space status screen

- available MBs are in bold

[#1367] update UI of Not Enough Free Space status screen

- This state must avoid any interaction with the synchronizer, therefore some of the options in the settings has been eliminated
2024-11-18 12:23:34 +01:00
Lukas Korba 32a49809cd [#1284] Flexa
- Flexa tested and fixes implemented on our side
- SDK numerator/denominator fixes WIP

[#1284] Flexa

- Total vs. Available balance handling
- Fixed freeze of Zashi by wrapping Flexa code into Task
- Prints cleanup

[#1284] Flexa

- SDK reverted to 2.2.3

[#1284] Flexa

- rebased

[#1284] Flexa

- Initialization moved to the Integrations screen

[#1284] Flexa

- simple feature flaggins system implemented
- flexa is behind the feature flags, hidden in the production & testnet builds, available for internal builds

[#1284] Flexa

- flexa seek logo added to the integrations screen

[#1284] Flexa

- fixes

[#1284] Flexa

- versions bumped up

[#1284] Flexa

- versions cleanup

[#1284] Flexa

- live vs. test Flexa keys support

[#1284] Flexa

- Versions

[#1284] Flexa

- WIP

[#1284] Flexa

- disconnect a user after reset zashi

[#1284] Flexa

- ZEC logo in Flexa
- shielded balance instead of total balance

[#1284] Flexa

- code cleanup
2024-11-12 10:44:18 +01:00
Lukas Korba 5b8b5f0d62
Merge pull request #1402 from LukasKorba/1401-Rescan-in-Zashi-broken-button
[#1401] Rescan in Zashi broken button
2024-11-12 10:41:26 +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 70feb346af [#1401] Rescan in Zashi broken button
- The navigation to the scanner is no longer blocked
- Changelog updated
2024-11-08 15:04:12 +01:00
Lukas Korba 070f9949d3 [#1390] Send flow with success and error screens
- random illustrations for failed screens
- close failure screen returns a user back to the confirmation screen
- report button sharing failure data + device info
- auto expand the latest transaction when view transaction button is tapped

[#1390] Send flow with success and error screens

- build fixed
2024-11-08 13:21:05 +01:00
Lukas Korba 17542b2877 [#1390] Send flow with success and error screens
- Send flow enhanced to go through sending screen followed by some of the result screens

[#1390] Send flow with success and error screens

- Ilustrations are now randomly picked
- refactor of nuke wallet -> reset zashi
- Flexa account is closed when reset zashi is used
- Resubmission error handling
2024-11-04 21:44:54 +01:00
Lukas Korba 3fe494af05
Merge pull request #1389 from LukasKorba/feature_flags_per_config
feature_flags_per_config
2024-10-24 18:19:14 +02:00
Lukas Korba aedf3503af feature_flags_per_config
- Feature flags are now initialized following specific build configs
2024-10-24 17:39:07 +02:00
Lukas Korba 3dc907ffa4 flashlight_fix
flashlight_fix

- changelog updated
2024-10-24 11:33:07 +02:00
Lukas Korba b1e790c49e warnings-cleanup
- The Zashi project finally cleaned up and addressed all warnings, as a result, build of the project has a 0 warnings
2024-10-23 19:40:53 +02:00
Lukas Korba a7cd5d327f Release 1.2.2 fixes
- Address book alias reset fix
- Request zec send navigation dismissal fix
- Feature flagging for the production build fixed
- changelog updated
2024-10-23 12:50:29 +02: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 60ec66ee91 [#1375] App launch protected by device authentication method
- authentication added to the app start pipeline
- it's triggered for all fresh app launches
- it's required after 15minutes after cold starts
- recognizes available auth method and reflects it in the UI

[#1375] App launch protected by device authentication method

- final UI for the re-authenticate

[#1375] App launch protected by device authentication method

- Changelog updated
- Texts localized
2024-10-17 20:44:32 +02:00
Lukas Korba 0a603b0dad [#1284] Flexa
- Flexa tested and fixes implemented on our side
- SDK numerator/denominator fixes WIP

[#1284] Flexa

- Total vs. Available balance handling
- Fixed freeze of Zashi by wrapping Flexa code into Task
- Prints cleanup

[#1284] Flexa

- SDK reverted to 2.2.3

[#1284] Flexa

- rebased

[#1284] Flexa

- Initialization moved to the Integrations screen

[#1284] Flexa

- simple feature flaggins system implemented
- flexa is behind the feature flags, hidden in the production & testnet builds, available for internal builds

[#1284] Flexa

- flexa seek logo added to the integrations screen

[#1284] Flexa

- fixes
2024-10-15 20:28:30 +02:00
Lukas Korba acdba147b4 [#1362] Release 1-2-1 preview
- The scan qr for some cameras returned several QR codes found, this needed to be handled

[#1362] Release 1-2-1 preview

- All texts localized
2024-10-10 07:54:05 +02:00
Lukas Korba 97a6be05fc [#1370] Appstore 1.2.1 submission fixes
- Flexa deactivated for now
- iCloud deactivated for now
- Coinbase logo added to the settings screen
- Zashi Testnet target and builds integrated into the project

[#1370] Appstore 1.2.1 submission fixes

- latest FFI

[#1370] Appstore 1.2.1 submission fixes

- Latest fixes and improvements
2024-10-08 08:57:14 +02:00
Lukas Korba e5a1bab10d [#1366] Grid pattern and buttons design update
- Design cleanup, all obsolete buttons have been updated to the new design
- Backgrounds with grid pattern have been removed
- Paddings and borders haven been updated as well so it matches new design

[#1366] Grid pattern and buttons design update

- Added branded colours
- Created base for the branded gradient background
2024-10-05 10:37:55 +02: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 510b4c054d [#1358] build Request ZEC flow
- zip321 payment uri is generated in a form or a QR code, can be shared or terminated

[#1358] build Request ZEC flow

- code clean up

[#1358] build Request ZEC flow

- ZecKeyboard fixes or reported issues
- REQUEST title for the whole screen fix
- Padding wixes in the request zec flow

[#1358] build Request ZEC flow

- Consumer part of the request zec implemented
- The code is scanned and dedicated confirmation screen is shown
- When system camera is used, the blocking view is shown
- zcash: scheme activated for Zashi

[#1358] build Request ZEC flow

- The code is finished for the request zec (both generate & scan) except localized texts (it'll be done in a separate PR)

[#1358] build Request ZEC flow

- final UI touches
2024-10-03 17:55:51 +02:00
Lukas Korba 686d48224e [#1352] update Receive screen UI and build additional components
- zip316 compliance extension (first 20 chars of an address)
- Receive tab fully redesigned
- Toast implemented and used for the copy to the clipboard

[#1352] update Receive screen UI and build additional components

- Added a flow for the Address details with options to share or copy an address
- tap gestures for the address label to expand, collapse and long press for the copy to the clipboard
- the QR code is loaded asynchronously so the UI is as smooth as possible

[#1352] update Receive screen UI and build additional components

- bcg padding fixed

[#1352] update Receive screen UI and build additional components

- Request zec flow WIP
- Custom input keyboard screen, done in a modular way
- Custom stack view navigation so request zec flow can be made with independent reducers

[#1352] update Receive screen UI and build additional components

- QRCode overlay renderer, used to show the ZEC logo inside the QR code

[#1352] update Receive screen UI and build additional components

- ZecKeyboard fully localized, the currencies respect system's settings
- Group separators used in a renderer to help users read the values
- Btn designs updated

[#1352] update Receive screen UI and build additional components

- QR code color inversion on tap implemented
- Request zec flow extended to have a screen where a memo (a reason for request) can be filled in

[#1352] update Receive screen UI and build additional components

- ZecKeyboard redesigned

[#1352] update Receive screen UI and build additional components

- Archivo font resolution
2024-09-27 15:24:00 +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 37c976499f [#1284] Flexa integration
- 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

tca-deprecation-resolution

- All reducers have been updated to use @Reducer macro
- All scopes have been updated to use \. case path
- All destinations have been updated to use new Bindings

tca-deprecation-resolution

- @DependencyClient macro used for all dependencies
- Unit tests fixed

shared-state

- POC

shared-state

- Exchange rate is now handled by TCA's shared state

shared-state

- Hide balances feature has been refactored using TCA's shared state
- It's no longer treated as "hide balances" but rather "hide sensitive data" because we will add a few more things to it besides balances in the near future
- Previous approach with Combine's subject and TCA's dependency have been removed from Zashi

[#1284] Flexa integration

- WIP

[#1284] Flexa integration

- Some progress, I'm able to create an account and pass the verification
- WIP: Dealing with no assets issue

[#1284] Flexa integration

- AccountId used for the start of Flexa

[#1284] Flexa integration

- onTransactionrequest connected to the TCA

[#1284] Flexa integration

- Version bumped to 1.0.1

[#1284] Flexa integration

- Rebased and updated for the latest design

[#1284] Flexa integration

- Settings remade to have a new navigational path for all Integrations, Flexa is among them

[#1284] Flexa integration

- SettingsRow supports a description if needed

[#1284] Flexa integration

- WalletStatus updated to be handled by TCA's Shared state so it can be used to determine when Flexa is available and when it's not

[#1284] Flexa integration

- Handling of restoring status in the integrations

[#1284] Flexa integration

- Payment flow finalized, testing the functionality, cleanup needed

[#1284] Flexa integration

- code cleanup after rebase

[#1284] Flexa integration

- Code cleanup

[#1284] Flexa integration

- Flexa key handled by PartnerKeys

[#1284] Flexa integration

- Accountid generated only once until Zashi is deleted

[#1284] Flexa integration

- Package.resolved

[#1284] Flexa integration

- Version bumped up to 1.0.2
- Total balance ditched and replaced with available balance
- Start of the Flexa uses the latest known balance
2024-09-26 14:10:02 +02:00
Lukas Korba 9fe249ee1b [#1360] Shared state is broken on older ios versions
- Fixes for iOS 16 and older
2024-09-26 12:08:17 +02:00
Lukas Korba 157d02d580 [#1356] Restore info navigation is broken
- Navigation in restore flow fixed
- Another fix is for the scenario when somebody during restore deleted Zashi and then started a new wallet, the restoring state and badge have been reseted for such case
2024-09-17 13:37:43 +02:00
Lukas Korba 85e22226f2 server-switch-aliases
- The custom server colors have been updated to use Design system
2024-09-11 08:33:18 +02:00
Lukas Korba 006b57fff7 shared-state
- 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

tca-deprecation-resolution

- All reducers have been updated to use @Reducer macro
- All scopes have been updated to use \. case path
- All destinations have been updated to use new Bindings

tca-deprecation-resolution

- @DependencyClient macro used for all dependencies
- Unit tests fixed

shared-state

- POC

shared-state

- Exchange rate is now handled by TCA's shared state

shared-state

- Hide balances feature has been refactored using TCA's shared state
- It's no longer treated as "hide balances" but rather "hide sensitive data" because we will add a few more things to it besides balances in the near future
- Previous approach with Combine's subject and TCA's dependency have been removed from Zashi

shared-state

- removed unused file

shared-state

- code cleanup

shared-state

- code cleanup

shared-state

- build fixed
2024-09-09 11:35:31 +02:00
Lukas Korba 8a760bdc99 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

tca-deprecation-resolution

- All reducers have been updated to use @Reducer macro
- All scopes have been updated to use \. case path
- All destinations have been updated to use new Bindings

tca-deprecation-resolution

- @DependencyClient macro used for all dependencies
- Unit tests fixed

tca-deprecation-update

- cleanup

tca-navigation-update

- cleanup of : Reducer

tca-navigation-update

- code cleanup
2024-09-09 10:22:11 +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 fc104ba4ee [#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
2024-09-09 09:22:41 +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 eabdd22634 opt-in-out-solution
- Flow, logic and navigation fully done
- next: sinal UI

opt-in-out-solution

- Design finalized
- Texts localized
- All functionality and flow implemented
2024-09-09 09:12:26 +02:00
Lukas Korba c9bfeb5419 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

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

- SDK updated to 2.2.2

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

- Update the public API
2024-09-06 12:17:43 +02:00
Lukas Korba 5eac6409de [#1338] Release 1.1.5-1
- Changelog updated
- SDK version bumped to 2.2.1
- Project setup updated to 1.1.5-1
2024-08-23 08:46:36 +02:00
Lukas Korba 49bfa766eb [#1335] Release 1.1.4-5
- Layout of the Currency Conversion Card fixed for smaller screens
- Done button associated with the keyboard dismisses it for rate and memo fields as well
- Adopted SDK 2.2.1 with migration of the database fixes
- Changelog updated
2024-08-22 09:00:14 +02:00
Lukas Korba c47259bfd9 opt-in-out-solution
- Flow, logic and navigation fully done
- next: sinal UI

opt-in-out-solution

- Design finalized
- Texts localized
- All functionality and flow implemented

opt-in-out-solution

- Final design and behaviour
- Several fixes of positions & offset
- The currency conversion field is hidden when the feature is opt-out

opt-in-out-solution

- Final colors for the tooltip for both light and dark themes

opt-in-out-solution

- Final fixes and testing
2024-08-21 09:46:40 +02:00
Lukas Korba 11746dfbfe [#1238] display USD value in addition to ZEC value in the app UI
- WalletBalances now can handle currency conversion with respect to the system's locale settings

[#1238] display USD value in addition to ZEC value in the app UI

- WIP
- the input fields have been completely reworked

[#1238] display USD value in addition to ZEC value in the app UI

- QR scan button is back in the address field

[#1238] display USD value in addition to ZEC value in the app UI

- Prefix views for the inputs implemented
- Titles for the inputs implemented
- Error messages for the inputs implemented

- Hide balances support
- Send Confirmation enhancements

[#1238] display USD value in addition to ZEC value in the app UI

- Confirmation screen shows the currency value defined in the Send screen

[#1238] display USD value in addition to ZEC value in the app UI

- Exchange rate design implemented
- Custom tooltip implemented and used for cases when the rate is not available or stale

[#1238] display USD value in addition to ZEC value in the app UI

- cleanup and last fixes
2024-08-07 09:56:07 +02:00
Lukas Korba 9da5b6ad5d [#1283] Coinbase On-Ramp Integration
- In-app browser view implemented
- Concept of PartnerKeys implemented and ignored from git
- Coinbase Onramp URL generated and presented in the new in-app broser

[#1283] Coinbase On-Ramp Integration

- Code cleaned up
- Changelog updated
- Project updated to generate PartnerKeys.plist if missing

[#1283] Coinbase On-Ramp Integration

- Final copy for the buy zec button

[#1283] Coinbase On-Ramp Integration

- Official Coinbase logo used in the button
- Project bumped up to version's build 5
2024-07-10 15:37:20 -07: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 9a9dece4a1 [#1320] Adopt SDK with syncing fix
- SDK version set to 2.1.12 with syncing fix.
- Changelog updated.
2024-07-04 09:02:31 +02:00
Lukas Korba a62759ffcd [#1315] Adopt tx resubmission in SDK 2.1.11
- SDK version bumped up to 2.1.11
- Changelog updated
2024-07-03 15:13:33 +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 edc8b5a09a [#1308] Upgrade ExportLogsReducer to the latest TCA
- ExportLogsReducer has been refactored to @Reducer ExportLogs
2024-06-21 10:42:53 +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 7139a8ef09 [1304] Upgrade HomeReducer to the latest TCA
- HomeReducer has been refactored to @Reducer Home
2024-06-20 10:26:16 +02:00
Lukas Korba 6e07c064d3 [#1302] Upgrade RootReducer to the latest TCA
- Initial draft done

[#1302] Upgrade RootReducer to the latest TCA

- RootReducer has been refactored to the @Reducer Root
- All unit tests have been refactored as well

[#1302] Upgrade RootReducer to the latest TCA

- Code cleanup
2024-06-20 08:17:08 +02:00
Lukas Korba d444b0511b [#1272] Fix all broken unit tests
- Massive refactor and update of all unit tests that addresses work in past few months
2024-06-14 15:56:46 +02:00
Lukas Korba 93628eac46 [#1293] Dependencies update
- all dependencies have been bumped up to the latest versions
2024-06-14 15:54:59 +02:00
Lukas Korba 2f655c2633 [#1021] Do not let iPhone sleep while restoring
- Autolock handler dependency that watches state of the battery and determine plugged or unplugged state of the device
- When app is restoring and pluggedn it, it will no longer sleep

[#1021] Do not let iPhone sleep while restoring

- Final design for the screen
- Logic that prevents iPhone from sleeping while plugged-in and restoring
- Unit tests fixed
- Changelog updated
2024-06-11 13:21:50 +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 d72307e080 [#1290] Inform a user to plug in a device when restoring
- Changelog updated
- Screen with the syncing tips has been implemented
- The sync starts immediately after we know seed + BD (optional) and the view is just presented to inform users
2024-06-04 15:50:29 +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 3fb36406a3 [#1277] Send failed authentication minor bugs
- The reset form of send calls the right actions for the input fields to reset their local values as well
- When the biometric authentication fails the sending progress of buttons is reseted
2024-05-20 10:57:16 +02:00
Lukas Korba b1d6ecf695
Merge pull request #1273 from LukasKorba/1233-changelog-screen-to-inform-users-about-changes-implemented-in-an-update
[#1233] Changelog screen to inform users about changes implemented in an update
2024-05-17 13:17:20 +02:00
Lukas Korba 8af0d785c7
Merge pull request #1271 from LukasKorba/1270-Synchronizer-error-in-the-alert-view
[#1270] Synchronizer error in the alert view
2024-05-17 13:17:08 +02:00
Lukas Korba 2e928e6ae5
Merge pull request #1269 from LukasKorba/1267--Adopt-sdk-with-shielding-crash-fix
[#1267] Adopt sdk with shielding crash fix
2024-05-17 13:16:57 +02:00
Lukas Korba 7a307bf592 1233-changelog screen to inform users about changes implemented in an update
- WIP

[#1233] changelog screen to inform users about changes implemented in an update

- About screen is now an independent feature with standalone reducer
- What's new feature implemented
- JSON structure defined for the what's new
- What's new provider implemented to read the json file
- Custom styling via attributed strings implemented

[#1233] changelog screen to inform users about changes implemented in an update

- Localization support implemented

[#1233] changelog screen to inform users about changes implemented in an update

- About view final design
- What's new final design
- JSON extended to cover all production version releases

[#1233] changelog screen to inform users about changes implemented in an update

- Code cleanup
2024-05-16 13:04:56 +02:00
Lukas Korba 0ad73b905d [#1270] Synchronizer error in the alert view
- Changelog updated
- SyncProgress reducer has been refactored to the latest TCA
- Progress label is tappable when an error occurs and shows an alert view with the details
2024-05-16 08:55:00 +02:00
Lukas Korba d54675069b [#1234] improve security and authentication requirements
- Biometric lock if available is used to protect seed, delete zashi and export private data
- Also protecting Send at the very last step, when tapping the send button

[#1234] improve security and authentication requirements (#1268)

- Changelog updated
2024-05-16 08:05:12 +02:00
Lukas Korba c1b373dcec [#1267] Adopt sdk with shielding crash fix
- Fixed the crash of shielding, the error message is presented instead
2024-05-15 10:18:05 +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 766213023a biometric--send
- WIP

biometric--send

- WIP

biometric--send

- The logic for navigation has been redesigned so confirmation screen is taken out of the tab-view navigation. That allowed to use iOS 15 and biometric lock and avoid SwiftUI navigation bug

biometric--send

- cleanup

biometric--send

- review comment resolved
2024-05-13 19:29:20 +02:00
Lukas Korba 0c4ab9ae56 [#1260] Tweak hide balances
- addressed comments and feedback, the send balances are hidden but not amounts
- the hide balances button is accessible on send screen
- shielding is disabled when balances are hidden
2024-05-09 09:07:29 +02:00
Lukas Korba ad523860ca [#1258] Share QR code lacks background
- Due to inconsistencies of different QR readers we revert the QR code to standardised coluors
2024-05-08 11:42:25 +02:00
Lukas Korba 1d7d5426d4 [#1254] Refresh balances immediately after send
- The balances are proactively refreshed immediately after send or shield proposals are processed
- I also noticed wrong color of disabled message box when sending to transparent address so it's been fixed in this PR as well

[#1254] Refresh balances immediately after send

- unit tests fixed
2024-05-07 13:52:27 +02:00
Lukas Korba 5ac25b2bbb
Merge pull request #1251 from LukasKorba/1250-Restrict-Hide-balances-to-Account-and-Balances-tabs-only
[#1250] Restrict Hide balances to Account and Balances tabs only
2024-05-07 07:54:29 +02:00
Lukas Korba 89e5afc30e [#1252] Some views hide balances that is supposed to be visible
- fixes for some Balances (views) that must stay always visible even though the hide balances is turned on
2024-05-06 20:03:39 +02:00
Lukas Korba 8a2694ed41 [#1250] Restrict Hide balances to Account and Balances tabs only
- The hide balances feature is supposed to be on Account and Balances tabs only so I removed it from Send and Receive
2024-05-06 19:09:28 +02:00
Lukas Korba eaf0a6322c hide-balances
- New dependency broadcasting value of hide balances flag implemented
- Every Zatoshi representation decides whether is rendered as number value or hidden, respects the font size and colour
- Flag value is persisted for next app start

hide-balances

- localization added

hide-balances

- changes according to the final design

[#1232] Be able to hide my balances

- finalized

[#1232] Be able to hide my balances

- changelog updated

[#1232] Be able to hide my balances

- regenerated strings
2024-05-06 19:02:05 +02:00
Lukas Korba 55283ffa1a receive-tab-tweaks
- The selection of the address has been added to the reducer
- UI renders only selected address in a scroll view
- AddressDetails Reducer has been refactored to the latest TCA

receive-tab-tweaks

- design finalized

receive-tab-tweaks

- colors finalized for dark mode

[#1230] improve Receive screen UI by adding a toggle for addresses

- receive tab finalized

[#1230] improve Receive screen UI by adding a toggle for addresses

- removed the forced dark mode

[#1230] improve Receive screen UI by adding a toggle for addresses

- changelog updated
2024-05-06 09:47:54 +02:00
Lukas Korba 02b479826e read-qr-code-from-image
- The ZashiImagePicker implemented that opens a library and reads an image from it
- QR code image detector implemented

read-qr-code-from-image

- QRImageDetector dependency implemented

read-qr-code-from-image

- Multiple codes detection + handling. For it's an error because more codes could result in wrong pick from user's point of view.

read-qr-code-from-image

- final design
2024-05-06 09:47:54 +02:00
Lukas Korba 156dde9678 hide-balances
- New dependency broadcasting value of hide balances flag implemented
- Every Zatoshi representation decides whether is rendered as number value or hidden, respects the font size and colour
- Flag value is persisted for next app start

hide-balances

- localization added

hide-balances

- changes according to the final design
2024-05-06 09:47:54 +02:00
Lukas Korba 8e26014364 dark-mode
- WIP

dark-mode

- inverted QR code colours support

dark-mode

- Custom background color for TextEditor

dark-mode

- Buttons resolved

dark-mode

- Buttons consolidated with the Figma design
- Scan view fix for the back button
- Placeholders for the inputs custom color solution implemented

dark-mode

- Dark mode enabled, controlled by the system settings

dark-mode

- last few fixes, feature is ready

dark-mode

- finished buttons and all answered questions

dark-mode

- fixed issue with QR code being black in dark mode
- caching generated QR code

dark-mode

- fix for the message box shape

dark-mode

- changelog updated

[#1054] Enable dark mode

- dark mode finalized

[#1054] Enable dark mode

- commented code cleaned up
2024-05-04 07:54:52 +02:00
Lukas Korba 534d246006 [#1228] I have saved it button title refactor
- changelog updated
- the button's title has been refactored

[#1228] I have saved it button title refactor (#1229)

- exclamation mark removed
2024-04-30 10:38:41 +02:00
Lukas Korba eb83de4d8d [#1223] Fallback missing server to custom field
- The version1 has been completely refactored and redesigned
- The custom server and term now supports localisation
- The list of servers is now network dependent, different for testnet vs. mainnet
- The selected server is now represented as Hashable and Codable struct ServerConfig that holds the host, port and isCustom flag
- Migration of version1 implemented that ensures to persist previous choice of a user and fills it in a custom field
- The UI dynamically ensured the host & port are at one line, not split to multiline label
- The persistency of a choice is now handled by UserPreferencesStorage, a dependency designed for user settings
- Tests fixed

[#1223] Fallback missing server to custom field (#1226)

- Servers are newly represented as enums allowing customization of naming and localization
2024-04-30 10:03:50 +02:00
Lukas Korba e5f5cbf31f [#1221] Scroll to selected server
- Automatically scroll to the selected server so even the one at the bottom of the list that is not visible will be scrolled to the visual area.
2024-04-30 10:03:50 +02:00
Lukas Korba d43990a7b1
Merge pull request #1222 from LukasKorba/1221-Scroll-to-selected-server
[#1221] Scroll to selected server
2024-04-30 10:02:34 +02:00
Lukas Korba 3c6ca1bde2 [#1221] Scroll to selected server
- Automatically scroll to the selected server so even the one at the bottom of the list that is not visible will be scrolled to the visual area.

[#1221] Scroll to selected server (#1222)

- named constant
2024-04-30 10:02:18 +02:00
Lukas Korba 2280e15a04 [#1224] Bug in Create a New Wallet flow
- The detection of pressed button needed to be extended to cover the case with SecurityWarning screen. I got it button is pressed in one of two possible scenarios and only one was handled.
2024-04-26 21:06:28 +02:00
Lukas Korba 55efc372dc [#1218] Add zec rocks servers
- WIP

[#1218] Add zec rocks servers

- UI tweaked, servers tested
2024-04-26 13:17:59 +02:00
Lukas Korba 6abf3bac93 [#1214] Add more servers to the list
- 8 more servers added to the list
- order of servers changed to show default as 1st, custom as 2nd
2024-04-24 17:42:57 +02:00
Michal Fousek ca35256417 Fix Archive in Xcode 15.3
Problem was in swift-custom-dump package. And it was fixed in this PR:
https://github.com/pointfreeco/swift-custom-dump/pull/108.
2024-04-20 10:03:51 +02:00
Lukas Korba 3b41b52dc1 [#1207] Pending changes are broken
- Pending values were removed with new WalletBalances component, I needed to restore those in order to work again.
2024-04-19 07:29:17 +02:00
Lukas Korba 34db837127 [#1199] Release 1.0.5
- Changelog updated
- SDK version bumped to the latest version
2024-04-17 14:50:10 +02:00
Lukas Korba 6a8b0d5b50 [#1202] View for covering Zashi prevents from seeing the seed
- The cover view is now an overlay instead of a switch to a different view
- The animation of the overlay needed to be removed so it's processed until the app is suspended
- The cover is now processed for background notification only, inactive has been removed to never show during system overlays like face ID, etc.
2024-04-17 14:16:29 +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 e883749f50
Merge pull request #1197 from LukasKorba/1193-Restore-update-the-copy-inside-the-input-field
[#1193] Restore: update the copy inside the input field
2024-04-16 16:36:37 +02:00
Lukas Korba 16d3499c30 [#1193] Restore: update the copy inside the input field
- The input field for the recovery phrase now shows the expected format in the placeholder.
2024-04-16 08:57:45 +02:00
Lukas Korba cd0fba7665 [#1194] Security Warning: make the text clickable as well to improve usability
- New ZashiToggle created to handle tap on the label as well
- All 3 system Toggles replaced with new one
2024-04-16 08:51:43 +02:00
Lukas Korba d46d0a4f94 [#1191] Refactor AdvancedSettingsReducer to latest TCA
- The reducer has been refactored
- The Bindings have been refactored to not use deprecated API
- View has been refactored to not rely on ViewStore
- Dependency version have been bumped up in order to use latest TCA
2024-04-15 16:09:39 +02:00
Lukas Korba 3d6ed24dd4 [#1189] Cleanup of unused translations
- All unused texts have been removed from the project
- Tests checked and fixed (missing dependencies)
2024-04-15 14:00:39 +02:00
Lukas Korba 375def846b
Merge pull request #1188 from LukasKorba/1185-Syncing-frame-in-progress-view
[#1185] Syncing frame in progress view
2024-04-12 15:40:55 +02:00
Lukas Korba 7b3d214531 [#1185] Syncing frame in progress view
- The syncing label's height has been unified so whatever state we render, the progress bar stays on the same position.
2024-04-12 15:33:15 +02:00
Lukas Korba c8454ccd9c [#1186] Resolve AppStore warnings
- One of the keys (for user defaults) has been wrongly named - fixed.

[#1186] Resolve AppStore warnings

- Fixed AppStore profile build-ability, the dependency in modules was missing
2024-04-12 15:16:16 +02:00
Lukas Korba 2ebf9fb9d7
Merge pull request #1183 from LukasKorba/1173--Persist-info-about-restore-until-it-is-done
[#1173] Persist info about restore until it is done
2024-04-09 12:35:51 +02:00
Lukas Korba 52a2f6b0a9 [#1173] Persist info about restore until it is done
- The restoration of the wallet is persisted until it's done (up-to date/synced) at some point in the future
2024-04-09 12:22:18 +02:00
Lukas Korba ad1ba0f98f [#1181] No and some transactions at the same time
- The no transaction Text as well as ForEach are connected to the same property and view should re-render accordingly. On a theoretical level it might be possible the view re-rendered only a portion of itself. Adding else should hopefully cover even the theoretical/swiftui potential bug.
2024-04-09 12:21:01 +02:00