Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

feat: AIP26 handling #2929

Merged
merged 40 commits into from
Oct 14, 2020
Merged

feat: AIP26 handling #2929

merged 40 commits into from
Oct 14, 2020

Conversation

clucasalcantara
Copy link
Contributor

@clucasalcantara clucasalcantara commented Oct 5, 2020

Summary

  • Add useDeeplink custom hook
  • Add process-url listener
  • Setup transfer deeplink handling

@samharperpittam Some testing guidelines:

1 - Open the ARK Wallet
2 - Paste this deepilnk into your browser and hit enter:
ark:transfer?coin=ark&network=mainnet&recipient=DNjuJEDQkhrJ7cA9FZ2iVXt5anYiM8Jtc9&amount=1.2&memo=ARK

Case Scenarios:
1 - With no profile selected: You should receive a warning toast asking you to select a profile
2 - With profile selected but no wallet selected: You should receive a warning toast asking you to select a wallet
3 - With profile and wallet selected: You should be redirected to the transfer page with amount, smartbridge, and recipient pre-filled.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@clucasalcantara clucasalcantara self-assigned this Oct 5, 2020
@ghost ghost added Complexity: Low Less than 64 lines changed. Type: Feature The issue is a request for new functionality. Status: In Progress The issue or pull request is being worked on. labels Oct 5, 2020
@codecov
Copy link

codecov bot commented Oct 7, 2020

Codecov Report

Merging #2929 into develop will increase coverage by 41.07%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##           develop     #2929       +/-   ##
=============================================
+ Coverage    58.92%   100.00%   +41.07%     
=============================================
  Files          373       351       -22     
  Lines         9325      5001     -4324     
  Branches      1934       913     -1021     
=============================================
- Hits          5495      5001      -494     
+ Misses        3603         0     -3603     
+ Partials       227         0      -227     
Flag Coverage Δ
#unit 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/app/App.tsx 100.00% <ø> (ø)
.../services/plugin-manager/sandbox/events-sandbox.js
src/renderer/services/feed.js
...store/migrations/2.7.0 - fix plugin sort params.js
src/renderer/components/Input/InputFee.vue
...TransactionForm/TransactionFormSecondSignature.vue
...t/WalletBusiness/WalletBusinessShowBridgechain.vue
...components/PluginManager/PluginManagerSideMenu.vue
...nents/Search/SearchFilter/SearchFilterDelegate.vue
src/renderer/mixins/index.js
... and 715 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 021b1c4...85eca2d. Read the comment docs.

@clucasalcantara clucasalcantara marked this pull request as ready for review October 7, 2020 14:41
@ghost ghost added Status: Needs Review The issue or pull request needs a review by a developer of the team. and removed Status: In Progress The issue or pull request is being worked on. labels Oct 7, 2020
@luciorubeens
Copy link
Contributor

@clucasalcantara Conflicts

@clucasalcantara
Copy link
Contributor Author

@clucasalcantara Conflicts

Solved @luciorubeens updating snapshots and should be ready 👌🏽

@faustbrian faustbrian merged commit d092c43 into develop Oct 14, 2020
@ghost ghost deleted the feat/aip-26-handling branch October 14, 2020 12:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: Low Less than 64 lines changed. Status: Needs Review The issue or pull request needs a review by a developer of the team. Type: Feature The issue is a request for new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants