findonflow / find

.find people and NFTs #OnFlow
MIT License
35 stars 6 forks source link

first draft on storage iteration #339

Closed benbackend closed 1 year ago

benbackend commented 1 year ago

First Look on Storage Iteration

Have to agree on that on both FE , BE and UIUX team to move on.

The ForEachStorage function does not work for accounts with over 100 storage set up (including my and bjarte's account) We have to adopt another approach on this.

Proposed flow :

  1. get all storage paths by "getAccountPath" script which returns list of string paths
  2. chunk them down into 25 each (otherwise might still panic for bjarte's account)
  3. pass them in chunk by chunk to run "getAccountByPath" script
  4. combine the outcomes to display a full view on storage

Questions : What do we want for this feature?

  1. "home page" of all storage, how detail should each part be (e.g. profile, leases, NFT, FT, listings, bids, other resources)
  2. What to be displayed for each "in-depth" display?
  3. Do we agree on using "path Identifier" in url?