atomicdata-dev / atomic-data-browser

This repo is no longer used! Code is moved to Atomic-Server
https://github.com/atomicdata-dev/atomic-server/issues
MIT License
55 stars 9 forks source link

Ugly loading states due to `useCanWrite` #265

Open joepio opened 1 year ago

joepio commented 1 year ago

Currenlty, useCanWrite returns a boolean value. We use this check to either show or not show UI elements such as a new button. We also use this to show errors in the document editor. But as of now, we get ugly loading states. I think we can add isLoading boolean, and uptionally use that one in UIs.