ZIm/crates/extensions_ui/src
Nathan Sobo 5f98b9617a
Start on a database-backed prompt library (#12468)
Using the file system as a database seems like it's easy, but it's
actually a real pain. I'd like to use LMDB to store the prompts locally
so we have more control. We can always add an export option, but I want
the source of truth to be somewhere other than the file system.

So far, I have a PromptStore which is global to the application and can
be initialized on startup. Then there's a `PromptLibrary` which is
intended to be the root of a new kind of Zed window. I haven't actually
seen pixels yet, but I've sketched out the basics needed to create a new
prompt, save, etc.

Still lots to figure out but the foundations of being backed by a DB and
rendering in an independent window are in place.

/cc @iamnbutler @as-cii 

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
2024-06-03 15:58:43 +02:00
..
components Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
components.rs Add a command for building and installing a locally-developed Zed extension (#8781) 2024-03-06 15:35:22 -08:00
extension_suggest.rs Suggest extension for .wit files (#12031) 2024-05-19 08:36:46 -04:00
extension_version_selector.rs Restrict v0.0.7 of the zed_extension_api to dev builds, for now (#12170) 2024-05-22 19:45:34 -04:00
extensions_ui.rs Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00