it's a bit off-putting (toggle switch confusion)

When AI is enabled for analyzing a game after it is over, there’s a toggle between percentage and score which is fine, but what isn’t fine is that one of the two settings is lit up in blue as though it is “on” and the other setting is gray as though it is “off” but neither setting is actually more “on” or “off” than the other, because it is merely a choice.

SUGGESTION: Instead of using a toggle, how about a pair of radio buttons, like this:

     ( )  percentage     (0)  score


1 Like

So to visualise a bit and with comparison to the table show/hide

The table, the blue is like visible/active, grey is like hidden/invisible.

For the score/winrate, it could be styled different if the current implication suggests on/off for consistency.


I think the toggle is pretty good space wise, and score is probably the most user friendly of the two options, because winrate is quite hard to interpret.

I suppose you could think of it like score/not score :slight_smile:

Agree - I don’t think we should pick an option which requires more space - OP’s suggestion to use radio buttons would be a bit bulkier than the toggle.

Alternative: segmented control/connected button groups are UI idioms which can communicate “binary option, but not on/off”.

3 Likes

I wish I lived as distraction- and trouble-free life as you that this is off-putting enough that this is worthy of your first post in almost a year!

2 Likes

I understand that it is illogical because it is not “ON” vs. ”OFF” but “SCORE” vs. “WINRATE”, contrary to the right toggle button which really is “ON” vs. “OFF”.

But “offputting”? Mh… :thinking: I’d rather call it a visual and optical glitch, because such toggle buttons simply weren’t intended for this use, they are intended for turning things ON and OFF.

I guess the “logical” solution would be to either have two colours, like blue vs. red, or, lacking such an option, to use radio buttons :radio_button: with these connected so that one of them is turned off if the other one is turned on and vice versa.

○ Score ● Winrate

But it is a toggle.

It toggles between two options.

That said, I had a look at all our toggles in “Settings” - all but one are “on off”, so it has to be acknowledged that “toggle between” is not common.

1 Like

I agree that a segmented control would be somewhat more idiomatic without taking up meaningfully more space.

I also strongly suspect this is a case of “most people consider this sufficiently low-priority that if one person really cares, they need to be the one to open the PR”

2 Likes

what’s PR

I agree it is a toggle, but my issue is that one of the two choices is “lit up” and the other is “off”.

1 Like

PR = pull request, where you write the code to fix it and then ask for it to be approved and merged into OGS’s official code.

1 Like