-
Notifications
You must be signed in to change notification settings - Fork 101
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: hide orders table widget #5303
feat: hide orders table widget #5303
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Hey @fairlighteth , thank you!
The only one issue that I face is that 'My orders' button has become not clickable. But it is reported in a separate task
display: ${({ isUnlocked }) => (isUnlocked ? '' : 'none')}; | ||
display: ${({ isUnlocked }) => (!isUnlocked ? 'none' : '')}; |
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.
"Trocou 6 por meia dúzia", is what I have to say about this change
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.
Let me explain: https://crossidiomas.com/trocar-seis-por-meia-duzia/
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.
Pluuuus, unlock means not locked, so effectivelly reads worse: "not not lock: double negations are harder to reason about
02cbfe4
to
f449a1d
Compare
cd1bc6c
to
260aad0
Compare
Fix orders table visibility in widget mode
Improved how we handle the
hideOrdersTable
parameter in widget mode to ensure proper hiding of the orders table in both Limit Orders and TWAP pages:SecondaryWrapper
based onhideOrdersTable
parameterPageWrapper
grid template areas to adjust layout when table is hidden:This change ensures the orders table is properly hidden in widget mode while maintaining a clean layout structure.
Testing
hideOrdersTable=true