Closed kacpergumieniuk closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
market-frontend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 26, 2024 7:54am |
The pull request introduces enhancements to the trading hub by adding a blockHeight
property to the OrderType
and HistoryOrderType
interfaces. This property allows for the inclusion of a link in the TradingHubCompletedOrderItem
component, directing users to a Polkadot explorer page for specific orders. Additionally, the TradingHubOrders
component has been streamlined by removing unused columns, while the layout of order action buttons in TradingHubOrdersItem
has been updated to include the new link alongside existing buttons.
File Path | Change Summary |
---|---|
components/Market/TradingHub/TradingHubOrders/TradingHubCompletedOrderItem.tsx |
Added a new column with a link to the Polkadot explorer using order.blockHeight . |
components/Market/TradingHub/TradingHubOrders/TradingHubOrders.tsx |
Removed commented-out code for the "Type" column and added comments for potential future refactor. |
components/Market/TradingHub/TradingHubOrders/TradingHubOrdersItem.tsx |
Introduced a new icon link to the Polkadot explorer and modified layout of order action buttons. |
types/historyTypes.ts |
Added blockHeight: string property to HistoryOrderType interface. |
types/orderTypes.ts |
Added blockHeight: string property to OrderType interface. |
blockHeight
to the HistoryOrderType
interface, which is directly related to the changes in the main PR that adds a link using the order.blockHeight
property in the TradingHubCompletedOrderItem
component.TradingHubCompletedOrderItem
to include functionality for selecting a market directly from the completed order item display, which complements the new link feature added in the main PR by enhancing user interactivity related to order details.🐇 In the trading hub, a link now shines,
To Polkadot's world, where order aligns.
With block heights revealed, oh what a delight,
Our orders now dance in the blockchain's light.
So hop along, friends, to explore and see,
The magic of trading, as bright as can be! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
36
Summary by CodeRabbit
New Features
Bug Fixes
Chores
blockHeight
to order-related data structures to support the new functionality.