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

feat: swap component refactor limits #7588

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

just-toby
Copy link
Contributor

Description

add feature flag for limits and refactor the swap UI a little bit to allow for the new tab.

Linear ticket:
Relevant docs: https://www.notion.so/uniswaplabs/Limit-orders-kickoff-936d6300ef7844958851273babe89886

Screen.Recording.2023-11-14.at.2.39.53.PM.mov

@just-toby just-toby requested review from cartcrom, tinaszheng and a team November 14, 2023 22:43
Copy link

vercel bot commented Nov 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 10:59pm

@just-toby just-toby changed the title Feat/swap component refactor limits feat: swap component refactor limits Nov 14, 2023
Copy link
Contributor

@tinaszheng tinaszheng left a comment

Choose a reason for hiding this comment

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

lfg

@@ -608,8 +608,10 @@ export function Swap({
const isDark = useIsDarkMode()
const isUniswapXDefaultEnabled = useUniswapXDefaultEnabled()

const [currentTab, setCurrentTab] = useState<SwapTab>(SwapTab.Swap)

const swapElement = (
Copy link
Contributor

Choose a reason for hiding this comment

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

i think we should move SwapElement into its own file

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

Merging #7588 (46c4819) into main (a1bd6f5) will increase coverage by 0.13%.
Report is 1 commits behind head on main.
The diff coverage is 85.71%.

Flag Coverage Δ
cloud-tests 83.60% <ø> (?)
unit-tests 43.15% <85.71%> (+0.03%) ⬆️

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

Copy link

cypress bot commented Nov 14, 2023

Passing run #15528 ↗︎

0 127 0 0 Flakiness 0

Details:

feat: swap component refactor limits
Project: Uniswap Interface Commit: 46c48198f6
Status: Passed Duration: 03:58 💡
Started: Nov 14, 2023 11:00 PM Ended: Nov 14, 2023 11:04 PM

Review all test suite changes for PR #7588 ↗︎

@just-toby just-toby merged commit 52dc441 into main Nov 15, 2023
26 checks passed
@just-toby just-toby deleted the feat/swap-component-refactor-limits branch November 15, 2023 17:00
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.

3 participants