Commit Graph

218 Commits

Author SHA1 Message Date
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
Francisco Gindre e2d973b984
Merge pull request #230 from LukasKorba/200_hidden_debug_menus
Hidden gestures to access debug menus added
2022-04-04 14:11: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
Francisco Gindre 3a70472c9f
Merge pull request #217 from LukasKorba/197_ability_to_know_initialized_wallet
Wrappers for the wallet's environment
2022-04-04 11:36:01 -03: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
Francisco Gindre 18cff600d0
Merge pull request #229 from LukasKorba/202_createNewWallet
Onboarding -> Create Wallet -> Backup Phrase flows connected
2022-04-01 13:01:58 -03:00
Lukas Korba 2766fa527f Flows connected
Onboarding connected to the create wallet & backup phrase

code cleanup
2022-04-01 15:18:49 +02:00
Francisco Gindre d0c47ff391
Merge pull request #216 from zcash/build/0.0.1-17
CHANGELOG.md for build 0.0.1-17
2022-03-25 17:09:30 -03:00
Francisco Gindre 6ae2bc7684 CHANGELOG.md for build 0.0.1-17
Bump Version to 0.0.1-17
2022-03-25 14:42:49 -03:00
Francisco Gindre 7a8e19a956
Merge pull request #209 from LukasKorba/196_user_preferences_storage
User preferences storage
2022-03-24 13:00:34 -03:00
Lukas Korba 1635ee81ce draft of the storage
Initial user preferences storage

refactor of one comment

handling defaults

singleton removed

support for the defaults

alphabetical sort

standard user defaults set by default

unit tests added

for-each to cover all cases

project fix
2022-03-24 16:21:38 +01:00
Francisco Gindre 7bcb9c5596
Merge pull request #204 from LukasKorba/157_KeyStoring_protocol
Implementation of KeyStoring protocol
2022-03-23 15:28:10 -03:00
Lukas Korba 366d30a00d KeyStoring protocol implemented
The RecoveryPhraseStorage is an implementation of KeyStoring protocol. The unit tests are testing the keychain functionality to ensure security and proper error handling.

Refactor

All comments from the PR have been incorporated

Another batch of comment updates

thx Adam!

alphabetical order

refactored to private extension

Update secant/Util/RecoveryPhraseStorage.swift

Update secant/Util/RecoveryPhraseStorage.swift

cleanup

refactor and cleanup

setData refactor

Updated to the latest requirements

The KeyStoring implementation now relies on JSON (encoded) storing version, seed phrase and birthday.

method separation

fixed typo

functions documented

typo and warnings fixed

Mock services removed

the file and the content is not used anywhere, once we will need some mocks, we will implement it

RecoveryPhraseStorage singleton removed

Language added to the storage

Co-Authored-By: Adam <adam@olemae.com>
2022-03-23 19:18:08 +01:00
Francisco Gindre f92659d925
Merge pull request #203 from LukasKorba/155_real_mnemonic
MnemonicSwift added to the project
2022-03-22 18:13:16 -03:00
Lukas Korba 4660b41b7b MnemonicSwift added to the project
MnemonicSwift SPM added + implementation of the MnemonicSeedPhraseHandling protocol

TCA syntax for the MnemonicSeedPhaseProvider

swiftlint disable not needed anymore

double space fixed
2022-03-18 14:25:35 +01:00
Francisco Gindre d9977ef3a0
Merge pull request #208 from zcash/build/0.0.1-16
Issue #172: build 0.0.1-16
2022-03-17 16:13:54 -03:00
Francisco Gindre f8c4041f0c Issue #172: build 0.0.1-16 2022-03-17 10:35:29 -03:00
Francisco Gindre 5625ce0908
Merge pull request #206 from LukasKorba/205_validation_result_dark
Validation Failure/Success updated to handle dark mode
2022-03-15 13:28:30 -03:00
Lukas Korba f58b17e6e1 Validation Failure/Success updated to handle dark mode 2022-03-15 16:33:54 +01:00
Francisco Gindre b45d1a0dba
Merge pull request #194 from LukasKorba/191_badge_icons
Badges updated to use symbols
2022-03-09 13:00:22 -03:00
Lukas Korba db77a0227e Badges updated to use symbols
The badge is now in full control of SwiftUI code, the background rounded rect + colors and on top of that is the symbol itself driven by enum

badges updated to the latest design
2022-03-09 10:20:38 +01:00
Francisco Gindre 41551883b1
Merge pull request #192 from LukasKorba/181_badgeAnimation_fix
Onboarding badge animation fixed
2022-03-07 13:18:39 -03:00
Francisco Gindre c658ae9b88
Merge pull request #193 from LukasKorba/186_ValidationFailed_transition_animation_fix 2022-03-07 07:45:42 -03:00
Lukas Korba 6380452780 Hotfix for the broken animation 2022-03-07 10:30:06 +01:00
Lukas Korba c3c4896890 Fixed 2022-03-07 10:20:31 +01:00
Francisco Gindre 05554dabdf
Merge pull request #190 from LukasKorba/139_ValidationSuccessScreen_DesignUpdate
Backup Succeeded View design
2022-03-04 12:58:58 -03:00
Francisco Gindre f81d9fa7ac
Merge branch 'main' into 139_ValidationSuccessScreen_DesignUpdate 2022-03-04 12:43:33 -03:00
Francisco Gindre 2a4ca1d1c1
Merge pull request #189 from LukasKorba/140_ValidationFailedScreen_DesignUpdate
Backup Failed design updated
2022-03-04 12:42:41 -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
Francisco Gindre 675ef60647
Merge pull request #188 from LukasKorba/183_createButtonStyle_noLongerNeeded
CreateButton instances removed
2022-03-03 12:04:07 -03:00
Francisco Gindre 16da312d71
Merge pull request #187 from LukasKorba/147_phrase_preamble_screen
147 phrase preamble screen
2022-03-03 12:00:54 -03:00
Lukas Korba 9c887367c4 code clean up 2022-03-03 13:06:47 +01:00
Lukas Korba 4ac7d2027e CreateButton instances removed
Assets, files, code cleaned up
2022-03-03 11:45:12 +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
Francisco Gindre f98ba93d97
Merge pull request #182 from LukasKorba/165_wallet_import_screen
165 wallet import screen
2022-03-01 13:27:19 -03: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 59741f9cc6 FIXME added
hotfix for the broken animation is to comment out easeInOut animation
2022-03-01 15:33:01 +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 60d4db2f3b updated tests
all tests pass
2022-03-01 10:50:57 +01:00
Lukas Korba 9ed365939a Merge branch '165_wallet_import_screen' of https://github.com/LukasKorba/secant-ios-wallet into 165_wallet_import_screen 2022-03-01 10:40:48 +01:00
Lukas Korba 907bcb2598 hotfix for the broken animation
The .animation( is causing a visual issue in the views stack, the progress bar is animated to the bottom position. if we want easyInOut animation, we need to find a proper solution
2022-03-01 10:40:43 +01:00
Lukas Korba df0006c2bd
Merge branch 'zcash:main' into 165_wallet_import_screen 2022-03-01 09:47:06 +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