Allow to-do button to remove to-do text

image

You can add a todo checkbox to a card with this button and toggle the states between checked and unchecked. But sometimes you want to remove the checkbox entirely. You might want this because you accidentally clicked that button when you have a bunch of cards selected, and now you’d have to manually go and edit each card to remove it.

(+1 by Prashant in Discord too: https://ptb.discord.com/channels/857305113936134204/857724063903252530/929041220712407110)

2 Likes

how do y’all imagine the interaction would work for this?

1 Like

In my mind, it would toggle between 3 states:

  • Test thing
  • [] Test thing,
  • [x] Test thing
  • repeat

Does that make sense?

3 Likes

That’s how precisely I imagined it honestly .

2 Likes

hi @prashant good to see you in the forums :wink:

2 Likes

hey peeps, I have this feature now available to test in staging at:

https://deploy-preview-219–kinopio-client.netlify.app

plz test it out and try clicking the checkbox button a bunch of times in cardDetails and when selecting multiple cards. Does it operate like you’d expect and want?

2 Likes

Working fine for me when selecting single or multiple link

2 Likes

:canoe: now shipped

2 Likes

I think this is fine, but just wanted to point it out since it might also be unexpected:

Start:

image

Select all and hit button. The third card stays checked:

image

Select all and hit button again. All are checked:

image

Finally, now all remain in sync subsequently:

image

1 Like

ya this is as designed, with the rationale that if you’re editing multiple cards w diff states together it’s because you want them to share context (all have checkboxes or not) and/or share state (all are checked or unchecked)

2 Likes