If anyone's looking for a cool contribution opport...
# confetti
z
If anyone's looking for a cool contribution opportunity... Adding some sort of normalizing to the search feature in Confetti would be really great. Searching for "Marton" turns up no speakers for KotlinConf because of the accent 😕 I looked into this briefly and the simplest way I found for this so far was to pull in a library for it, and then basically just do this to the strings before doing
contains
checks:
Copy code
this.normalize(Form.NFKD).filter { it.isLetter() or it.isWhitespace() }
Seems to work for a bunch of cases I tested, but of course should probably be covered by some tests too. I'd raise a PR for it but I don't have time right now to fix any additional problems if they come up. I expect this might need to be skipped for wasm if it's not implemented there by the library, etc. But it would be nice to have this in the app.
👍 3
1
y
Not sure if this happened, but an issue on github marked help wanted would ensure it's not forgotten.