market icon indicating copy to clipboard operation
market copied to clipboard

After metadata edit the user needs to refresh the page to see the changes reflected

Open LoznianuAnamaria opened this issue 3 years ago • 4 comments

The metadata cache needs some time to index the metadata updates and if you go back to the asset details page before that happens the updated values won't be reflected.

The experience is visible here: https://drive.google.com/file/d/1QCKPjfQbRh7SoNJPXNMLy1_IYZxfAxal/view?usp=sharing

Maybe we can update the user experience and provide a better experience.

LoznianuAnamaria avatar Mar 23 '22 15:03 LoznianuAnamaria

Not sure how, we can't really know when aqua indexed the updates, it can be instant, it can take a bit.

mihaisc avatar Mar 23 '22 17:03 mihaisc

From @DMats came this idea of waiting for certain amount of block confirmations, e.g. for the last tx. We could show that to user on submission screen and only after like 5 block confirmations the View Asset button becomes active

kremalicious avatar Mar 29 '22 10:03 kremalicious

I think block confirmations after both the "create data tokens" transaction and the "set metadata" transaction are needed to mitigate against chain reorgs. I suppose it would have the added benefit of giving aquarius more time to cache the asset.

MantisClone avatar Mar 29 '22 11:03 MantisClone

hmm, not a bad idea, but we need to implement something at a global level in the market so we can use it on all actions

mihaisc avatar Mar 29 '22 12:03 mihaisc

While not a bad idea, not sure how we can implement this. The effort seems a bit too much and the gains are not that big.

mihaisc avatar Sep 29 '22 12:09 mihaisc