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

[feature request] Add three-valued button #126

Open
sergeyprokhorenko opened this issue Jan 21, 2024 · 1 comment
Open

[feature request] Add three-valued button #126

sergeyprokhorenko opened this issue Jan 21, 2024 · 1 comment

Comments

@sergeyprokhorenko
Copy link

This new feature should be used instead of a checkbox, for example, to apply or prohibit the specified search criterion from an automatically generated list of criteria.

There are only homemade solutions now that are similar to my proposal, for example, in Nigma search engine:
Nigma

The three-valued button represents a control that implements the three-valued logic.

Three-valued button states

The true state is equivalent to the checked state of the checkbox.
The unknown state is equivalent to the unchecked state of the checkbox.
The false state has no equivalent for the checkbox. This state means prohibition of the specified search criterion.
The all state is equivalent to the undefined state of the checkbox.

These states must be looped (but it is preferable to use a dropdown list/menu of states):

  • unknown -> true -> false -> unknown
  • all -> true -> false -> unknown -> all (for group button)
@sergeyprokhorenko
Copy link
Author

Three-valued button states (variant)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant