• BrianTheeBiscuiteer@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    9 months ago

    Without seeing an example I would’ve said a button (actual button, not a checkbox or slider) should show the future state. If a button says “Cancel” I would expect the state to go from a pending state to a cancelled state. Same with a button that says “Submit”. So if it’s some kind of toggle, like play/pause, I would think hitting ⏸️ means I’m currently playing and I want to pause.

    • macniel@feddit.de
      link
      fedilink
      arrow-up
      9
      ·
      9 months ago

      Buttons don’t show what is currently happening, but what action, with the provided user input via toggles, input boxes, checkboxes if any, should be taken. In your example, your Cancel Button should Cancel the transaction.