TLDR Stephano expressed the need for a Typesense Cloud dashboard to manage collections. Jason confirmed its development, also including features like editing and deleting items. James and Mica added comments about API key management and self-hosted Typesense compatibility.
Not at the moment, but I am working on it as we speak!
Awesome
Would be great to be able to add items, remove items and edit items all from the dashboard
And also perhaps do so with batches of items
Yup! Here's a sneak peak from my local machine
Cool, btw can we build the schema in the dashboard so we dont need to have it in code?
Yup, here's how that looks:
You still have to specify a JSON structure though
Oh wicked
I might move my TypeSense to cloud because of this. So I dont have to run CLI commands just to seed and drop my typesense
If I delete collection, is there a way to keep the schema via dashboard?
Or even, could I batch delete documents while keeping the collection
Unfortunately no, state is only stored in the Typesense Cluster, so once a collection is deleted, it's gone
Are you essentially looking to "reset" the collection to 0 documents?
Yes
Got it, alright I'll add that in as well!
In hindsight, that's a pretty useful feature! Don't know why I didn't think about it :)
Maybe it could be better to have a way to select multiple items and then perform the action (delete)
And you can have an option to select all
Selecting individual docs across millions of documents could be chore though. I'm essentially thinking of adding a way to delete by filter query through the UI:
So you can either delete all documents, or delete a subset by specifying a filter
Right, in practice I only need to delete all during dev anyway
But would be nice in production to be able to delete by specific ID using dashboard
Another thing that’s really important for me is creating a batch of documents
In my code I do this: ```export const importDocumentsReq = (collection: string, data: Array<any>) => axios({ method: 'post', url: `${protocol}://${host}:${searchPort}/collections/${collection}/documents/import`, headers, data: toJSONL(data), }).catch(throwSearch);```
Where I basically run the `import` request
When I want to seed a bunch of documents
Adding documents looks like this, which does an import behind the scenes
Oh wicked
Is there a way to import a file to do this easier?
Not at the moment (wanted to get a MVP out soon)
Gotcha, looks good to me
Resetting Users and uploading batches/schemas is really all I needed
Super excited man, great work
Thank you!
Can't wait to get this out... So many people have asked for this now!
Listing existing API keys would be useful. Also, I do not like how the api keys are downloaded to a txt file
James Got it, I need to refactor some parts of the code to centralize key management in one place, so decided to skip it for mvp. But definitely part of the plan.
I guess instead of downloading a txt file, we could just show the API key one time on the page itself
I think so. More secure and in “one place”. A sandbox search/facet area would also be useful - test before production. Maybe performance suggestions
Yup, here's how the search sandbox looks:
Would this visual dashboard work for self-hosted Typesense too? It looks really nice!
Thanks Mica! The dashboard is baked into Typesense Cloud, and so works only with Typesense Cloud clusters
Stephano James Good news! Powered through some remaining pieces over the weekend and deployed the dashboard to prod this morning!
I'd love to get your feedback!
So it's not planned to have this dashboard for self-hosted Typesense? It would be awesome to be able to play with, since Typesense Cloud doesn't have a free tier.
> So it's not planned to have this dashboard for self-hosted Typesense? Not at the moment, because the dashboard has some hard dependencies on the cloud management console for auth, etc and it would take some effort to make it work with self-hosted Typesense. In full transparency though, Typesense Cloud is how we sustain our small bootstrapped team and the Typesense project, so we're hoping the dashboard gives people a reason to use Typesense Cloud... Still thinking this through, but that's our thought process at the moment. > It would be awesome to be able to play with, since Typesense Cloud doesn't have a free tier Typesense Cloud has a 30-day free tier on the 512MB config
Jason Top Work!
I fully understand that you rely on Typesense Cloud and that if it's hard to make it work for local use it's not a priority. Thanks for the explanation! It's been a while I looked at the pricing I forgot there was a 30-day trial, that's cool! I'll just have to make sure when to activate it, haha.
Stephano
Fri, 14 May 2021 19:01:36 UTCFor typesense cloud is there a dashboard to view the items in your collections?