Commit Graph

85 Commits

Author SHA1 Message Date
Lukas Korba 2bb5451047
[#294] amount + address fields done (#308)
cleanup

validation

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- zec amount refactored to be always Int64 - number formatter to zec string for the UI added
- cleaned up the invalid input conditions by providing computed properties
- isValidZcashAddress() added

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- prefix input view support implemented
- zcash or $ symbol used as a prefix for the amount input
- $ computations and max out implemented

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- insufficient funds logic (UI error + inability to send) added
- $ balance value visible at send screen
- cleanup

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- send routing simplified and cleaned up

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- unit tests

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- cleanup

[#294] [Scaffold] Send Screen - transaction + address inputs (#308)

- review comments solved
2022-05-11 12:26:39 -03:00
Francisco Gindre cec63d0564
[#306 #215] Swiftlint and other warnings + build errors (#307)
[#306] Release build is broken because placeholder is not compiled

[#215] Warning: Non-constant range: argument must be an integer literal

Fix comment spacing warning
2022-05-05 10:30:01 -03:00
Lukas Korba 6a12e09ee9
[#302] Synchronizer status on Home Screen (#304)
* synchronizer status

* amount input field enhancements

Closes #302
2022-05-04 17:01:48 -03:00
Lukas Korba e54ea3aa18
[#80] Scaffold - Send functionality (#297)
* UI + stores/reducers updated

* simple send done

cleanup

flag for sending

deny any attempt to send when sending is still in flight

cleanup

unit tests
2022-05-02 19:35:03 -03:00
Lukas Korba 3e8169551b
[#293] first draft of history of transactions (#293)
pending + cleared + sorted transactions

cleanup

any scheduler + tests skeleton

transaction history tests

syncedBlockHeight from the synchronizer
2022-04-28 07:22:31 -03:00
Lukas Korba ccb9301fb2
WrappedSyncrhonizer (#292)
(un)subscribed logic added
cleanup
refactor
commented solved
final agreed naming
2022-04-26 13:28:39 +02:00
Lukas Korba 7e7ba0d11d
Swiftlint 0.45.0 -> 0.47.0 (#290) 2022-04-22 12:24:10 -03:00
Lukas Korba 557aabdd17
Issue #284: (Non)scrollable Transactions list based on Drawer 2022-04-21 14:11:55 -03:00
Lukas Korba bdb18f6af7
Issue #283 - drawer animation fixed (#283) 2022-04-21 09:42:25 -03:00
Francisco Gindre c832d2822c
Issue #258 - User can take the backup test successfully more than once (#282)
Closes #258

this checks that when the user taps the finished button on the phrase displayed it has definitely not passed the test before going to the recovery flow.

Note: this should actually go to the next or previous screen according to the context.

That should be taken into consideration when implementing the profile screen that takes the user to the phrase diplay screen from that context.

Add //TODO comment with the permanent fix for the problem
2022-04-21 09:33:55 -03:00
Lukas Korba bab53181aa
Issue #276 - [Scaffold] Drawer for the Home Screen (#275)
Drawer + transactions history

clean up

Profile button on home screen

QR, Send and Request buttons

cleanup

conflicts resolved + cleanup
2022-04-20 18:41:32 +02:00
Lukas Korba 1a16282899
Issue #276 - [Scaffold] Drawer for the Home Screen
Drawer + transactions history

clean up
2022-04-20 11:45:24 -03:00
Lukas Korba c6a90ff96c Initial functional code
cleanup + functional import wallet

app state check fix

synchronization wip

cleanup

cleanup + debug menus from the home

debug menus modifier added

fix for the failing tests

transparent -> shielded

comments resolved
2022-04-19 09:05:07 +02:00
Francisco Gindre 7b33b632b9
Merge pull request #267 from LukasKorba/266_refactor_and_simplify_homeDebug_views
Old home->sandbox, new home for #255
2022-04-14 14:08:57 -03:00
Lukas Korba 6cc73ecd86 critical fix
added test
2022-04-14 13:16:57 +02:00
Lukas Korba 330bc3256f old home->sandbox, new home for #255
hotfix
2022-04-14 11:29:52 +02:00
Lukas Korba a57cf312af wrapped derivation tool done
fixed build
2022-04-13 10:34:03 +02:00
Lukas Korba d0cca8121c Initialization refactored & covered by tests 2022-04-13 10:13:29 +02:00
Lukas Korba a44bbaabad importing and storing the wallet
tests fixed
2022-04-11 14:36:09 +02:00
Lukas Korba 9e83b5ccfc missing chips order randomized 2022-04-08 16:17:20 +02:00
Lukas Korba 1c85258b01 debug nuke wallet implemented
Also the unhandled states implemented.

comments resolved
2022-04-07 17:24:47 +02:00
Lukas Korba 8136ec3040
Issue #220 - Dependency for the SDK database files/file management (#240)
unit tests implemented

naming enhanced
2022-04-07 11:13:40 -03:00
Adam b665a18fe2
Issue #145 - Single Line Text Field
* Single Line Text Field

* add TODO comment to secant/Util/Strings.swift

Issue #245 comments the changes needed

Co-authored-by: Francisco Gindre <francisco.gindre@gmail.com>
2022-04-07 09:06:47 -03:00
Lukas Korba 71deb3c757 gestures added
debug menus are accessible starting on welcome screen following 2 steps:
1. long press (0.75s)
2. swipe up/down to access either home/startup

cleanup

Debug menus connected

Also fixed the App flow
2022-04-04 18:55:57 +02:00
Lukas Korba 549a5c0806 Cleanup and refactor
lightweight wallet wrapper

getting rig of initialiser, import Security

SDK integrated, wallet's environment prepared

PR comments fixes

PR comments resolved

wallet storage as a dependency

PR comments resolved

Update secant/Util/WalletStorageInteractor.swift

agreed

Update secant/Util/WalletStorageInteractor.swift

order of parameters fixed

build fixed

tab resolved

buildable again

unit tests TODO added

Co-Authored-By: Adam <adam@olemae.com>
2022-04-04 15:37:02 +02:00
Lukas Korba fd7109d1f0
App initialization and checks (#223)
* AppDelegate connected
* Initialisation of the app and checks in place
* cleanup
* switch-default purpose commented
* checkWalletInitialisation simplified
* initialisation -> initialization
2022-04-04 14:04:01 +02:00
Lukas Korba 2766fa527f Flows connected
Onboarding connected to the create wallet & backup phrase

code cleanup
2022-04-01 15:18:49 +02:00
Lukas Korba f58b17e6e1 Validation Failure/Success updated to handle dark mode 2022-03-15 16:33:54 +01:00
Lukas Korba 6380452780 Hotfix for the broken animation 2022-03-07 10:30:06 +01:00
Francisco Gindre f81d9fa7ac
Merge branch 'main' into 139_ValidationSuccessScreen_DesignUpdate 2022-03-04 12:43:33 -03:00
Lukas Korba 146404989b Backup Succeeded View design
updated to the latest
2022-03-04 11:38:15 +01:00
Lukas Korba 545df13602 Backup Failed design updated
to the latest design

smaller enhancements
2022-03-04 11:35:52 +01:00
Lukas Korba 9c887367c4 code clean up 2022-03-03 13:06:47 +01:00
Lukas Korba 0ac32c9854 FIXME added 2022-03-03 11:37:29 +01:00
Lukas Korba d3e0f4f1e5 debugging the navigation
code cleanup

I reimplemented preamble screen so it's not "a feature" but it's a simple view with the set of bindings
2022-03-03 11:29:00 +01:00
Lukas Korba 28c7cf98b5 Merge branch 'main' into 147_phrase_preamble_screen 2022-03-02 10:27:29 +01:00
Lukas Korba a9dfadbc18 final enhancements
tested for iPhone SE, light/dark and accessibility large
2022-03-02 10:20:12 +01:00
Lukas Korba 158c75ce57 Merge branch '165_wallet_import_screen' of https://github.com/LukasKorba/secant-ios-wallet into 165_wallet_import_screen 2022-03-01 17:10:19 +01:00
Lukas Korba b0dff8a063 pointless comment removed 2022-03-01 17:10:09 +01:00
Lukas Korba 3fd5a2061d
Update secant/Features/ImportWallet/ImportWalletStore.swift
Co-authored-by: Francisco Gindre <francisco.gindre@gmail.com>
2022-03-01 17:09:18 +01:00
Lukas Korba b3b6be8037 First draft of the screen
the circular frame needs to be updated so it fits iPhone SE, otherwise screen is ready
2022-03-01 15:30:32 +01:00
Lukas Korba e52b28adc3 Import Wallet localised
localisation of the import wallet screen done

Height of the buttons

according to design guide, the buttons should be 64px height
2022-03-01 09:40:16 +01:00
Lukas Korba dfca94677d Merge branch '174_app_localization' into 165_wallet_import_screen 2022-03-01 09:17:03 +01:00
Lukas Korba f6548ee4ff Import Wallet Screen added
Scaffold of the import wallet screen has been created and connected to the onboarding flow
2022-03-01 09:12:50 +01:00
Lukas Korba b2bd0adaea Required strings localized
All screens' strings that are meaningful for the demo application have been moved to the strings file.
2022-02-25 13:27:50 +01:00
Francisco Gindre 3b2dd7c43a
Merge pull request #170 from LukasKorba/163_validation_feedback
Requested changes done
2022-02-24 13:57:17 -03:00
Lukas Korba 465d4feded Test fixes 2022-02-24 17:26:06 +01:00
Lukas Korba 598eac0eed Requested changes
All PR comments have been fixed in this commit
2022-02-24 14:14:50 +01:00
Lukas Korba e618cc48e5 Generator moved
I decided to also follow the Pastboard dependency and get rid of the specific file just for the generator.
2022-02-23 18:51:18 +01:00
Lukas Korba b7fccb3c28 TCA way
The syntax convention for the feedback generator was re-implemented to follow TCA and secant wallet principles.
2022-02-23 18:39:39 +01:00