Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable/Re-enable UI is confusing #2462

Open
dhowe opened this issue Nov 11, 2023 · 5 comments
Open

Disable/Re-enable UI is confusing #2462

dhowe opened this issue Nov 11, 2023 · 5 comments

Comments

@dhowe
Copy link
Owner

dhowe commented Nov 11, 2023

v3.18.0

Disable UI is confusing: not clear after clicking disable whether one needs to click again on domain to make the disable active.

I think a better solution might be to always pop-up the page or domain option without any preselection. Then the user must select one or the other, which causes the pop-up to close

There also seems to be no way (at least sometimes) to un-disable a site/domain (see image below, where clicking on disable for the already disabled site does nothing. How is this supposed to work ?

See also #2453

image

@mneunomne
Copy link
Collaborator

Yes, I implemented this way replicating how ublock works, where to there is no direct way of changing the scope of a disable while already disabled - need to re-enable it and then re-disable choosing the spec. I agree its confusing, will implement it.

@mneunomne
Copy link
Collaborator

The issue of changing this implementation, is that ublock doesn't have a property to distinguish if the current "trusted pages" hit is coming from a page-specific scope, or a domain specific scope. And since we don't have this information from the popupData, we cant set which of the scopes is the current active one.

I can implement this distinction, but it will require some changes in uBO's code in the netFilteringSwitch, to return some extra properties so it can be displayed in the UI.

@dhowe
Copy link
Owner Author

dhowe commented Nov 28, 2023

Let's first answer the question of whether we can re-enable a site/domain after disabling (and whether this is intuitive)? Please test/document @mneunomne

I'm not sure switching scope is even necessary

@mneunomne
Copy link
Collaborator

This has now been fixed #2516 Closing

@dhowe dhowe reopened this Apr 1, 2024
@dhowe dhowe changed the title Disable UI is confusing Disable/Re-enable UI is confusing Apr 1, 2024
@dhowe
Copy link
Owner Author

dhowe commented Apr 1, 2024

As discussed, lets change the text on the 3 buttons at menu bottom:

active: [ active*, strict, disable ]
disabled: [ activate, strict, disabled* ]

  • indicates blue button

dhowe added a commit that referenced this issue Apr 3, 2024
change labels on menu state button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants