Commit Graph

19 Commits

Author SHA1 Message Date
Milan ef4ccbec81
Feature: Keystone integration (#1692) (#1707)
* Keystone integration (#1692)

* Keystone QR generation and reader

* Keystone account list UI

* Top app bar refactor

* Code cleanup

* Design update

* Keystone version bump

* Code cleanup

* Test hotfixes

* Code cleanup

* Keystone business logic implementation & ui elaboration (#1708)

* Keystone business logic implementation & ui elaboration

* Code cleanup

* Code cleanup

* Strings code cleanup

* Navigation refactor

* Navigation update

* Select keystone account button hotfix

* Navigation hotfix

* Wallet restoration hotfixes and optimizations

* Confirmation refactor

* Design updates

* Strings update and design updates

* Zip321 keystone integration

* Strings update

* Spanish translations

* New SDK changes integration

* New SDK version adoption

* Code cleanup

* Code cleanup

* Transaction history preparation

* Sapling address made optional

* Code cleanup

* Design updates

* Transaction hotfix

* PCZT preparation

* Settings design update

* Strings update

* Code cleanup

* PCZT integration

* Design updates

* Code cleanup

* App hotfixes

* Strings update

* Strings update

* Transparent transaction UI update

* Keystone tutorial link commented out

* Keystone exception handling

* Scan keystone progress bar

* Scan keystone performance update

* Share PCZT debug button

* Optimizations

* Add `MockSynchornizer` functions

* Try-catch address obtaining

Even though this is not the proper way we want to implement it, it fixes #1658 as a temporary solution

* Fix `ExchangeRateState` loading state

* Peformance optimizations

* Account data source exception handling

* Spanish strings updated

* Transaction progress texts updated

* Copy PCZT proposal data

* Dialog window dim fix

* Proposal proof optimization

* Proposal proof optimization

* Transaction progress shielding texts update

* Code cleanup

* Code cleanup

* Code cleanup

* PCZT progress calculation update

* KS promo

* KS sign in progress update

* KS QR progress update

* Adopt `Synchronizer.Status.INITIALIZING` state

* Design updates

* Propagate exceptions

* Updates

* Code cleanup

* Promo update

* Scan fix

* Code cleanup

* Bump to Zcash SDK 2.2.7-SNAPSHOT

* Fix lint warnings

* Make tests update

With follow-up #1713 for fixing the failing tests.

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-12-17 18:40:36 +01:00
Milan 624bee88ef
Address book remote storage implementation (#1632)
* Address book remote storage implementation

* Code cleanup

* Biometrics enabled

* Error handling

* Code cleanup

* Merging strategy

* Offline bugfixes

* Code cleanup

* Performance update for address book CRUD

* Performance update for transaction history

* Proguard update

* Documentation update

* Documentation update
2024-10-16 11:12:03 +02:00
Milan a9e8c102c9
Exchange rate implementation (#1540)
* Adopt TEX addresses related changes

* Exchange Rates implementation

Closes #532
Closes #578

* Send Review Screen design change

Closes #532
Closes #578

* Code cleanup

Closes #532
Closes #578

* Exchange rate implementation

* Exchange rate implementation

* Exchange rate design implementation

* Exchange rate design implementation

* Exchange Rate redesign

* Code cleanup

* Design hotfix

* Design hotfix

* Disabling of usd text field

* Sort new dependencies

* Code cleanup

* Code cleanup

* Test hotfixes

* Link TODO issue

* Unify MockSynchronizer functions report

* New navigation target

* Code cleanup

* Send screen amount focus handling

* Code cleanup

* Fix test fixtures

* Design hotfix

* Code cleanup

* Test hotfixes

* Test hotfixes

* Activity Compose Composition Strategy handling

* Revert "Activity Compose Composition Strategy handling"

This reverts commit be8ed7a8ad.

* Test hotfixes

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-08-23 07:58:27 +02:00
Milan fb138c2412
[#234] AppCompat removal (#1509)
* [#234] AppCompat removal

Closes #234

* [#234] Crash fix

Closes #234

* Changelog update

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-22 15:24:14 +02:00
Honza Rychnovský 5070050095
[#1483] Remove dev condition for dark mode
Closes #1483
2024-06-21 21:14:29 +02:00
Honza Rychnovský 3845772071
[#1159] Send.Confirmation according to new design
- Closes #1159
- Closes #1269
- Closes #1073
- Its direct follow-ups are #1294 and #1161
- Other follow up is #1260
- These changes also enable having two Primary buttons side-by-side
- This adds sorting history of transactions by a new calculated height after send done
- This also changes how we treat empty transaction dates from `-` to `` in UI
- Changelog update
2024-03-21 09:57:36 +01:00
Honza Rychnovský cf45a0ef34
[#942] New Wallet Recovery Phrase Screen
[#942] New Wallet Recovery Phrase Screen

[#1006] Enhance VersionInfo with other fields

[#947] About screen UI + logic + tests

[#1040] Extract logo and title on top of screens

- Place it into a separate UI component
- Used across several screens
- Closes #1040

Remove long version of the Backup screen

- We previously had a configuration field that controlled which version of the screen should be displayed to a user
- Removed
- Partly solves #1003

Backup screen view redesign

Tests + docummentation

Update links to the Zashi Github repository

As the GitHub repository was recently moved from Zcash under the ECC company

[#1014] Unify screen name with Figma design

[#1045] Adopt Zcash SDK v2.0.3

Closes #1045

Fix screenshot test

The new wallet recovery screen is now much taller; scrolling to the acting button is needed.

Fix Restore screen test

Lint tools warnings
2023-11-23 10:00:13 +01:00
Honza Rychnovský a70586d8b6
[#1012] Customize Dark mode support for debugging
- And disable its support in the app UI by default
- Closes #1012
2023-10-19 15:00:47 +02:00
Honza Rychnovsky 78180ee4e8
[#790] Fix Settings screen layout
* [#790] Fix Settings screen layout

- SwitchWithLabel moved to ui-design-lib
- Internally switched from Row to ConstraintLayout
- Used paddings, which after creating and applying of Design system #611 will be refactored
- Moved Modifier definitions to the caller side, when possible
2023-03-14 08:00:36 +01:00
Carter Jernigan 4acd5d3593
[#584 ]Adopt Twitter's Compose Detekt rules
Twitter had a set of Compose rules, which have been forked into Detekt, Ktlint, and Android Lint implementations.

I see ktlint as mostly being formatting, Detekt being more for multiplatform static analysis, and Android Lint for Android-specific issues.  Android lint is slow, so I didn’t want to use it as the first choice.

I went with the Detekt implementation which can be useful if we leverage multiplatform for our Composables in the future.
2023-03-01 07:58:47 -05:00
Alex 7523619afa
[#673] process .ec files from emulator.wtf
Co-authored-by: Carter Jernigan <git@carterjernigan.com>
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2023-02-13 08:10:32 -05:00
Alex b84df3d9dc
[#592] Instrumentation coverage
Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2023-01-17 14:54:40 -05:00
Carter Jernigan 45d90b7706 [#586] AGP 7.3 2022-09-22 16:06:09 -04:00
Carter Jernigan 6540cd6bd3 [#482] Rename build-convention to build-conventions-secant
This prevents naming conflicts with included builds across multiple projects with build conventions.
2022-06-14 18:20:51 -04:00
Carter Jernigan 9267e75cb8
[#303] Write crash logs on external storage (#429)
- Added automatic exception logging, registered in the Application object
 - The design sends the exception to a second process, as the main process could be in a bad state when crashing. If we ever encounter problems with this design, it is easily toggleable to turn off with a boolean resource
 - Reading the process name is a bit complex on older Android versions, so we leverage a ContentProvider (which runs prior to Application.onCreate()) to get the process name
 - Added a simple logging mechanism for multiprocess and multithread log messages
 - Refactored spackle-lib into spackle-lib (multiplatform) and spackle-android-lib

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2022-05-31 12:38:02 -04:00
Carter Jernigan 4f960d5bf8
[#6] Refactor kotlinOptions to build-conventions 2022-05-17 06:06:44 -04:00
Carter Jernigan 3e67fda537
[#394] Kotlin 1.6.20
Also updated the Compose compiler to be compatible
2022-04-22 10:57:56 -04:00
Carter Jernigan f22586eacf [#330] Compose Material3 1.0.0-alpha08
Removed the proxy to the Material2 TextField in favor of the Material3 TextField
2022-04-06 07:56:17 -04:00
Carter Jernigan f01c855ead [#225] Refactor design to separate module
This moves the theme and common UI elements to a separate Gradle module.

This is a first step towards creating our own custom design system, as it would eventually allow hiding of Material Design from the rest of the app UI.

As part of this change, a new common utility module was created so that both the ui and ui-design modules can depend on it.
2022-02-23 15:49:03 -05:00