Profile avatar
faustineg.bsky.social
Dev JS @Zenika 🇫🇷 · she/her
3 posts 12 followers 37 following
comment in response to post
Shared this article in my company Slack and launched quite the debate :) I'm used to reduce, so I find it quite easy to read & write, but some have pointed out I could use Array.every and Array.some for some of my use-cases, so I'm reconsidering... Food for thought 🤨
comment in response to post
That way, we have 2 distinct modes : select everything, or make a custom selection. It's server-side paginated, so we don't want to have to handle more complex selections than that. It's a WIP, so if you come up with smth better I'd love to hear it !
comment in response to post
I'm actually working on exactly that problem in our internal Design System rn :) We've chosen to emulate the Gmail approach with a "select all XX items" banner, but when it's clicked, all individual checkboxes are disabled.