Commit Graph

503 Commits

Author SHA1 Message Date
Kevin Gorham 4d4e1bfadb
Fix: Cleanup startup code changes.
Revert changes that were made hastily over the holidays. This may lead to regressions but they can be handled as needed.

Addresses https://github.com/zcash/zcash-android-wallet/issues/261
Related to https://github.com/zcash/zcash-android-wallet-sdk/issues/223
2021-04-28 18:23:20 -04:00
Kevin Gorham d327ec57f8
Fix: Minor crash from responding to transactions when fragment is gone. 2021-04-28 18:18:09 -04:00
Kevin Gorham 068dcaf9ea
Fix: Update transaction colors per UX feedback. 2021-04-28 18:17:15 -04:00
Eljo 7ba8a6ae96 save work progress 2021-04-26 01:26:30 +02:00
Eljo 548b0f2185 Init commit 2021-04-26 00:30:36 +02:00
Eljo Prifti 31444ccb11
Merge branch 'master' into feature/issu_#251 2021-04-25 16:19:07 +02:00
Eljo 0f0a406480 PR request 2021-04-25 16:17:01 +02:00
Kevin Gorham 0382be4b60
Merge pull request #257 from zcash/feature/auto-shielding
Release 2021-04-23
2021-04-23 18:42:44 -04:00
Kevin Gorham a23c681e53
Update version and CHANGELOG and checkpoints.
Created wallet-specific checkpoints so that it is easier to see where future ones belong.
2021-04-23 18:38:55 -04:00
Kevin Gorham 1d75954ed3
New: Incorporate design feedback for transaction history. 2021-04-23 18:30:44 -04:00
Kevin Gorham a6c60741d8
Miscellaneous cleanup and minor version updates. 2021-04-23 14:28:38 -04:00
Kevin Gorham 67a7df703d
New: Allow syncrhonizer to restart in certain conditions. 2021-04-23 14:23:46 -04:00
Kevin Gorham cbcb628466
New: Utility function for popping the backstack. 2021-04-23 14:22:44 -04:00
Kevin Gorham 517471208e
New: Improved handling of critical errors. 2021-04-23 14:21:52 -04:00
Kevin Gorham 12f736a5ca
New: Improved API for copying text. 2021-04-23 14:21:14 -04:00
Kevin Gorham ba04c8acc5
New: Improve messaging during a scan.
Added "Preparing to scan" and "Finalizing" messages at the right moments and the scan feels a bit more responsive, as a result.
2021-04-23 14:19:39 -04:00
Kevin Gorham 0fecf96d49
New: Refactor string resources to separate non-translated values.
This is just an initial attempt at making it clear which strings are translated and which are not. Non-translated values should stand out a bit more and also a developer should think about translations when adding new strings. These changes help support those two goals.
2021-04-23 14:14:59 -04:00
Kevin Gorham 033730ac43
New: Add ability to copy the contents of the memo. 2021-04-23 14:12:43 -04:00
Kevin Gorham 0d84aaa726
New: Refactor UiModel for transactions.
Utilize a StateFlow, instead, and also move the UiModel logic from the fragment into the viewModel.
2021-04-23 14:12:05 -04:00
Kevin Gorham 9cc941eafc
Fix: Correct errors on certain devices around biometrics. 2021-04-23 12:26:53 -04:00
Kevin Gorham 8030f3c88c
New: Generalize vibration utility function. 2021-04-23 12:26:51 -04:00
Kevin Gorham cd0dd24814
New: App string extension. 2021-04-23 12:26:49 -04:00
Kevin Gorham 5291e3913e
New: Update developer wallet for testnet. 2021-04-23 12:26:48 -04:00
Kevin Gorham ffa2c48e86
New: Balance pending extension.
We might want to consider moving this into the SDK.
2021-04-23 12:26:46 -04:00
Kevin Gorham d425130b4d
New: Add multi-word paste support when restoring a wallet.
This also improves the overall experience around importing seed words and allows a full seed phrase to be pasted and parsed at once.
2021-04-23 12:26:43 -04:00
Kevin Gorham 26c82974a5
Fix: Address tough bug on older devices that crashed during restore.
The root issue seemed to be, if a keyboard was shown for a focused EditTextView that was also disabled, older versions of android would crash inside the input manager which was impossible to catch with a try/catch block. The end result was major: some users could not restore their wallets. This work around addresses the problem by keeping the focused view enabled at all times. In theory this could result in some weird behavior but in practice, that's unlikely.
2021-04-23 12:26:41 -04:00
Kevin Gorham 53957746ac
New: Add 'clear' feature when restoring wallet seed words. 2021-04-23 12:26:39 -04:00
Kevin Gorham f676019958
New: Add MemoUtil
This is in anticipation of moving memo parsing back down to the rust layer.
2021-04-23 12:26:37 -04:00
Kevin Gorham 95719eac57
New: Extension for splitting addresses into chunks. 2021-04-23 12:26:36 -04:00
Kevin Gorham 5657ebc7d1
New: Dialog extensions for critical messages and confirmations. 2021-04-23 12:26:34 -04:00
Kevin Gorham e256054219
Fix: Minor dialog errors. 2021-04-23 12:26:32 -04:00
Kevin Gorham b56910fde5
New: Testnet launcher icons. 2021-04-23 12:26:30 -04:00
Kevin Gorham c046d3059e
New: Rescan feature.
Allow a user to correct common errors by rewinding the chain and scanning again. We provide 3 options: quick - the shortest possible rescan that can occur, based on witnesses. full - rescan all the way back to the wallet's birthday. wipe - delete all sqlite database and begin again from the moment after the user entered their seed phrase.
2021-04-23 12:26:29 -04:00
Kevin Gorham 74da19a814
New: Capture performance metrics for scanning.
The SDK now provides hooks for receiving a callback whenever a scan completes that includes information about the number of blocks scanned and duration. Use this info to report device metrics around scan speeds. This is in anticipation of greatly improving these numbers in the near future. Before that, we want to start collecting a baseline measurement.
2021-04-23 12:26:27 -04:00
Kevin Gorham bf3fa75b25
New: Periodically solicit user feedback.
This is one of the metrics that we want to collect internally at ECC over the term to see how user sentiment changes for the next several months as we work to add a lot of features and improvements.
2021-04-23 12:26:24 -04:00
Kevin Gorham 94ec0464b7
New: Auto-shielding Easter Egg.
The intention of this feature is to provide a way for adding the minimum viable implementation of t-addr support. Effectively, just enough to get transparent funds into the wallet's shielded pool. Robust management of UTXOs is and should be outside the scope of a shielded wallet.
2021-04-23 12:26:22 -04:00
Kevin Gorham 2124b1fea2
New: Update to latest SDK changes.
Mainly involves using a network parameter rather than a separate build for testnet and mainnet. This network object is also now the source of the SAPLING_ACTIVATION_HEIGHT, which varies by network. The other major change is the way wallet initialization works, particularly around viewing keys. Under the hood, this involves a database migration so it is worth testing the upgrade path.
2021-04-23 08:40:05 -04:00
Eljo Prifti 96c57d67c2
Change button text (#253)
Click change button text from "More Info" to "Done"
2021-04-22 15:59:31 -04:00
Eljo 272483b4f5 Balace detail fragment
Create view
Create class
2021-04-18 21:21:56 +02:00
Mandeep 5362dcd6a8
New: update design for Wallet History (#249)
* New design for Wallet History
* History Row designed
Colour combinations used to design History row as per comment in same branch
Co-authored-by: Mandeep <bhalothiamandeep@gmail.com>
2021-04-16 14:37:50 -04:00
Kevin Gorham 0dcd2e00eb
Merge pull request #250 from herou/add_more_info
Enhancement: Add option to view the error message during a failed send
2021-04-16 14:30:55 -04:00
Eljo 88683ad938 Add option to view the error message during a failed send 2021-04-11 22:40:00 +02:00
Kevin Gorham 419dc0c672
Merge pull request #244 from zcash/integration/issue-206
Integration/issue 206
2021-04-06 16:42:41 -04:00
Kevin Gorham 13571acf48
Fix initial state after merged changes.
After looking at this more closely, it's clear that a refactor would help so that the view model drives the logic. However, that change is bigger than the scope of this work so I'll save it for an enhancement and just do this small change, instead.
2021-04-06 16:36:52 -04:00
Kevin Gorham a6fbb1f52d
Simplify address call. 2021-04-06 14:39:34 -04:00
Kevin Gorham a1ccab9772
Revert unrelated formatting changes.
This would be better addressed with ktlint but for now we can just avoid changes to unrelated code.
2021-04-06 14:26:37 -04:00
Kevin Gorham 982e583386
Combine approaches from the 2 PRs on this issue. 2021-04-06 14:26:37 -04:00
Kevin Gorham da8c4aec7b Merge remote-tracking branch 'mandeep/MB-206-Memo-Disabled' into integration/issue-206
Conflicts:
    app/src/main/java/cash/z/ecc/android/ui/send/SendFragment.kt
2021-04-06 14:09:06 -04:00
Kevin Gorham db3cc7db3d
Control visibility in one place. 2021-04-06 14:04:35 -04:00
Kevin Gorham 86f0c1a6b0
Remove synthetics and fix formatting. 2021-04-06 13:58:14 -04:00