kodadot / nft-gallery

Generative Art Marketplace
https://koda.art
MIT License
641 stars 362 forks source link

Migration UI #7552

Closed exezbcz closed 10 months ago

exezbcz commented 1 year ago

Tasks:

image

Abstract

Tasks:

Now for the design:




Home page

Top part

image

source and destination

Faq

Selection

Ready for Migration

Waiting for your action

image

migration not possible




small divider šŸ”

Review

Migrate collection

image

bottom part

Migrate items

image


Signing šŸš„




Congratulations

image

End

exezbcz commented 1 year ago

I will probably divide it into smaller tasks later today.

vikiival commented 1 year ago

If I understand correctly, you cannot migrate items you don't own. Therefore, you pre-sign for others and give them access to follow your migration once they decide to do so. is that correct @vikiival ?

Yup just checking with @jsidorenko if pre-signatures can be made in batch or you need to click 200 times sign. In the later option I would opt in for other solution

Link to migrator

exezbcz commented 1 year ago

ready guys šŸ‘€ cc @kodadot/internal-dev

Tasks:

STUDIOUS-WOLF commented 1 year ago

is this issue in hacktober fest if yes I would like to complete some tasks?

exezbcz commented 1 year ago

@STUDIOUS-WOLF Hi! Unfortunately, no. However, you could check for other issues in the repository. The frontend for this issue is mostly finished. We are now waiting for the backend afaik

vikiival commented 1 year ago

We are now waiting for the backend afaik

Backend is done sir šŸ„¹. Everything tested on friday. Cc @preschian

exezbcz commented 1 year ago

Backend is done sir šŸ„¹.

letsgoooo yeah, that is why i put the "afaik" :D

yangwao commented 1 year ago

so meanwhile done šŸ‘€

preschian commented 1 year ago

so meanwhile done šŸ‘€

oh, small things, there is no menu/button to migrate page

yangwao commented 12 months ago
preschian commented 11 months ago

oh, leftover related to #8197. I will pick that up

preschian commented 11 months ago

followup issue: https://github.com/kodadot/nft-gallery/issues/8206

prury commented 11 months ago

I think once we have the public working version of migration, we should ask everyone on the team to test it at least once, I'm specially concerned about the possibility of someone burning their NFTs on the source chain and not being able to mint them on the destination chain, and also because we can find some yet to be discovered bugs along the runway.

preschian commented 11 months ago

I'm specially concerned about the possibility of someone burning their NFTs on the source chain

good point, should we disable auto burn? because once burned we can revert that right? to reduce the risk

replace burn section with info that tell the user don't forget to burn the old collections?

prury commented 11 months ago

I'm specially concerned about the possibility of someone burning their NFTs on the source chain

good point, should we disable auto burn? because once burned we can revert that right? to reduce the risk

replace burn section with info that tell the user don't forget to burn the old collections?

this or a button somewhere after they had minted the new items, but with disclaimer asking user to verify if new collection have been properly minted on new chain

or make burning items the last step, with link to the new collection asking user to verify if items were properly minted

vikiival commented 11 months ago

or make burning items the last step, with link to the new collection asking user to verify if items were properly minted

Yup burning should be the last step. It should verify that it was minted on the destination chain.

preschian commented 11 months ago

this or a button somewhere after they had minted the new items, but with disclaimer asking user to verify if new collection have been properly minted on new chain

or make burning items the last step, with link to the new collection asking user to verify if items were properly minted

@exezbcz @prury just want to make sure. Regarding this, we need to adjust some UI, right? On Canary, I already put the burn on the last step before going to the congrats page. The easiest solution is to put the button link to the old collection on the congrats page. And user can burn on that page, since we had this button on collection page

image

roiLeo commented 11 months ago

I think burn/destroy collection for rmrk2 is not yet implemented

vikiival commented 11 months ago

I think burn/destroy collection for rmrk2 is not yet implemented

Any blocker there?

roiLeo commented 11 months ago

I think burn/destroy collection for rmrk2 is not yet implemented

Any blocker there?

I think I'm missing a release on minimark for types https://github.com/kodadot/packages/commit/aecaacfada03f9797036cc07a159eabd2e39e38d

cf https://github.com/kodadot/nft-gallery/issues/8002#issuecomment-1816528008

vikiival commented 11 months ago

Minimark was released 12 days ago.

https://www.npmjs.com/package/@kodadot1/minimark

roiLeo commented 11 months ago

Minimark was released 12 days ago.

https://www.npmjs.com/package/@kodadot1/minimark

yup but without this https://github.com/kodadot/packages/commit/aecaacfada03f9797036cc07a159eabd2e39e38d

yangwao commented 11 months ago

Regarding this, what is outstanding for final burn?

https://github.com/kodadot/nft-gallery/pull/8280#issuecomment-1835985956

preschian commented 11 months ago

Regarding this, what is outstanding for final burn?

#8280 (comment)

round of team testing

need help everyone to test the features on Canary https://canary.kodadot.xyz/migrate. don't forget to open the console while testing cc @kodadot/internal @kodadot/internal-dev

open design issue to define final burning phase where the user verifies if content was burned PR for burning

Can we put this on the congratulations page? So it won't block the testing. on the first phase of testing, save URL on the congrats page, once PR for burning is merged, visit the congrats URL again to test the burning parts

prury commented 11 months ago

Regarding this, what is outstanding for final burn?

#8280 (comment)

i think @exezbcz and @vikiival were discussing the final burning part

vikiival commented 11 months ago

Regarding this, what is outstanding for final burn?

With @exezbcz we iterated to the point that we can leverage the beauty of immutable data -> Therefore:

We fetch nfts from both chains. Check if metadata hashes are matching -> as they should because it is migration. for those who match we can safely burn them .

exezbcz commented 11 months ago

@vikiival so far like this

image

its updated in the figma file https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=4669-6559&mode=design&t=4aU3fi9XZLeGOpWb-11

will write better description tomorrow

preschian commented 11 months ago

will write better description tomorrow

@exezbcz any updates on this?

exezbcz commented 11 months ago

@exezbcz, any updates on this?

Sorry for the delay! I jIt's for the burning part, so it's not critical. :D

exezbcz commented 10 months ago

continue to ->