Closed mj-blockydevs closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
mr-market | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2024 10:00am |
For order details page, I think we will need to handle not found situation.
spot/history/[id]/+page.ts
will get the order details from api. it's possible the order doesn't exist. we will need to show order not found.
OK, I've added the fee added to the calculations.
@mj-blockydevs a few changes to make:
fee
above balance, and keep the bottom alignedmarket price
as text, don't set it to current price
Sorry that was a misunderstand. I was meant to add the fee to calculate the payment amount, not to show the fee in ui.
@zed-wong Mixin receives the amount with the fee included. But since users are typing the payment amount in the input, we have to add this fee later / display it somewhere else than the same input.
@zed-wong Mixin receives the amount with the fee included. But since users are typing the payment amount in the input, we have to add this fee later / display it somewhere else than the same input.
It will be inside the order details page, just as exchanges they don't show fees when place order
OK, so I've removed fee details displayed in earlier stages of creating an order.
@mj-blockydevs a few changes to make:
1. let's remove the `fee` above balance, and keep the bottom aligned 2. keep the `market price` as text, don't set it to current price 3. also remove the fee field inside the confirm dialog 4. the estimated price seems wrong
![]()
Except what we need to get done above, we also need to being able to palce order without login. Which means the balance validation only happens when user connected wallet.
@zed-wong sorry for the delay, I was sure I removed the Draft flag earlier. You can take a look at this PR now.
I've merged this branch into https://github.com/Hu-Fi/Mr.Market/tree/spot and started edit based on it, we still got a lot details to considerate, I will close this pr and handle them
@arianejasuwienas is attempting to deploy a commit to the hufi Team on Vercel.
A member of the Team first needs to authorize it.