-
Notifications
You must be signed in to change notification settings - Fork 6
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
#49 Feat/query all ever gifted punks #51
#49 Feat/query all ever gifted punks #51
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/renft/cryptopunks/C39Eg8PsYNfjCWDQteXBUtbZMPFd |
I LOVE the cleaner design. Didn't notice any mobile overlap :) But I have a few very minor comments. (1) The tab currently gifted isn't showing anything, but there are a number of punks being gifted right now. The definition of the punks that are being gifted right now is when the end tenancy date is in the future. (2) The tab of all ever gifted isn't showing all the historical and current punks. (This could be a problem with the subgraph, whereby it deletes the punks that are no longer active) |
The mobile overlap happens with longer hour values: 11:23 pm, it looks minor, but still.
done
Maybe because the tenantId for the expired ones set back to "0x0000000000000000000000000000000000000000", but just guessing. I only get 6 punks back from the API alltogether. |
where have you noticed this? |
Queries, I see this filter:
Not sure if the tenant is set back, just see the filter. |
just created a query for all ever gifted. You can use the following https://thegraph.com/explorer/subgraph/re-nft/cryptopunks-rent?query=All_Ever_Gifted |
and here is the query, in case subgraph does not load for you:
|
f9ce80e
to
8cbe9e7
Compare
This tab will show all the punks that have ever been gifted. Same rules of sorting by newest at the top, apply.
Timestamp needed to be added after merge #48
Also, created a new way to show crypto punks, which has a little overlapping on mobile. Let me know if the design is something preferable, and I will fix the mobile issue with it.