gnosisguild / zodiac-modifier-roles

Smart account toolkit for role-based access control
https://roles.gnosisguild.org
GNU Lesser General Public License v3.0
80 stars 39 forks source link

Role View Layout changes #241

Closed samepant closed 8 months ago

samepant commented 8 months ago

Dropping commits here for updates to the permissions view

Screenshot 2024-02-23 at 4 11 07β€―PM
vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
zodiac-roles-app βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Feb 27, 2024 5:29pm
zodiac-roles-docs πŸ”„ Building (Inspect) Visit Preview πŸ’¬ Add feedback Feb 27, 2024 5:29pm
coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 8068840343

Details


Totals Coverage Status
Change from base Build 7991153917: 0.0%
Covered Lines: 665
Relevant Lines: 666

πŸ’› - Coveralls
jfschwarz commented 8 months ago

I feel all the labels add a lot of clutter but are not really crucial for making sense of the UI. Just hiding them all looks more zen:

image
jfschwarz commented 8 months ago

I'm also not quite sure if it's any useful to allow collapsing complex conditions. Looking at a complex condition without the children is pretty useless, so I don't think collapsing them would help the user to get an overview.

My original intention was to collapse complex parameters if no condition is set on them.

samepant commented 8 months ago

I'm also not quite sure if it's any useful to allow collapsing complex conditions. Looking at a complex condition without the children is pretty useless, so I don't think collapsing them would help the user to get an overview.

This makes sense to me, i'll remove the collapsibility if there is a condition.

I feel all the labels add a lot of clutter but are not really crucial for making sense of the UI. Just hiding them all looks more zen

when i first started working on this view a couple weeks ago, i got a little lost with all the information, so i added in the labels to help me keep it straight. After a while of looking at it, having less labels is more clean visually, and now that I know what everything is i can still grok the info.

However, I think it's a tradeoff on how legible we want this UI to be to new users or even non-developers. Someone less familiar with what a parameter or a type would benefit from the labels.

A key use of this interface is allowing people to share and communicate about Roles β€”Β it's an opportunity to encourage the use of a specific set of terms to avoid confusion. Imagine a non technical ENS delegate checking a Roles permission change, i'd want them to be able to be informed by the ui, and to be able to ask questions using the specific language the labels show.

jfschwarz commented 8 months ago

when i first started working on this view a couple weeks ago, i got a little lost with all the information, so i added in the labels to help me keep it straight. After a while of looking at it, having less labels is more clean visually, and now that I know what everything is i can still grok the info.

However, I think it's a tradeoff on how legible we want this UI to be to new users or even non-developers. Someone less familiar with what a parameter or a type would benefit from the labels.

A key use of this interface is allowing people to share and communicate about Roles β€”Β it's an opportunity to encourage the use of a specific set of terms to avoid confusion. Imagine a non technical ENS delegate checking a Roles permission change, i'd want them to be able to be informed by the ui, and to be able to ask questions using the specific language the labels show.

Makes sense πŸ‘