feat: add list to user collection, add new contracts transfer, burn, add gentk management (cancel, list, burn, transfer)#739
feat: add list to user collection, add new contracts transfer, burn, add gentk management (cancel, list, burn, transfer)#739
Conversation
…add gentk management (cancel, list, burn, transfer)
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| loading={contractLoading} | ||
| success={success} | ||
| error={contractError} | ||
| successMessage="Your gentk has been burn" |
There was a problem hiding this comment.
| successMessage="Your gentk has been burn" | |
| successMessage="Your gentk has been burned" |
| loading={contractLoading} | ||
| success={success} | ||
| error={contractError} | ||
| successMessage="Your Gentk has been transfered" |
There was a problem hiding this comment.
| successMessage="Your Gentk has been transfered" | |
| successMessage="Your Gentk has been transferred" |
| width="530px" | ||
| > | ||
| <div className={style.container}> | ||
| <div>Which price would you like to set your listing ?</div> |
There was a problem hiding this comment.
| <div>Which price would you like to set your listing ?</div> | |
| <div>What price would you like to set for your listing?</div> |
| width="530px" | ||
| > | ||
| <div className={style.container}> | ||
| <div>Which price would you like to list your gentk for ?</div> |
There was a problem hiding this comment.
| <div>Which price would you like to list your gentk for ?</div> | |
| <div>What price would you like to set for your listing?</div> |
| } | ||
| export function UserCollectionGentks({ user }: Props) { | ||
| const { user: userLogged } = useContext(UserContext) | ||
| const [displayMode, setDisplayMode] = useState<"list" | "grid">("list") |
There was a problem hiding this comment.
| const [displayMode, setDisplayMode] = useState<"list" | "grid">("list") | |
| const [displayMode, setDisplayMode] = useState<"list" | "grid">("grid") |
i think we should set grid as default to avoid too much change in the UI
There was a problem hiding this comment.
it was during the WIP, easier to work grid enabled
| window.scrollTo(0, top) | ||
| } | ||
|
|
||
| refetch?.({ |
There was a problem hiding this comment.
do we not need this refetch?
| interface Props { | ||
| user: User | ||
| activeTab: "gentk" | "articles" | "tickets" | ||
| activeTab: "gentk" | "articles" | "tickets" | "manage" |
There was a problem hiding this comment.
what's manage here? or not implemented yet?
|
|
||
| success(): string { | ||
| const { objkt } = this.params | ||
| return `You have burn your gentk "${objkt.name}" [insert dramatic sound effect]` |
There was a problem hiding this comment.
| return `You have burn your gentk "${objkt.name}" [insert dramatic sound effect]` | |
| return `You have burned your gentk "${objkt.name}"` |
|
@louisholley all changes are valid, to note than current BurnToken and BurnTokenV3 have the sentence "[insert dramatic music] hence why I did a similar touch on BurnGentk. Tho the branch is still WIP (need batch actions) |

No description provided.