nft-gallery
nft-gallery copied to clipboard
Master Offers component v2
Great idea; I guess we can make a functional component with an address as param and input and merge these three current ones.
When the logged-in user visits /bsx/offers it lands on its own address stats by default, i.e. in my case
/bsx/offers?u=bXgvP2cQzEnPvuPQHRghz9dUYovqzyPhXBRXbNwVCef7nsmqb
where default would be incoming offers
There should be two filters where you can choose
- F1
- created offers by particular address
- incoming offers by particular address
- F2
- Active
- Accepted
- Withdrawn
When the non-logged user opens it, they should see a global table like at https://beta.kodadot.xyz/bsx/stats, so F1 should be disabled.
The goal would be for anyone/user can see per address offers
- created
- incoming
- global
We can put it under the Stats dropdown in the navbar with the name Offers.
Later it becomes the replacement for current stats
Work can start once the issues below are completed.
- #3450
- #3203
- #2801
Originally posted by @yangwao in https://github.com/kodadot/nft-gallery/issues/3462#issuecomment-1187044108
👋
ISSUE BLOCKED - issue #3463 is blocked. Please wait until issue is unblocked.
I can work on this once unblocked 😊
Adding comment here to follow from
- #3477
It would be nice to have some sort of option (maybe toggle) to show only active offers, since those are the ones which will be (I assume) most interesting to the user most of the time
Adding comment here to follow from
It would be nice to have some sort of option (maybe toggle) to show only active offers, since those are the ones which will be (I assume) most interesting to the user most of the time
I guess we can add filters like the history table?
Adding comment here to follow from
It would be nice to have some sort of option (maybe toggle) to show only active offers, since those are the ones which will be (I assume) most interesting to the user most of the time
I guess we can add filters like the history table?
yup, I guess that would be the best way to go, something like this:
@yangwao how are we keeping the UI for this one? do we have any reference? like are we giving an option here like Transfer, a dedicated page to check offer for any address?

@yangwao how are we keeping the UI for this one? do we have any reference? like are we giving an option here like Transfer, a dedicated page to check offer for any address?
![]()
@yangwao need a little help with the ui ux part of this oneee
a dedicated page to check offer for any address?
yes. check original issue, I've just updated it :)
Okay I'll start working on this one
@yangwao so when you say F1 filter, do you mean two tabs? where one tab shows created offers by particular address TABLE and other shows incoming offers by particular address TABLE and at the top we can have a text input field where we can input the particular address?
ASSIGNED - @prachi00 🔒 LOCKED -> Monday, August 8th 2022, 05:13:56 UTC -> 72 hours