This PR closes #617 and improves search UX by not redrawing search results until there are actual results by any SearchableRepository. This "fixes" the "flickering" that would otherwise occur when searching:
I also went and replaced MutableStateOf({Int,Float}) to the respective Mutable{Int,Float}StateOf that I found on the way, for good measure.
Now, I haven't tested this much, so I'm not sure whether or not this introduces any regressions. But I think the result of an UI that does not flicker when typing is quite promising. Let me know what you think.
And sorry for that messed up commit-history. :sweat_smile:
This PR closes #617 and improves search UX by not redrawing search results until there are actual results by any
SearchableRepository
. This "fixes" the "flickering" that would otherwise occur when searching:https://github.com/user-attachments/assets/723dbf1f-120a-4d1a-ad5a-fa6f3243b304
I also went and replaced
MutableStateOf({Int,Float})
to the respectiveMutable{Int,Float}StateOf
that I found on the way, for good measure.Now, I haven't tested this much, so I'm not sure whether or not this introduces any regressions. But I think the result of an UI that does not flicker when typing is quite promising. Let me know what you think.
And sorry for that messed up commit-history. :sweat_smile: