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: improve Orderbook UI and buy/sell orders #539

Merged
merged 35 commits into from
Apr 9, 2024

Conversation

dib542
Copy link
Collaborator

@dib542 dib542 commented Mar 13, 2024

This PR cleans up parts of the Buy/Sell card of the Orderbook UI

  • adds Order Type help: link to docs
  • changes the layout of token pair prices to read eg: price 10 of pair ATOM/USDC can be read as 10USDC per ATOM
    • this shifts the order of many token pairs
  • fix loading states and warning/error display
    • reverts some of the workarounds of using Immediate or Cancel simulations to avoid the Swap amount too small errors. Now it should display these errors
  • fix SelectInput closing behavior

And is based on the previous work in the PRs

Preview:
localhost_5173_orderbook_USDC_NTRN(FullHD) (4)

@dib542 dib542 linked an issue Mar 13, 2024 that may be closed by this pull request
@dib542 dib542 force-pushed the 459-improve-buy-limit-orders-part-3 branch from b96b82f to e0c22e9 Compare March 14, 2024 15:10
@dib542 dib542 force-pushed the 459-improve-buy-limit-orders-part-3 branch 2 times, most recently from 397044a to 4872f87 Compare April 7, 2024 20:11
@dib542 dib542 force-pushed the 459-improve-buy-limit-orders-part-3 branch from 5e0ff50 to da793c3 Compare April 9, 2024 10:56
@dib542 dib542 force-pushed the 459-improve-buy-limit-orders-part-3 branch from eeca9d7 to 67776af Compare April 9, 2024 16:07
@dib542
Copy link
Collaborator Author

dib542 commented Apr 9, 2024

The UI tests are currently failing because the Swap page is hitting a Swap amount too small error and it cannot click the "Swap" button:

localhost_5173_swap_OSMO_NTRN(4_3)

@MrTalecky
Copy link
Collaborator

The falling UI test needs improvement, I'll fix that later.

@dib542 dib542 merged commit 6139e1d into main Apr 9, 2024
2 checks passed
@dib542 dib542 deleted the 459-improve-buy-limit-orders-part-3 branch April 9, 2024 18:36
dib542 pushed a commit that referenced this pull request Apr 9, 2024
## [2.6.0](v2.5.0...v2.6.0) (2024-04-09)

### Features

* improve Orderbook UI and buy/sell orders ([#539](#539)) ([6139e1d](6139e1d)), closes [#537](#537) [#541](#541)
@dib542
Copy link
Collaborator Author

dib542 commented Apr 9, 2024

🎉 This PR is included in version 2.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Buy Limit Orders
2 participants