Align save collection call with overall project architecture
The common approach for api call from the frontend in this project is, that they are defined in the api/index and passed from the Dashboard.tsx to the components. The save collection call in the the collection panel is not doing that.
https://github.com/EsperoTech/yaade/blob/0c83d78ce1e09625ba1d93907e49332dd0c58eea/client/src/components/collectionPanel/CollectionPanel.tsx#L55-L64
We'll have to consider how to structure the project best when we want to introduce the command palette. Basically all "actions" a user can take (like clicking a button) will have to be defined way up in the hierarchy in some kind of "command" component. This will also include the save collection action.