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

Limit Orders and Swap Flow Redesign #3683

Merged
merged 807 commits into from
Aug 7, 2024
Merged

Conversation

crnbarr93
Copy link
Contributor

What is the purpose of the change:

These changes are to introduce several new features:

  • Completely redesigned swap flow
  • A new feature to place limit orders for valid pairs
  • An additional tab to the transactions history page to see order history
  • All instances of the swap modal have been replaced with the new trade modal
  • A recolour of the site

A large amount of changes are in the following components:

  • trade-tool/index.tsx
  • place-limit-tool/index.tsx
  • orders-history/index.tsx
  • swap-tool/alt.tsx

The majority of the logic is performed by the new usePlaceLimit hook which maintains both state for limit and market orders and swaps between them.

A new edge router was added, orderbook-router, specifically for orderbooks that includes queries to fetch orderbook metadata and order data (including historical data).

crnbarr93 and others added 30 commits July 22, 2024 15:24
…ixes

feat: order history page improvements
…/osmosis-frontend into fabryscript/implement-final-redesigns
…flag

[Limit Orders - V3]: Swap Tool Feature Flags
@sunnya97 sunnya97 merged commit aab2946 into stage Aug 7, 2024
29 of 31 checks passed
@sunnya97 sunnya97 deleted the feat/implement-limit-orders branch August 7, 2024 23:44
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.

6 participants