hubmapconsortium / ingest-ui

HuBMAP Data Ingest Portal
https://ingest.hubmapconsortium.org
MIT License
4 stars 0 forks source link

Normalize approach to Form Locks #1497

Open BirdMachine opened 1 month ago

BirdMachine commented 1 month ago

currently aspects of any given form are disabled based on multiple factors, such as Admin status, group association, api calls to permission endpoints, the presence of or value of Detail of the entity itself, etc. And the locking behavior spans across disabling all inputs, select inputs, and the removal/disabling of action buttons. I would like to handle this logic in a more, well, logical way. Simplify what i can & unify, and apply consistently across forms.