-
Notifications
You must be signed in to change notification settings - Fork 103
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
Enhance iOS UI, Unify Styling, and Disable Global USD Mode #5309
Conversation
* feat: hide orders table widget * feat: hide orders table widget for limit and twap
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
Addressed in this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
apps/cowswap-frontend/src/modules/limitOrders/containers/TradeRateDetails/index.tsx
Outdated
Show resolved
Hide resolved
apps/cowswap-frontend/src/modules/ordersTable/pure/OrdersTableContainer/OrdersTabs.tsx
Outdated
Show resolved
Hide resolved
@@ -39,7 +39,8 @@ import { WrapFlowActionButton } from '../WrapFlowActionButton' | |||
const scrollToMyOrders = () => { | |||
const element = document.getElementById(MY_ORDERS_ID) | |||
if (element) { | |||
element.scrollIntoView({ behavior: 'smooth' }) | |||
const elementTop = element.getBoundingClientRect().top + window.scrollY - 76 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need comments here, what 76 does mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed this. This is the sticky header offset. Made more obvious by moving to const with a comment.
apps/cowswap-frontend/src/modules/trade/pure/TradePageLayout/index.tsx
Outdated
Show resolved
Hide resolved
…l/cowswap into feat/limit-ui-upgrade-16 # Conflicts: # apps/cowswap-frontend/src/modules/ordersTable/pure/OrdersTableContainer/OrderRow/index.tsx
…RateDetails/index.tsx Co-authored-by: Alexandr Kazachenko <[email protected]>
…ndex.tsx Co-authored-by: Alexandr Kazachenko <[email protected]>
Summary of Changes
Mobile & iOS Enhancements
UI & Styling Updates
RateInfo
,OrderProgressBarV2
, row elements) to standardize props and remove extra logic (e.g.withTimelineDot
).Feature Toggles & Visibility
Miscellaneous Fixes
Overall, these changes streamline the codebase, improve mobile/iOS usability, refine UI behaviors, and disable unneeded features for a cleaner user experience.