Commit Graph

642 Commits

Author SHA1 Message Date
Honza Rychnovsky fff0dc4110
[#282] Tests fail on low resolution devices.
- Scrolling enabled for screens from Backup and Profile parts of the app.
- UI tests improved to always scroll to the desired views before working with them.
2022-04-12 15:31:27 +02:00
Honza Rychnovsky e44e901676
[#289] Crash while typing characters to Zec amount text field.
- Filed issue to SDK project.
- Temporary workaround to prevent SDK from returning negative results and thus to avoid app crashing.
- SuppressWarnings - ReturnCount - ZecString.
- Added unit test for validation of implemented workaround.
2022-04-12 14:13:48 +02:00
Honza Rychnovsky f091da51ee
[#322] Restore Wallet "greedy" autocompletion
- Changed order of conditions of automatic autocompletion.
- Added a test for validation of autocompletion functionality
- Changed type of test tag on ChipLayout component, as it seems its not necessary to have this one for proper component functionality. The one from the test package is needed here for the newly added test. And other screen components also use only those from the test package.
2022-04-11 15:19:04 +02:00
Carter Jernigan 482a48edb7
[#199] Pull test results from Firebase Test Lab
A future iteration should generate the HTML reports from these XML files

This rolls back Flank to 21.09.0 but does maintain the ability to version Flank separately.
2022-04-08 14:06:34 -04:00
Honza Rychnovsky 4e5e5c4ab7
[#223] fromZecString reject bad input.
- Implementing regex solution for validation of input ZecAmount after confirm button is pressed.
- Added also unit tests for this new feature.
- Move necessary components from sdk-ext-lib to sdk-ext-ui module.
- Align implementation with comments form PR.
- Fix name of run configuration.
- Ensure consistent behavior of tests.
2022-04-08 14:33:08 +02:00
Honza Rychnovsky 9485a7d4c3
[#244] Back button is invisible on Profile screen.
- Remove tint attribute from Icon definition of TopAppBar of the Profile screen.
- Minor code style refactoring.
2022-04-06 20:49:24 +02:00
Carter Jernigan 15034786e6 [#353] Google Auth Action 0.7.0 2022-04-06 07:56:17 -04:00
Carter Jernigan ea52674a68 [#342] Coroutines 1.6.1 2022-04-06 07:56:17 -04:00
Carter Jernigan 623a7d6602 [#336] GitHub Cache action 3.0.1 2022-04-06 07:56:17 -04:00
Carter Jernigan 2a63b09cec [#334] Setup Java Action 3.1.0 2022-04-06 07:56:17 -04:00
Carter Jernigan 8be473a988 [#335] Flank 22.03.0 2022-04-06 07:56:17 -04:00
Carter Jernigan 3c9331c3eb [#333] Update version catalog syntax 2022-04-06 07:56:17 -04:00
Carter Jernigan d35c3b0f4d [#297] Add locking to buildSrc and build-conventions 2022-04-06 07:56:17 -04:00
Carter Jernigan 116a0de32f [#332] jgit 6.1.0 2022-04-06 07:56:17 -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 556524b4bc [#331] Compose 1.1.1 2022-04-06 07:56:17 -04:00
Carter Jernigan c0a5d2607c [#329] AndroidX Updates
Updated to use the latest splash screen API
2022-04-06 07:56:17 -04:00
Carter Jernigan 3844d9987c [#328] ktlint 0.45.1 2022-04-06 07:56:17 -04:00
Carter Jernigan 8745c51457 [#302] Gradle 7.4.2 2022-04-06 07:56:17 -04:00
Honza Rychnovsky aac784cc5b
[#245] Onboarding test doesn't show selections. (#354)
- Changed color of the ChipDropDown text.
- Changed tint color of the ChipDropDown text disclosure trinagle.
2022-04-06 07:21:03 +02:00
Honza Rychnovsky db13435d52
[#218] Prevent illegal number on ZEC amount
- Prevent illegal input in ZEC Send/Request form.
- New SDL-EXT-UI module for UI related SDK helper components.
- Regex for continuous validation of the entered ZEC amount.
- Added a new unit tests for validation of the regex too.
- Using the regex on ZEC Request and ZEC Send screens.
- Updated existing and created a new UI tests for validating entered ZEC amount values on Request and Send screens.
- Improve code to be validated with DetektAll static analyzation.
- Architecture documentation update with the newly added sdk-ext-ui module.
- Added run configuration sdk-ext-lib:connectedCheck for AS.
- Added check for digits count between grouping separators + tests.
- Refactoring test class name and its separator value.
2022-04-01 16:28:16 +02:00
Honza Rychnovsky 39949d8632
[#283] Kotlin API for Zcash URI parser
- Includes Zip321UriBuildFixture for the toUri() method from the Rust layer.
- Includes Zip321UriParseFixture for the fromUri() method from the Rust layer.
- Added ZecRequestTest class for testing ZecRequest methods.
- Align Zip321UriBuildFixture and Zip321UriParseFixture parameters.
- Added comments to the new() methods of Zip321BuildFixture and Zip321ParseFixture.
2022-03-30 14:16:57 +02:00
Carter Jernigan fb5fc153a5 [#278] Fix Firebase Test Lab configuration 2022-03-20 17:00:35 -04:00
Carter Jernigan 5b8aaaaed9 [#278] Store wallet birthday as null 2022-03-20 17:00:35 -04:00
Carter Jernigan 45e14e6a4b [#173] Adopt SDK API changes
This allows the app to consume the snapshot version of the SDK, which contains a number of API changes.

A followup issue of #279 was filed so that the app can be reverted to the release version of the SDK once the SDK API stabilizes again.
2022-03-16 13:00:13 -04:00
Honza de44984ea2 Pull request template update:
- link to Code Review Guidelines
- add Code Coverage run command
- reviewer instructions text improvement
2022-03-15 21:35:22 +01:00
Carter Jernigan 93ff8dad74 [#273] Enable deployment to Google Play
These deployments will be made to an internal testing track.
2022-03-15 12:26:40 -04:00
Honza b6c34f3cce [#270] Solving issue of unnecessary trailing commas of the new Gradle version 7.4.1 (causes build error):
"The feature "trailing commas" is only available since language version 1.4".
2022-03-15 16:40:28 +01:00
Honza 2e46e74abe [#270] Update Gradle version to 7.4.1. Update also Gradle distribution SHA-256 checksum. 2022-03-15 16:40:28 +01:00
Carter Jernigan bb43d2f7a6 [#271] Disable publishing of testnet 2022-03-11 06:19:04 -05:00
Carter Jernigan ee9e845322 [#267] Fix Google Play service key variable name 2022-03-09 12:23:16 -05:00
Carter Jernigan 2e42e132a2
[#231] Repackage classes to `co.electriccoin.zcash`
The sdk-ext module is not repackaged, because the SDK itself uses the cash.z.ecc.sdk package name
2022-03-08 14:05:03 -05:00
tokidoki 7aa4bdbc9a
[#247] Hide inert address-book button 2022-03-08 13:46:43 -05:00
Carter Jernigan 10dd04cdd0 Increase GitHub Actions build timeout 2022-03-07 13:47:50 -05:00
Carter Jernigan 0d420cf6dd [#264] Cancel concurrent pull request builds 2022-03-07 13:47:50 -05:00
Carter Jernigan ca68fcf9ae [#255] Pin GitHub Action versions
Previously versions were using tags.  By pinning them to SHAs, it ensures the versions cannot be changed.

Also note that I used the latest release, so many of the actions received a version bump as part of this change.
2022-03-07 13:47:50 -05:00
Carter Jernigan 85f2154657 [#259] Add deployment environment for deploy.yml 2022-03-07 11:21:35 -05:00
Carter Jernigan fcd3728f0a [#260] Rename keystore secrets
This will provide clarity for someone looking at the secrets on the GitHub deployment admin screens.  It will be clear that we have the upload key available to CI and not the final release key.
2022-03-07 11:21:35 -05:00
tokidoki b9dd9dc756 fix(docs): fixed wrong internal links in docs 2022-03-04 16:03:02 -05:00
Francisco Gindre aec6967b3e
Merge pull request #257 from zcash/256-fix-signing
[#256] Fix release signing config
2022-03-04 14:39:20 -03:00
Carter Jernigan 93347c3116 [#256] Fix release signing config 2022-03-04 06:44:43 -05:00
Carter Jernigan d410d62f64
[#224] Add module dependency diagram
Also fixed a typo in the documentation, as `build-conventions` was renamed to `build-convention` a few weeks ago to accomodate included builds
2022-03-02 19:48:07 -05:00
Carter Jernigan 3d4f9fb4b4
[#142] Send ZEC scaffold (#253)
Implements a basic scaffold for sending ZEC.

Some new model objects and an extension method were added that I hope to move to the SDK.

Followup issues include
 - Press-and-hold for the Send button #249
 - Prevent illegal input in input form #218
 - Prevent undefined behavior if locale changes #217
 - Add error handling to the Zec send screen #250
 - Add confirmation after send is created #252
2022-03-01 08:11:23 -05:00
Carter Jernigan 842fcd1574 [#233] Android Gradle Plugin 7.1.2 2022-02-28 08:05:22 -05:00
Carter Jernigan 2941e873c2 [#177] Change application package name
In a separate pull request, the class packages will be refactored to match this new package name
2022-02-24 07:17:49 -05: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
Carter Jernigan 6be2590ad8 [#116] Migrate to Material 3 2022-02-21 09:48:14 -05:00
Carter Jernigan 8efa866a3d [#228] Androidx Test 1.4.1-alpha04
Also corrected the fact that `test-core` and `test-runner` can be versioned independently
2022-02-21 09:26:57 -05:00
Carter Jernigan 260d5d10ac [#206] Compose 1.1
Also bump navigation-compose to 2.4.1 and lifecycle-compose to 2.4.1
2022-02-21 09:26:57 -05:00
Carter Jernigan 469c2ccd37 [#216] ktlint 0.44.0 2022-02-21 09:26:57 -05:00