I (or actually.. <@U02BK8ABTQF> :pray::skin-tone-3...
# feed
j
I (or actually.. @Artem Kobzar 🙏🏼) added WASM support to my HumanReadable library. Also, following the example of several others here, I created a web demo (Using JS still 😉), interactively demonstrating what the library can do using Compose Web. Not optimized for mobile, but demo available at https://jacobras.github.io/Human-Readable/
kodee happy 9
👀 2
🚀 2
K 1
🐕 12
p
@Jacob Ras 👏 just one small remark unrelated to WASM support itself: the demo doesn't refresh the contents if one chooses another language
j
Yeah, I should pass the language as a key to the `remember`s 🤓
👍 1
r
Also its not possible to type in specific times in the demo -- you can paste in entire values so its probably some kind of validation when the value is partial preventing it from being entered
p
I noticed that the demo app often crashes, then it just freezes. I got one case where e.g. some kind of linguistic form is not supported for Polish (saw in the JS console:
r_: Plural form 'many' not provided
), then it's an exception coming from the business logic (not like a framework's failure), so it would be good to properly surface it in the UI (nevertheless, love the lib!)
j
@rocketraman yeah, that's my quick-'n-dirty input validation. I'll improve it 🙂
👍 3