Closed exezbcz closed 10 months ago
I will probably divide it into smaller tasks later today.
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
ready guys š cc @kodadot/internal-dev
is this issue in hacktober fest if yes I would like to complete some tasks?
@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
We are now waiting for the backend afaik
Backend is done sir š„¹. Everything tested on friday. Cc @preschian
Backend is done sir š„¹.
letsgoooo yeah, that is why i put the "afaik" :D
so meanwhile done š
so meanwhile done š
oh, small things, there is no menu/button to migrate page
- Migration UI - 1 - Home page Ā #7560 done as well?
oh, leftover related to #8197. I will pick that up
followup issue: https://github.com/kodadot/nft-gallery/issues/8206
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.
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?
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
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.
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
I think burn/destroy collection for rmrk2 is not yet implemented
I think burn/destroy collection for rmrk2 is not yet implemented
Any blocker there?
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
Minimark was released 12 days ago.
Minimark was released 12 days ago.
yup but without this https://github.com/kodadot/packages/commit/aecaacfada03f9797036cc07a159eabd2e39e38d
Regarding this, what is outstanding for final burn?
https://github.com/kodadot/nft-gallery/pull/8280#issuecomment-1835985956
Regarding this, what is outstanding for final burn?
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
Regarding this, what is outstanding for final burn?
i think @exezbcz and @vikiival were discussing the final burning part
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 .
@vikiival so far like this
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
will write better description tomorrow
@exezbcz any updates on this?
@exezbcz, any updates on this?
Sorry for the delay! I jIt's for the burning part, so it's not critical. :D
continue to ->
Tasks:
Abstract
Tasks:
Now for the design:
Home page
Top part
source and destination
Faq
I have decided to put faq on the top there
migration is pretty hard to understand for new users. This will hopefully ensure the users are not confused about what is happening.
states are on the left:
please note that the height will be taken from the card with the most text - other cards will inherit the height (that means cards are consistent and won't jump around)
if you would like to add anything as an explainer to the cards, feel free to comment.
Selection
under the full-width divider, there is a contextual message with the account you are connected with, and then there is a little tooltip section.
there is also a state for when you are not connected.
tooltip copy for that as well.
the selection is filled with drop landing page-like cards.
cards have a hover effect, and the migrate button itself has one as well.
you can try it yourself in the prototype next to the card component.
Ready for Migration
Waiting for your action
migration not possible
small divider š”
Review
Migrate collection
top part review - sign (same as in the admin panel)
contextual message ( connected with)
then there is migrate collection
there is picture of the collection, name and message that the name will stay the same.
divider, and now for the harder part.
there is row that shows "items available for migration"
little message:
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 ?
then there is route explained
divider and then costs, those are also similar to the #7241
collapsable fee breakdown, divided into network fee and then existential deposit, and then kodadot fee (if there will be any..)
then a row of estimated total fees.
bottom part
Migrate items
Signing š„
new part, will be the same as with auto teleport (but in modal)
the reason everything is on its own page and not in the small modal is simply the space and no way of accidentally closing it and losing the progress. It's quite a lot of transactions if you decide to migrate 1k collection.
it's a step signing.
here are possible events of the small sub-part
the parent section changes based on whether its in progress, its done, or inactive, changes between three states.
the grey 1/4 circle is a loading wheel, please match the style as much as possible.
The same icons are used for the subsections. Every step is in this case one signed transaction.
let me give an example.
the contextual message is in this case what is changing.
when you cancel signing, you have the option to retry (it could say failed or canceled)
after you finish all of this long signing, you can click on the button to finish (it's not automatic because in this signing there are also transaction links (as you can see above)
Congratulations
End