I’ve been looking for examples of people implementing so-called command palettes in their live applications. Has anybody seen this implemented and (hopefully) open sourced?
Hoping that any examples of this would be of interest for the community at large (I for one love them when done right).
I built one for https://petal.build (hit cmd-k while on the site). It’s not LiveView though - ended up using Alpine JS & fuzzy - npm. I put it in root.html.heex so it’s available everywhere. Happy to paste the code here if of interest.
I had planned to make a set of libraries called palettable where it would support static or dynamic command evaluation in the browser or on backend, and ideally would be a set of protocols so frontends and backend could be interchangeable, and not just limited to live view.