Commit Graph

306 Commits

Author SHA1 Message Date
Milan Cerovsky be8ed7a8ad Activity Compose Composition Strategy handling 2024-08-23 07:20:30 +02:00
Milan Cerovsky 3411a4c5c5 Test hotfixes 2024-08-23 06:33:32 +02:00
Milan Cerovsky fd7f6f2e6e Code cleanup 2024-08-23 06:12:56 +02:00
Milan Cerovsky c828364385 Merge branch 'refs/heads/main' into exchange-rate-implementation
# Conflicts:
#	ui-lib/src/androidTest/java/co/electriccoin/zcash/ui/fixture/MockSynchronizer.kt
#	ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/receive/view/ReceiveView.kt
#	ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/AndroidSend.kt
#	ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/model/AmountState.kt
#	ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/view/SendView.kt
2024-08-23 06:05:29 +02:00
Honza Rychnovský 76a89c9b91
[#1538] Adopt TEX addresses related changes (#1539)
* Adopt TEX addresses related changes

* Send screen keyboard ime action handling

* Send screen amount handling for tex addresses

* Dependency update

* Test hotfixes

* Test hotfixes

* Code cleanup

* Test hotfix

* Test hotfix

* Min api bump

* Test hotfixes

---------

Co-authored-by: Milan Cerovsky <milan@z.cash>
2024-08-23 06:00:36 +02:00
Milan Cerovsky e6e3c36525 Design hotfix 2024-08-21 18:59:42 +02:00
Honza 8cf586f27b Fix test fixtures 2024-08-20 18:29:41 +02:00
Milan Cerovsky b39e4cc006 Code cleanup 2024-08-20 18:19:31 +02:00
Milan Cerovsky de7be86ec1 Send screen amount focus handling 2024-08-20 15:53:51 +02:00
Milan Cerovsky a75d92fbc7 Code cleanup 2024-08-19 16:02:35 +02:00
Honza 7d286f5de7 New navigation target 2024-08-19 14:23:20 +02:00
Honza 6ac45f2dbe Unify MockSynchronizer functions report 2024-08-19 14:17:06 +02:00
Milan Cerovsky 222bb4309b Test hotfixes 2024-08-19 13:53:09 +02:00
Milan Cerovsky a418fcf833 Code cleanup 2024-08-19 13:25:41 +02:00
Honza 1cdaca1473 Sort new dependencies 2024-08-19 11:45:17 +02:00
Milan Cerovsky 414f7812a9 Disabling of usd text field 2024-08-16 07:22:29 +02:00
Milan Cerovsky 7a6b5f3eb4 Design hotfix 2024-08-14 11:50:30 +02:00
Milan Cerovsky bff3827dd3 Design hotfix 2024-08-14 11:37:11 +02:00
Milan Cerovsky 277e8e5eca Code cleanup 2024-08-14 09:27:54 +02:00
Milan Cerovsky c03c595b28 Exchange Rate redesign 2024-08-14 09:06:12 +02:00
Milan Cerovsky 77f1c163ad Merge branch 'refs/heads/main' into exchange-rate-implementation
# Conflicts:
#	CHANGELOG.md
#	docs/whatsNew/WHATS_NEW_EN.md
2024-08-12 17:29:01 +02:00
Honza Rychnovský c9875c0732
[#1547] Adopt latest Zcash SDK v2.1.3
* [#1547] Adopt latest Zcash SDK v2.1.3

- Closes #1547
- Changelogs update

* Switch to production Zcash SDK 2.1.3
2024-08-09 08:47:37 +02:00
Milan Cerovsky f640082cfc Exchange rate design implementation 2024-08-07 12:28:45 +02:00
Milan Cerovsky 0cf64ae202 Exchange rate design implementation 2024-08-07 12:13:17 +02:00
Milan Cerovsky 72d2e5b478 Exchange rate implementation 2024-08-06 14:20:50 +02:00
Milan Cerovsky 6ef1ed4e64 Exchange rate implementation 2024-08-06 13:52:25 +02:00
Milan Cerovsky 2e2ba4f123 Code cleanup
Closes #532
Closes #578
2024-07-26 10:21:23 +02:00
Milan Cerovsky ec47c2625d Send Review Screen design change
Closes #532
Closes #578
2024-07-26 09:56:50 +02:00
Milan Cerovsky 095234a6cd Exchange Rates implementation
Closes #532
Closes #578
2024-07-26 09:45:00 +02:00
Honza 28ce6b5a08 Adopt TEX addresses related changes 2024-07-23 16:21:32 +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
Milan 906873b6fb
Activity configuration handling (#1511)
* Activity configuration handling

* Code cleanup

* Changelog update

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-22 12:31:50 +02:00
Milan a503091ab2
QR scanner better cropping & support for inverted colors
* QR scanner fixes

* QR cropping

* Code cleanup

* Scanning frame offsets change

* Changelog update

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-19 14:28:59 +02:00
Milan 741601b65f
[#1467] Activity resizing according to soft keyboard (#1506)
* [#1467] Activity resizing according to soft keyboard

Closes #1467

* [#1467] Seed keyboard handling

* [#1467] Seed keyboard handling

Closes #1467

* [#1467] Documentation update

* TODO reference

* [#1467] Documentation update

Closes #1467

* [#1467] Detekt fix

Closes #1467

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-19 12:00:50 +02:00
Milan 0bc7757aa2
[#1492] Restore success dialog refactor (#1507)
* [#1492] Restore success dialog refactor

Closes #1492

* [#1492] Code cleanup

Closes #1492

* Create a separate Android layer

* Changelog update

* Move restore success string resources

* Rename logic related variables

+ File a follow-up issue

* Resources rename

* Move drawable to its package

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-19 10:17:45 +02:00
Milan 1a0b634ab6
[#1499] StyledBalance configuration defaults added
* [#1499] StyledBalance configuration defaults added

Closes #1499

* [#1499] Code cleanup

Closes #1499

* Rename model paramaters

As the floating point is not the diving point for the different styles

* Changelog update

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-18 14:07:15 +02:00
Milan 23e1bb7e75
[#1440][#1415] In-app update information - What's New screen
* [#1440] Inject in-app-update information

* [#1415] What's new screen

Closes #1415

* [#1415] Code cleanup

Closes #1415

* [#1415] Test hotfix

Closes #1415

* Clear What’s New docummentation

* Improve parser logic

So it’s able to parse the first changelog entry or the first unfinished one (i.e. [Unreleased] entries only)

* Order alphabetically

* [#1440] About redesign

* Changelog update

* Use of small button style on About

- Primary button’s parameters have been slightly changed, too

* Add IN_APP_UPDATE_PRIORITY to gradle.properties

* Rename functions

To align with the existing pattern

* Sort alphabetically

* Add ChangelogFixture

* Create ChangelogFixture

* Move navigation from Android layer to Navigation

* Fix changelog parsing

This way, it will also work with `-` in the middle of the sentence. With such a solution, we need to ensure the `\n-` characters sequence in every changelog entry. But it’s replaced by the bullet character at the end. It will work for Google Play within in-app updates, as well.

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-07-18 10:48:02 +02:00
Honza Rychnovský bbf730d8f5
[#1414] Hide Balances
* [#1414] Hide Balances

- Closes #1414
- Reworked TopAppBar back navigation-related parameters across the app to enable us to inject a different action - hide balances instead of just the back navigation
- Tests updated to reflect the above changes
- A simple new button UI test was added, too
- Changelog update
2024-07-03 15:29:49 +02:00
Milan 42deed3391
#814 Compose back handler (#1494)
* #814 Compose back handler

Closes #814

* #814 Test hotfixes

Closes #814

* Back handling for onboarding

Closes #814

* [#814] Changelog update

Closes #814

---------

Co-authored-by: Milan Cerovsky <milan.cerovsky@leeaf.life>
2024-07-01 12:44:51 +02:00
Honza Rychnovský 508552f0fa
[#1496] Authentication success after previous failure
- Closes #1496
- The onFailed callback now does not reset the helper compose variable anymore
- Toast duration shortened in the auth failed state to improve its UX
- Changelog update
2024-06-28 16:23:45 +02:00
Honza Rychnovský e1ab2e2af6
[#1047] Consistent Zatoshi amounts representation
* [#1047] Consistent Zatoshi amounts representation

- Closes #1047
- Tests
- Changelog update

* Address review comment
2024-06-27 16:00:07 +02:00
Milan 31649ff718
[#1413] [#1460] [#1461] QR code scanning from gallery picker (#1479)
* [#1413] [#1460] [#1461] QR code scanning from gallery picker

Closes #1413
Closes #1460
Closes #1461

* [#1413] [#1460] [#1461] Code cleanup

* [#1413] [#1460] [#1461] Camera scan frame anchored to a static view

Closes #1413
Closes #1460
Closes #1461

* [#1413] [#1460] [#1461] Code cleanup

Closes #1413
Closes #1460
Closes #1461

* Changelog update

- Unrelated change: this commit also removes a log from Navigation that was introduced in some of the previous changes and does not describe the actual execution state

---------

Co-authored-by: Milan Cerovsky <milan.cerovsky@leeaf.life>
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-06-21 10:36:45 +02:00
Honza Rychnovský 987595eaa2
[#1011] Dark mode
* [#1011] Rework buttons design system

* [#1011] Dark mode in Onboarding screen

* [#1011] Welcome animation dark mode

* [#1011] SecurityWarning screen dark mode

+ Proper coloring of the labeled checkbox across the app

* [#1011] NewWalletRecovery dark mode

+ Chip and ChipGrid coloring
+ Navigation button and Dialog coloring
+ NewWalletRecovery screen button copy update

* [#1011] RestoreView dark mode

+ Chip components coloring

* [#1011] RestoreView.Birthday dark mode

+ Fix Primary/Secondary colors

* [#1011] Settings screen dark mode

- Fix TopAppBar colors in dark mode

* [#1011] Support screen dark mode

* Fix static code analysis warnings

* [#1011] About screen dark mode

* [#1011] ChooseServer screen dark mode

+ LabeledRadioButton coloring
- Closes #1410

* [#1011] AppAlertDialog dark mode

* [#1011] Not Enough Free Space screen dark mode

- Screen redesigned to align with latest design specifications
- Added Go To System Settings and Go To App Settings buttons to the screen
- Closes #1337
- Few unused resources removed

* [#1011] App Update screen dark mode

* [#1011] Balances screen dark mode

+ dividers’ color review

* [#1011] Receive screen dark mode

* [#1011] Send.Form screen dark mode

* [#1011] Send.Confirmation screen dark mode

* [#1011] Send.MultipleTrxError screen dark mode

* [#1011] Scan screen dark mode

* [#1011] TransactionHistory screen dark mode

* Changelog update

* Address review comments
2024-06-19 14:09:28 +02:00
Milan-Nerevar 4cdb9f3024
[#1412] Receive Page split into horizontal pager
* ISSUE-1412 Receive Page split into horizontal pager

* ISSUE-1412 Code cleanup

* ISSUE-1412 Code cleanup

* Resolve code analysis warnings

* Improve vertical paddings

- So the entire screen is scrollable as expected
- This also moves us towards the newly updated screen design

---------

Co-authored-by: Milan Cerovsky <milan.cerovsky@leeaf.life>
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-06-14 15:59:17 +02:00
Serhii Ihnatiev 0a35c4fffd
[#1259] Add bubble message component
* [#1259] - Add bubble message component

- Closes #1418
- Wrap history and send message fields in bubble style
- Update changelog

* Change bubble message component file name

* Apply bubble design to SendConfirmationView

* Use different design for sent and received history transactions

* Simplify Send transaction recognition

* Color bubble arrow in transparent receiver case

---------

Co-authored-by: Serhii Ihnatiev <serhii.ihnatiev@ext.grandcentrix.net>
Co-authored-by: Honza Rychnovský <rychnovsky.honza@gmail.com>
2024-06-14 08:54:20 +02:00
Serhii Ihnatiev 34e741e3b3
[#1418] Display all transaction messages
* [#1418] - Display all transaction messages as separate items

- Closes #1418
- Fix new line indent
- Mention functionality in the changelog
- Use plurals for title when displaying transaction history messages

---------

Co-authored-by: Serhii Ihnatiev <serhii.ihnatiev@ext.grandcentrix.net>
2024-06-14 07:33:56 +02:00
Honza Rychnovský 6f878ea609
[#1463] Display Disconnected app state
- Closes #1463
- Disconnected dialog text update
- Changelog updated
2024-06-05 12:52:43 +02:00
Honza Rychnovský d813c1a9da
[#1458] Detect unavailable service and show a dialog
* [#1458] Detect unavailable service and show a dialog

- Closes #1458
- Changelog update

* Provide unsorted trx list when disconnected

- These changes also improve the app’s ability to use the SDK’s APIs to provide a transaction history list, even in a disconnected state. In such a case, the list is sorted by its original order.
- Changelog update
2024-06-03 18:41:06 +02:00
Honza Rychnovský 75e90607d1
[#1456] runCreateTransactions on lifecycleScope
- Closes #1456
- Also, these changes leverage updated snapshot Zcash SDK version  2.1.2
- Changelog update
2024-06-03 08:12:07 +02:00
Honza Rychnovský 030d2e20b0
[#1085] Grid pattern in the screen background
- Closes #1085
- Closes #1091
- These are prerequisites for the Dark mode adoption within #1011
- A few unused UI components have been removed to simplify the dark mode adoption
- BlankSurface and GridSurface have been added and used instead of the previous GradientSurface
- A new BlankBgScaffold, GridBgScaffold, BlankBgColumn, and GridBgColumn UI components have been prepared to provide an easy grid or blank screen background adoption across the whole app
- Several colors from resources have been eliminated, as the design doc simplified its color palette
- The grid pattern has been added to the screens according to the design doc and iOS platform
- Changelog updated
2024-05-30 13:32:35 +02:00