web3.storage icon indicating copy to clipboard operation
web3.storage copied to clipboard

Improve the user experience around displaying the pins table in the account section

Open joshJarr opened this issue 2 years ago • 2 comments

Acceptance criteria:

  • [ ] I want to be able to see all my pins and their state
  • [ ] If I have pinning enabled, I want to see the pins table (whether I already created pins or not)
  • [x] The behavior is consistent with REST APIs, if I don't have access to PSA I won't see the table in the UI.

Notes

Upon logging in with a user without PSA enabled, a redundant call is made to the /pins endpoint to fetch user pins. We should be able to avoid this by checking the user HAS_PSA_ENABLED flag.

joshJarr avatar Sep 26 '22 08:09 joshJarr

Note: we need to double check these criteria before starting work on them

mbommerez avatar Oct 28 '22 10:10 mbommerez

Last two points are in https://github.com/web3-storage/web3.storage/pull/2147

alexandrastoica avatar Dec 06 '22 10:12 alexandrastoica