Starlight dev toolbar app #1163
HiDeoo
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
starlight
are you using?0.13.1
What is your idea?
Starting with Astro 3.4, a new experimental dev toolbar is available which should be unflagged soon. The Dev Toolbar App API allows integrations (like Starlight) to add new apps to the toolbar with custom features.
The goal of this discussion is to see if there is an interest in a Starlight dev toolbar app and if so, what features would be useful to have.
Why is this feature necessary?
I've started experimenting with the new API a while ago and played around with some ideas and I came up with the following prototype as a fun experiment:
From the features I experimented with and some feedback I got from users, here's some ideas of what I think could maybe be useful to have:
astro add
plugins andastro add
add a non-interactive mode (but I'm not sure if that's a good idea or not either)?On a more technical side, one question could be "should this be an official app built-in with Starlight or should this be a separate community app?". If the community app route is possible, I feel like this would end up reimplenting a lot of the same code that is already in Starlight just to get some data that is already available in Starlight.
I'm eager to hear your thoughts on this and if you have any other ideas of features that could be useful to have in a Starlight dev toolbar app.
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions