News for hackers. Stuff that matters.
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by mmis1000 on Thursday January 19, 2023 @06:56AM (#34439383)
I think checkboxes is 'the state to be if I click save'. I don't generally expect checkbox to change the state instantly if I don't click 'submit' or something similar.
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by IanCal on Thursday January 19, 2023 @07:06AM (#34439454)
Interesting, I don't look at the same way - which is another reminder to me why good UX design is hard as my own interpretation of something as simple as a checkbox isn't universal.

On a similar note, I find it hard when I don't know if I need to save or submit.

Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by scotty79 on Thursday January 19, 2023 @10:01AM (#34440998)
I'm also always looking for save button after I check some checkbox. Maybe that's why people move to toggles for changes that are immediate.

However when I make textual change and there's no save button I'm still confused.

There's no standard how to indicate imediate change in textbox.

Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by mmis1000 on Thursday January 19, 2023 @10:14AM (#34441157)
I remembered that some sites use a small spinner on the edge of textarea or something similar to indicate "I am uploading your text to cloud / I am saving your text to disk".

I think it's a good design that tell users your changes are persisted "now" ?

And this can be probably applied to all options that take effects instantly.

Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by scotty79 on Thursday January 19, 2023 @11:11AM (#34441875)
Good idea about small save indicator on every change.

Another idea:

When you start typing textarea visually changes style to indicate editing. Once you leave it it changes style back to indicate that this new content is written.

Optionally additionally while editing small X icon might show up and clicking it might cancel the change instead of saving it.