web3.storage
web3.storage copied to clipboard
Improve the user experience around displaying the pins table in the account section
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.
Note: we need to double check these criteria before starting work on them
Last two points are in https://github.com/web3-storage/web3.storage/pull/2147