Contextual permissions UI could be more intuitive to new users

Bug reports and enhancement requests
Post Reply
barbaz
Senior Member
Posts: 11019
Joined: Sat Aug 03, 2013 5:45 pm

Contextual permissions UI could be more intuitive to new users

Post by barbaz »

Spun off from viewtopic.php?p=107943#p107943 -
barbaz wrote: Fri Feb 14, 2025 1:54 pm Changing the selection in the drop-down does not make any changes to any permissions. It's more like switching between different tabs (like in NoScript Options > General > (Default/Trusted/Untrusted) tabs)
Writing that made me realise just how unintuitive this UI is. There is room to reduce the learning curve here.

Thinking about what could be done that's hopefully not too involved to implement, wondering if the following would reduce the learning curve:

1) Change the animation. The "sometimes it works, sometimes it doesn't" shrink-to-bottom animation comes across as cosmetic. How about switching to an animation that gives a meaningful hint as to what exactly happened when the drop-down was changed?

For example, a plain pull-down animation, where the newly-selected contextual permission slides down coming from immediately below the "Enable these capabilities when top page matches" drop-down's line (and below that line's z-index), sliding over the top of the previously-selected contextual permission.

Also, making the animation work consistently would help it be perceived as meaningful.

2) Change the text "Enable these capabilities when top page matches" to something more like "Capabilities for when top page matches". Makes it sound less like an active setting, and more like a description of what's shown.

Could these changes be helpful enough and minor enough to be worth considering?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
fatboy
Senior Member
Posts: 105
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Re: Contextual permissions UI could be more intuitive to new users

Post by fatboy »

2) "Capabilities (used is highlighted) when top page matches:"

3) It might also be a good idea to swap "toppagename" and "ANY SITE" in the drop-down list

4) In "General" there are now three tabs: DEFAULT, etc.
After these three tabs, add a row with three radio buttons:
"ANY SITE inherits DEFAULT or TRUSTED or UNTRUSTED policy by default".

5) Bring back "Permissions" instead of "Capabilities" everywhere.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Fx/115.18.0esr NS/12.1.0.901
barbaz
Senior Member
Posts: 11019
Joined: Sat Aug 03, 2013 5:45 pm

Re: Contextual permissions UI could be more intuitive to new users

Post by barbaz »

fatboy wrote: Sat Feb 15, 2025 8:52 am 4) In "General" there are now three tabs: DEFAULT, etc.
After these three tabs, add a row with three radio buttons:
"ANY SITE inherits DEFAULT or TRUSTED or UNTRUSTED policy by default".
Currently, new "ANY SITE" permissions inherit whichever preset was last selected. This is the most intuitive default behavior: selecting to "CUSTOM"ize permissions should just display more options, not automatically change permissions.

Making CUSTOM inherit a different preset seems more geared toward experienced users who repeatedly set similar contextual permissions for different sites.

To make that suggestion not a footgun and not sometimes-cumbersome, it would need to be opt-in (i.e. the default selection is a fourth radio button "Last selected preset" which keeps the current behavior) and viewtopic.php?t=26551 would need to be implemented.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Post Reply