Open jgomez720 opened 2 months ago
Easy, I got you
What if this was in the command bar instead
What if this was in the command bar instead
Oh we kinda have this in the command bar, but the user has to go to the "Open Project" command first. Here's a demo and discussion:
https://github.com/KittyCAD/modeling-app/assets/23481541/a7c1606d-f31c-4d69-91ae-92a888401bdc
The discussion about adding a sort of first-class file search to the command bar is ongoing in #1468, but I think adding a little filtration UI to the home page is pretty trivial; we already have the UI components and the Fuse.js fuzzy search library implemented for the CommandBarOptionInput component.
@jtran I actually walked you through the CommandBarOptionInput component today, so I think you should be able to implement this as an element in Home.tsx
slotted in right here without too much trouble at all, so I'm going to reassign this to you. You can also look at SettingsSearchBar.tsx here.
You can probably borrow that wholecloth, with the only difference being that I think you should filter the project cards list in situ, not show a Combobox of options like that search bar does.
Description
We need the ability to search the files we have. I have officially reached the point where it's taking me too long to find the right file 😂