Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/approve eip 681 #1847

Merged
merged 18 commits into from
Oct 14, 2020
Merged

feature/approve eip 681 #1847

merged 18 commits into from
Oct 14, 2020

Conversation

estebanmino
Copy link
Contributor

@estebanmino estebanmino commented Sep 23, 2020

Description

Write a short description of the changes included in this pull request.

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Issue

Resolves #1828

@estebanmino estebanmino marked this pull request as ready for review September 25, 2020 17:25
@estebanmino estebanmino requested a review from a team as a code owner September 25, 2020 17:25
@estebanmino estebanmino added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Sep 25, 2020
@omnat omnat added this to the v1.0.4 milestone Oct 3, 2020
@ibrahimtaveras00 ibrahimtaveras00 added QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Oct 5, 2020
@estebanmino estebanmino added needs-qa Any New Features that needs a full manual QA prior to being added to a release. and removed QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed labels Oct 8, 2020
@estebanmino estebanmino changed the title feature/full eip 681 feature/approveeip 681 Oct 8, 2020
@estebanmino estebanmino changed the title feature/approveeip 681 feature/approve eip 681 Oct 8, 2020
Copy link
Member

@andrepimenta andrepimenta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@ibrahimtaveras00 ibrahimtaveras00 added QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Oct 13, 2020
@estebanmino estebanmino added needs-qa Any New Features that needs a full manual QA prior to being added to a release. and removed QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed labels Oct 14, 2020
@andrepimenta andrepimenta removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Oct 14, 2020
Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA Passed 👍

@ibrahimtaveras00 ibrahimtaveras00 added QA Passed A successful QA run through has been done and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Oct 14, 2020
@estebanmino estebanmino merged commit a71910b into develop Oct 14, 2020
@estebanmino estebanmino deleted the feature/full-eip-681 branch October 14, 2020 21:26
rickycodes added a commit that referenced this pull request Nov 9, 2020
* Remove redundant TransactionEdit component, move logic to TransactionEditor

* add AnimatedCustomGas

* Move all animation logic into Animated Transaction Modal

* TransactionReviewFeeCard: change toggleCustomGasModal to edit

* toggleCustomGasModal --> edit

* AnimatedTransactionModal: Make animations function from wallet send flow, custom gas modal renders properly

* Confirm: use CustomGas from UI, visually in working state but not yet functionally

* Confirm: setting custom gas from selectors or input works

* Bug fix: can't tap edit before gas estimation fully complete

* bug fix: gas not showing after selection

* Confirm: rafactor, move class functions

* remove redundant function

* ApproveTransactionReview: new components. Takes logic from ApproveView/Approve. Remove dead code

* Approve: break out logic into ApproveTransactionReview, plug with AnimatedTransactionModal, use UI/CustomGas, remove dead code

* ApprveTransactionReview: add componentDidUpdate to update gas

* formatting

* ApproveTransactionView: use ActionView for buttons

* ESLINT: remove dumb componentDidUpdate no setState rule

* Fix paddings

* change confirm to approve

* add new test + update snapshots

* REMOVE SendFlow/CustomGas RIP

* use component variables for animated values instead of state

* use optional chaining on react children

* Customas: remove '' as possible value to checksummedFrom

* AnimatedTransactionModal: dedupe code, move all logic into render

* Apply changes from #1847 inside ApproveTransactionReview

* update snapshot

* rafactor gas speed selection, put in parent state (Confirm) to pass down as props

* Only apply buttonStyle animation for iOS

* Leave space for the gas error

* Add margin to the bottom as well

* Add no-did-update-set-state rule back and disable where we're doing it instead

Co-authored-by: rickycodes <[email protected]>
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
* approve

* handle toggle

* handle parsiong errors

* ckeanup

* ckeanup

* locales

* fix

* add origin to deeplinks

* AppConstants

* header

* handle

* ui

* chain id

* generateApproveData

* hex
rickycodes added a commit that referenced this pull request Jan 31, 2022
* Remove redundant TransactionEdit component, move logic to TransactionEditor

* add AnimatedCustomGas

* Move all animation logic into Animated Transaction Modal

* TransactionReviewFeeCard: change toggleCustomGasModal to edit

* toggleCustomGasModal --> edit

* AnimatedTransactionModal: Make animations function from wallet send flow, custom gas modal renders properly

* Confirm: use CustomGas from UI, visually in working state but not yet functionally

* Confirm: setting custom gas from selectors or input works

* Bug fix: can't tap edit before gas estimation fully complete

* bug fix: gas not showing after selection

* Confirm: rafactor, move class functions

* remove redundant function

* ApproveTransactionReview: new components. Takes logic from ApproveView/Approve. Remove dead code

* Approve: break out logic into ApproveTransactionReview, plug with AnimatedTransactionModal, use UI/CustomGas, remove dead code

* ApprveTransactionReview: add componentDidUpdate to update gas

* formatting

* ApproveTransactionView: use ActionView for buttons

* ESLINT: remove dumb componentDidUpdate no setState rule

* Fix paddings

* change confirm to approve

* add new test + update snapshots

* REMOVE SendFlow/CustomGas RIP

* use component variables for animated values instead of state

* use optional chaining on react children

* Customas: remove '' as possible value to checksummedFrom

* AnimatedTransactionModal: dedupe code, move all logic into render

* Apply changes from #1847 inside ApproveTransactionReview

* update snapshot

* rafactor gas speed selection, put in parent state (Confirm) to pass down as props

* Only apply buttonStyle animation for iOS

* Leave space for the gas error

* Add margin to the bottom as well

* Add no-did-update-set-state rule back and disable where we're doing it instead

Co-authored-by: rickycodes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release QA Passed A successful QA run through has been done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EIP-681 URL and QRcode for "approve" function does not work
4 participants