Commit Graph

559 Commits

Author SHA1 Message Date
Lukas Korba 04d4c363d4
[#735] Setup swift package (#740)
- project updated to hold package for future modularization
2023-05-26 12:59:36 +02:00
Lukas Korba 49f7afd56a
[#730] Fix warnings with TCA 0-53 (#733)
- timer instead of self
- TCA updated to 0.53.2
- store.score warnings fixed
2023-05-24 15:44:34 +02:00
Lukas Korba 3cfba64f2a
[#731] Update Swiftlint section (#732)
- Swiftlint section updated to 0.50.3 version
2023-05-24 15:42:52 +02:00
Francisco Gindre 31d05d914b
Release/0.0.1-53 (#729)
* fix compiler issues

* bump build number
2023-05-23 20:22:21 -03:00
Francisco Gindre d10f594782
update ZcashLightClientKit to commit `ee3d082155bf542aa3580c84e6140a329633319a` (#728) 2023-05-23 15:25:23 -03:00
Lukas Korba 403d60bf9f
[#724] Adopt TCA 0.53.0 (#725)
- in general, cleanup of warnings:
- unused code in the tests
- cancellable ids updated
- fulfillment instead of wait
- library updated to 0.53.0
2023-05-23 17:57:43 +02:00
Lukas Korba b142609af9
[#720] User can proceed to send flow without funds (#723)
- the send button is enabled only when some funds are available
- the verified balance used for sufficiency of funds instead of total
- changed the pending transaction logic and split into sending/receiving instead
- code cleanup of unused CancelId
- UI cleanup, detail of receiving transaction rendered "to" prefix with no address

[#720] User can proceed to send flow without funds (#723)

- totalBalance -> totalSpendableBalance
- improved code syntax for the conditions in TransactionState deciding the status
2023-05-17 11:31:08 -03:00
Francisco Gindre b204c42a13
[#717] import birthday does not work as expected (#718)
This corrects the case for which the user does not input a birthday
to restore the wallet and it needs to fall back to sapling activation
2023-05-12 08:38:20 +02:00
Francisco Gindre 44039f7648
Add changelog and bump build number for 52 (#716) 2023-05-10 17:57:05 -03:00
Francisco Gindre a4e377e0d1
[#711] Transaction History not shown (#715)
Closes #711

also uses SDK commit that fixes this issue
https://github.com/zcash/ZcashLightClientKit/issues/1037

Point to commit `cf53edb3b82c9d7998043d6ff7a663ec8fd87b95`

Add resolved file

point to latest SDK commit
2023-05-10 17:52:13 -03:00
Lukas Korba c143f4b31d
[#709] Better error handling in tests (#713)
- Strings replaced with ZcashError
- unit test don't depend on error descriptions anymore

[#709] Better error handling in tests (#713)

- cleanup

[#709] Better error handling in tests (#713)

- alerts now show error message + code
2023-05-10 13:52:56 -03:00
Francisco Gindre 647eeea7aa
release 0.0.1-50 to testflight (#710) 2023-05-09 07:28:08 -03:00
Lukas Korba 041a630412
[#707] Adopt latest SDK (#708)
- TransactionState simplified and adopted to the latest ZcashTransaction
- WalletEvent simplified
- sendTransaction updated to the async/await
- unit tests fixed
2023-05-09 07:20:33 -03:00
Lukas Korba fe1e7b758c
[#705] Transaction detail lacks memo and addresses (#706)
- synchronizer's protocol cleaned up
- latest SDK adopted
- memos back toincleared transactions
- recipient back in cleared transactions
- unit tets fixed
- pending transaction memos are back
- recieved recipients no longer available, removed from the UI
2023-04-27 19:27:58 +02:00
Lukas Korba a727f49817
[#265] Integrate App Rating Alert (#703)
- async adaptations of the latest sdk
- review request TCA dependency added
- set of rules for the triggering the app rating dialog
- unit tests fixed
- unit tests for the review request client
- app review request logic disconnected from the production for now (added the TODO for the triggering)
2023-04-06 08:06:49 +02:00
Lukas Korba 36d2090654
[#698] RootView to use SwitchStore (#699)
- all alerts refactored and connected
- unit tests fixed
2023-03-31 07:25:13 +02:00
Michal Fousek c61b406372 Install ZcashLightClientKit from commit instead of feature branch 2023-03-24 12:51:30 +01:00
Lukas Korba ef26c835c2
[#691] Adopt sync/async synchronizer changes (#696)
- async APIs called instead of a sync one
- tests fixed
2023-03-23 16:10:18 +01:00
Lukas Korba 8294415a69
[#683] Zip log files into one (#692)
- files stored temporarily and then zipped
- the dependency API changed so it handles the temporary files and folders and returns the final logs.zip URL
- test fixed
2023-03-22 14:38:10 +01:00
Lukas Korba 4a3be9ac0b
[#684] Improvements for the derivation tool dependency (#689)
- dependency updated and simplified
- tests fixed
2023-03-21 11:09:26 +01:00
Lukas Korba 28e95efca9
[#678] Adopt TCA 0.52.0 (#688)
- updated, build & tests ok, no code changes needed
2023-03-21 11:03:56 +01:00
Lukas Korba 702b71103b
[#682] Adopt removal of the Notification center on the SDK side (#687)
- secant is buildable again, notifications replaced by publishers
- tests WIP
- all unit tests fixed
- syntax of dependencies consolidated
- syntax of .send and .receive states consolidated
2023-03-21 11:03:42 +01:00
Francisco Gindre c1847d4216
[#685] release 0.0.1 Build 49 (#686)
closes #685
2023-03-17 18:46:25 -03:00
Lukas Korba 59ad8f4c7b
[#673] End to end bugfix (#679)
- memo is nil for send transaction and transparent address
- memo is hidden from the UI when transparent address is used
- derivation tool respect the network set in the target
- unit tests fixed
- memo logic related to the address added
2023-03-17 18:46:41 +01:00
Francisco Gindre b55de57a9a
[#680] Add CHANGELOG entry and build bump for 0.0.1-48 (#681) 2023-03-15 12:47:29 -03:00
Francisco Gindre 604a840517
[#676] fix About.swift not being present on mainnet target (#677)
"SettingsView.swift:70:21: error: cannot find 'About' in scope (exit code: 1)"

Closes #676
2023-03-15 12:09:46 -03:00
Michal Fousek 5ce87b18a9
[#654] Convert SDKSynchronizerDependency to regular TCA dependency (#672)
Closes #654

- `SDKSynchronizerClient` is now regular TCA dependency like any other
  dependency that we have in the app.
2023-03-15 09:53:16 +01:00
Francisco Gindre 69c1aa12a3
[#674] release 0.0.1-47 (#675)
closes #674
2023-03-14 16:01:19 -03:00
Michal Fousek f46eaf69c5
[#653] Adopt SDK initialisation changes (#671)
Closes #653
2023-03-14 09:14:52 -03:00
Lukas Korba 88f81e774a
[#668] Balance Breakdown design enhancements (#669)
- layout & colors changed so it's not a modal semi-transparent view anymore
2023-03-14 09:10:08 -03:00
Michal Fousek 39d1472c45
Fix missing percentage on homepage while syncing (#670) 2023-03-14 12:31:53 +01:00
Francisco Gindre a74dfa03ae
[#663] Shield Funds button is enabled when there are no funds to shield (#665)
- This adds new logic for disabling the shield funds button and tests that
check that the state is consistent with the intended behaviour.
- handling button opacity is left for another PR
- one more condition to disable shield button
2023-03-14 10:04:49 +01:00
Francisco Gindre d5b92c32c5
[#666] Remove Graphics from "create new wallet" screen (#667)
Also removes padding from '.activeButtonStyle' and changes
padding throughout the app where it's needed
2023-03-14 09:54:04 +01:00
Francisco Gindre 72324f2a94
[#661] Send Button works even if it's apparently disabled (#664)
- This creates a view modifier that disables and dims the view in a
single line of code
- Also moves every button that can be disabled to use the ViewModifier
2023-03-14 09:50:31 +01:00
Francisco Gindre fe09ae7aef
[#660] Settings button is not part of a navigation bar (#662)
This deletes the HStack on the HomeView and adds the settings view into
the navigation bar trailing item
2023-03-14 09:42:34 +01:00
Lukas Korba c8037f714b
[#658] About Screen with version (#659)
- about screen implemented with version only for now but place for licences, etc.
2023-03-14 09:41:39 +01:00
Lukas Korba 37af62201d
[#652] Each logged TCA actions appears twice in the log (#657)
- the logging infrastructure is doing exactly the same as the pointfree's  _printChanges() so there has been a duplication of logs
2023-03-14 09:41:13 +01:00
Francisco Gindre 1c1eed592d
[#655] Release testflight 0.0.1-46 (#656)
closes #655
2023-03-13 11:53:25 -03:00
Lukas Korba f8191e33ac
[#626] Small UI-UX fixes for 0.0.1-45 (#649)
- all resolved except nav bar issue (separate ticket)
2023-03-13 08:53:21 +01:00
Lukas Korba 09380a169d
[#650] Layout changes for the send screen (#651)
- adding/editing memo proposed to be in a sheet popover
2023-03-13 08:50:32 +01:00
Francisco Gindre bae3ec974b
[#647] Adopt 0.19.1-beta (#648) 2023-03-12 10:14:37 -03:00
Francisco Gindre bb5af14f4a
[#597] Sync cannot be retried after a failure (#646) 2023-03-12 10:12:24 -03:00
Lukas Korba 1d86157198
[#631] Make Send Form fields avoid being blocked by keyboard (#645)
- hiding the keyboard on tap
- adapting the layout on the keyboard appearance
2023-03-09 16:40:03 +01:00
Michal Fousek 3de41fe289
[#599] Add ability to shield funds (#641)
Closes #599
2023-03-09 08:35:23 +01:00
Michal Fousek 3071652a65
[#632] Show error message for failed transaction (#642)
Closes #632
2023-03-08 15:56:17 -03:00
Lukas Korba dea5b19621
[#628] TAZ vs ZEC builds (#637)
- all instances of hardcoded ZEC are now dynamic depending on a target
- debug menu fixed
2023-03-08 19:50:09 +01:00
Michal Fousek ff58ae718c
[#639] Show valid balance after app start (#640)
Closes #639.

- The Secant app read `SynchronizerState` only from
  `SDKSyncronizerSynced` notification. So when app started and there was
  some latency between sync start and sync finish the Secant app didn't
  show valid balance.
- Now the Secant app reads `SynchronizerState` also from `SDKSyncronizerStarted`
  notification. So it shows valid balance right on the app start.
2023-03-08 15:14:01 +01:00
Michal Fousek ddc6bb7d86
[#618] Require specific version of SwiftGen (#638)
- We need to require specific version of SwiftGen because each version
  may generate different file. Which causes then problems with git.
- Convert build phase shell scripts to zsh.
2023-03-08 12:40:21 +01:00
Francisco Gindre fe9f73421c
[#635] Fix HomeTests (#636) 2023-03-07 20:43:56 -03:00
Francisco Gindre 454786e603
[#633] build and release from tag 0.0.1-45 (#634)
Closes #633
2023-03-07 18:48:53 -03:00