Commit Graph

215 Commits

Author SHA1 Message Date
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
Lukas Korba 1bc5d70e36 [#1179] Bold token name in available balance
- The ZEC token name is now aligned with the value (both bold)
2024-04-08 12:24:53 +02:00
Lukas Korba 6e054f5b52 [#1087] Total and available balances component
- The total and available balances have been extracted into separate and fully autonomous component used in 3 independent places (Account, Send and Balances)
- Code massively cleaned up
- Available balance underline logic + redirect to Balances

[#1087] Total and available balances component

- Unit tests fixes

[#1087] Total and available balances component

- tests fixed

[#1087] Total and available balances component

- small fixes and tweaks
2024-04-05 11:52:44 +02:00
Lukas Korba f73b6dc9e1 [#1174] Final not enough free space UI
- The UI has been updated according to the latest design

[#1174] Final not enough free space UI (#1175)

- tweaks

[#1174] Final not enough free space UI (#1175)

- removed mocked state of disk
2024-04-04 13:13:22 +02:00
Lukas Korba 215e745522
Merge pull request #1170 from LukasKorba/1029--Not-enough-free-space-UI
[#1029] Not enough free space UI
2024-04-04 10:16:14 +02:00
Lukas Korba ccb5b2936c
Merge pull request #1172 from LukasKorba/1171-Hide-content-in-the-app-switcher
[#1171] Hide content in the app switcher
2024-04-04 10:15:53 +02:00