Commit Graph

118 Commits

Author SHA1 Message Date
Francisco Gindre 3db1c7f52f build 8 2021-12-10 15:51:55 -03:00
Francisco Gindre 6fb52d5dd3 0.0.1-7 2021-12-09 17:41:26 -03:00
Francisco Gindre 21c26a5c57 bump build # 2021-12-09 15:02:57 -03:00
Francisco Gindre 2c6ec07e18 add App Uses Non-Exempt Encryption -> NO value to Info.plist 2021-12-09 15:02:23 -03:00
Francisco Gindre f590dce9fe Remove double carriage return and replace by VStack of Text() 2021-12-09 13:47:00 -03:00
Francisco Gindre c004d9f50f Implement [Suggestion(use specific RecoveryPhraseError) | non-blocking] 2021-12-09 13:40:56 -03:00
Francisco Gindre 94fe474053 Adding: [Suggestion(adding pasteboard to environment)] 2021-12-09 13:34:10 -03:00
Francisco Gindre c2e401b3d4 hook up to home screen 2021-12-08 19:52:31 -03:00
Francisco Gindre 04a9af32b6 PR Fixes: remove dump calles add TODOs
remove unneeded padding

remove prints

PR fixes: remove min height from standard button style.

change extension from View to Text

change comment format

PR Fixes. code style

Add ticket number to TODOs

Rename "Backup Flow" to BackupFlow

PR lint fixes

Add tests

Fix lint issue. cleanup

rename "UI Components" to "UIComponents"

Renamed folder with spaces to CamelCase names:
"App Errors" to "AppErrors"
"Mocked Dependencies" to "MockedDependencies"

Renamed "Font Styles" to "FontStyles"
2021-12-08 19:51:39 -03:00
Francisco Gindre 0192273b9d fix warnings. add TODOs for demo code that is needed to build on release mode 2021-12-08 19:51:39 -03:00
Francisco Gindre 98caf98cec FIX: Archiving compilation errors 2021-12-08 19:51:39 -03:00
Francisco Gindre dcadfd33ed create test build 4 for UX validation 2021-12-08 19:51:36 -03:00
Francisco Gindre d2d1636503 Integrate Copy to buffer button 2021-12-08 19:50:01 -03:00
Francisco Gindre a7d33ec4b3 Fix Recovery Phrase chips throw a UI Thread warning 2021-12-08 19:50:01 -03:00
Francisco Gindre 1949493158 Quotes "Navigation Bar Title" 2021-12-08 19:50:00 -03:00
Francisco Gindre 6d1c99a89d Dark mode color adjustments 2021-12-08 19:50:00 -03:00
Francisco Gindre 7ae1ba8b40 Initial Light Mode Recovery Phrase Backup Screen 2021-12-08 19:50:00 -03:00
Francisco Gindre 83f74e7b4b First Stab at The Composable Architecture 2021-12-08 19:50:00 -03:00
Francisco Gindre 0500f5db68
Merge pull request #131 from zcash/integrate-onboarding-to-home
Integrate onboarding to fake home
2021-12-08 19:48:05 -03:00
Francisco Gindre 3422c8dbd0 Integrate onboarding to fake home
show OnboadingScreen instead of  OnboardingView

remove Struct Type
2021-12-08 19:47:35 -03:00
Francisco Gindre c702319bb5
Merge pull request #122 from adamstener/onboarding-screen
Onboarding Screen
2021-12-08 14:32:39 -03:00
Francisco Gindre f4be94cb09
Merge pull request #121 from dh-ecc/tca-nav-add-send
Tca nav add send
2021-12-07 14:53:12 -03:00
adam cc32e881ba Onboarding Screen 2021-12-07 06:18:35 -06:00
Daniel Haight 780dd0fafa [Experiment] Move `Send` routing into a parent `SendView`
This is to demonstrate having something like a 'Coordinator' that
handles the routing logic of the feature.

It is done as a seperate commit to compare against the original
implementation that has the routing logic encoded explicitely in
each view.
2021-11-21 14:51:32 +00:00
Daniel Haight a8fc8d79f7 Create a reducer to go back `Home` when finished sending
This is done as a seperate commit to demonstrate composing routing
logic where a 'child' feature can send messages to a 'parent'.
2021-11-21 14:51:32 +00:00
Daniel Haight 85395bb9f0 Add `Send` "Placeholder" Feature
This adds screens to represent a basic "Send" Feature. The main
purpose of this is two-fold.

1. To act as a placeholder for the actual journet
2. To demonstrate a slightly different navigation paradigm, i.e,
   a `NavigationView` with >1 depth.
2021-11-21 14:47:51 +00:00
Daniel Haight 24c21d4965 Update `Binding` Helpers
- Rename `Binding.map` to `Binding.compactMap`
- Add `Binding.map` with an updated signature

These should now match the naming conventions of similar
methods on types.
2021-11-21 14:36:38 +00:00
Francisco Gindre 883ce52011
Merge pull request #117 from dh-ecc/tca-nav-skeleton
Tca nav skeleton
2021-11-16 12:52:04 -03:00
Daniel Haight c6a98f06c2 Add `WithStateBinding`
This is a way to add back some of the "free" animations that we lose when
creating custom bindings instead of using `@State` variables, which is
extremely common in TCA / unidirectional architecture.

For an example check out the live preview in the `WithStateBinding` file.
The first is with a standard State binding, click to get the detail and then
drag from the leading edge slowly. You will notice the selection highlight _gradually_
gets less the more you drag (or stronger if you go back).

For the second one with a custom binding, drag back and you will notice it is either
entirely selected, or deselected.

The third uses `WithStateBinding` to give _back_ the nice animations to custom bindings.
2021-11-15 23:36:16 +00:00
Daniel Haight 1adf39b933 Drive `HomeView` Navigation state from `ViewStore`
This demonstrates going from a view with no active navigation, to one that is state driven.

It is intended to be representative of the work needed to achieve this.
2021-11-15 23:36:16 +00:00
Daniel Haight e458a491c4 Add `Home` TCA feature
- Add the `State/Action/Reducer` combination to represent a basic TCA feature
- There is a `route` property on the state which represents our navigation state
    (we will use this to drive more navigation state in the next commit)
- The state has a property which is a `TransactionHistoryState`
    we create our new reducer by leaning mostly on the existing one.
- Temporarily we set up a text representation of our state
- Temporarily Use `HomeView` as the app's entry point, to be replaced with an `AppView`
2021-11-15 23:36:16 +00:00
Daniel Haight 9724d22235 Add `NavigationLinks` and `Bindings`
This gives us a more readable approach to set up navigation links
that mirrors other `SwiftUI` navigation paradigms such as `.sheet`.

We use the modifier to simplify navigation link setup for `TransactionHistoryView`

We also include some `Binding` extensions to help creating them.
2021-11-15 23:36:14 +00:00
Daniel Haight 0ce7d14c81 Add `History` TCA feature
This adds a "TCA" feature of a (very) basic transaction history and detail.

It demonstrates a purely state driven navigation stack.
Specifically, a `route: Route?` value is tracked in the state.
This value is driven by the selection of a transaction in the list,
setting it to to `.selectedTransaction(transaction)`,
which then pushes the detail view for that `transaction` onto the `NavigationView`.
Popping the detail view sets the property to `nil`.

Take a look at the previews in `TransactionHistoryView` try them "live" as well.

**N.B** The models are _not_ correct in any way, though are meant to be somewhat representative
and give something to display.
2021-11-15 23:32:54 +00:00
Francisco Gindre 94a0684380
Merge pull request #116 from adamstener/design-guide-updates
Design Guide Updates
2021-11-09 19:38:23 -03:00
Adam Stener d1b805c485 Design Guide Updates 2021-11-09 07:05:15 -06:00
Francisco Gindre 1bbc5a3171
Merge pull request #115 from adamstener/onboarding-state-updates
Onboarding State Updates
2021-11-05 11:00:42 -03:00
adam 9b46a4c9d3 Onboarding State Updates 2021-11-05 07:27:31 -05:00
Francisco Gindre 23873cc757
Merge pull request #114 from rex4539/typos
Fix typos
2021-11-05 08:20:23 -03:00
Dimitris Apostolou 8c3f26fdbb
Fix typos 2021-11-05 10:07:21 +02:00
Francisco Gindre 3068e6a168
Merge pull request #113 from adamstener/onboarding
Onboarding: Skip Functionality
2021-11-04 11:45:24 -03:00
adam 16adad59f0 Onboarding Skip 2021-11-04 07:54:30 -05:00
Francisco Gindre a4d3ea7cf4
Merge pull request #111 from adamstener/circular-frame
Circular Frame with Optional Badge Accessory
2021-10-29 20:54:46 -03:00
adam 66e35c2913 Circular Frame 2021-10-29 08:22:16 -05:00
Francisco Gindre 0e7ed30f44
Merge pull request #71 from zcash/feature/ui-components
Initial UI Components
2021-10-27 19:51:12 -03:00
Francisco Gindre 89f4699dec
Merge pull request #69 from zcash/empty-chip
Empty chip First Iteration
2021-10-27 19:11:48 -03:00
Francisco Gindre 0877689d3a PR Fixes 2021-10-27 16:29:23 -03:00
Francisco Gindre 2e49e0968d Empty Chip + design guide tweaks
Integrate design guide secret screen

doc formatting

latest tweaks

remove commented code
2021-10-26 18:49:47 -03:00
Francisco Gindre 1bb2167d5f
Merge pull request #66 from zcash/design-guide
fix: EnumeratedChip Height fix
2021-10-21 19:50:43 -03:00
Francisco Gindre b1be1284e2 fix: EnumeratedChip Height fix 2021-10-21 19:48:43 -03:00
Francisco Gindre bd80bd83d5
Merge pull request #60 from zcash/design-guide
Design guide preview
2021-10-21 19:48:18 -03:00