Hny! You can now Hide All when editing hidden profiles in StreetPass. Saving you a lot of time if all you wanna do is clear out your list!
Out today at https://streetpass.social
Once again had a lot of fun with the native HTML form api while implementing this feature https://github.com/tvler/streetpass/blob/a8359c834c62be155011d94e608d1817b75212df/extension/src/popup.tsx#L151
TIL you probably don't need refs of form elements, since form objects have a built-in way of retrieving elements both by name AND by iterating thru all elements currently in the DOM. https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements
This is honestly really great bc it's pretty likely that you're gonna have a dynamic amount of form controls, and a dynamic number of refs is a huge pain to set up in React
@tvler Any chance that we will see this plug-in on iOS?
@yuliyan Hey! I think I'm at the point where I would only work on this if I was on sabbatical or wasn't employed. Would take a ton of eng work and increase the app's code complexity like >5x https://github.com/tvler/streetpass/discussions/36
@tvler Thank you. Understandable
@yuliyan if you subscribe to that gh discussion that’ll be the best way to receive any updates :) it’s a very interesting idea and I’d be happy to work on it if the timing is right
@tvler already subscribed! :)
@tvler I wasn't aware of this. Thank you for sharing!
@kaiserkiwi ya it’s pretty sweet. Form api feels pretty underrated imo