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

Earn: Deprecation / Refactoring / Test #217

Merged
merged 40 commits into from
Dec 13, 2023
Merged

Conversation

sk-enya
Copy link
Collaborator

@sk-enya sk-enya commented Nov 29, 2023

📋 closes: #59

Overview

Describe what your Pull Request is about in a few sentences.

Tasks

  • No debug console statement added
  • Should use only typescript.
  • Does have unit test for each touched file with 90% coverage
  • Does have an integration test if any UI changes.

Changes

Describe your changes and implementation choices

  • Change 1
  • Change 2
  • ...

Testing

Snapshots for test coverage for changed files.

UI Snaps

Add screenshots or video if any visuals changes are there so would be helpful for review.

@sk-enya sk-enya marked this pull request as draft November 29, 2023 16:34
@sk-enya sk-enya force-pushed the fix/deprecating-earn-and-tests branch from 8cc3441 to e4ffa1a Compare November 29, 2023 17:26
 - actions: addLiquidity, checkAllowance, earnL1, earnL2
 - component: earnDepositModal
 - cleanup modal/index.ts
 - reducers: approvedAllowance and cases for the actions
 - reducers: flag for earn deposit modal
 - services: approveERC20_L2LP, approveERC20_L1LP, addLiquidity, liquidityEstimate
 - removed unecessory wrapper component
 - move earn to tsx
 - updates styles import
 - updated tooltip font sizes
 - fix routeList import for Earn page
@sk-enya sk-enya force-pushed the fix/deprecating-earn-and-tests branch from c452852 to 39f849c Compare December 5, 2023 14:44
@sk-enya sk-enya marked this pull request as ready for review December 6, 2023 20:56
Copy link
Contributor

@jemeza jemeza left a comment

Choose a reason for hiding this comment

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

We're you going to add e2e test for the earn page?

 - fix withdraw earn stake tokens modal change
 - added withdraw token confirmation modal
 - trigger withdraw liquidity MM on confirm.
@sk-enya sk-enya merged commit f1882bc into main Dec 13, 2023
3 of 5 checks passed
@sk-enya sk-enya changed the title Earn: Deprecation / Refactoring / Test / E2E Earn: Deprecation / Refactoring / Test Dec 13, 2023
@sk-enya sk-enya deleted the fix/deprecating-earn-and-tests branch December 21, 2023 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecating "Earn"
3 participants