-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.7.0 minor release #8002
4.7.0 minor release #8002
Conversation
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
|
||
UI frameworks like React, Vue, or Svelte can also be used to create dev toolbar apps. These frameworks provide a more declarative way to create UIs and can make your code more maintainable and easier to read. | ||
|
||
The same motivational dev toolbar app built into your existing Astro project earlier on this page with JavaScript can be built instead using a UI framework (e.g. Preact). Depending on your chosen framework, you may or may not require a build step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: «...built using a framework (e.g. Preact) instead.»
The same motivational dev toolbar app built into your existing Astro project earlier on this page with JavaScript can be built instead using a UI framework (e.g. Preact). Depending on your chosen framework, you may or may not require a build step. | ||
|
||
:::note | ||
However your choose to build your dev toolbar app, using JavaScript or a UI framework, you will still need to [create the integration](#creating-the-astro-integration) that adds your app to the dev toolbar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
«However your choice... »?
«However you choose... »?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
|
||
This is the core part of the app. This function will be called when the app is loaded, which will either be when the browser is idle or when the user clicks on the app in the UI. | ||
This function takes an object with an [`init()`](#init) function that will be called when the dev toolbar app is loaded. It can also take a [`beforeTogglingOff()`](#beforetogglingoff) function that will run when the toolbar app is clicked to toggle off the its active status. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
«...toggle off the it's active status...» or
«...toggle off its active status...»
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another great catch, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor suggestions to the text.
!coauthor |
|
Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com>
Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com>
Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Ricardo Jaime Gil Simões <ricardo.gil.simoes@gmail.com>
…tro#8154) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
…withastro#8159) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Ricardo Jaime Gil Simões <ricardo.gil.simoes@gmail.com>
…tro#8154) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
…withastro#8159) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Ricardo Jaime Gil Simões <ricardo.gil.simoes@gmail.com>
…tro#8154) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
…withastro#8159) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Description (required)
4.7 Minor release docs:
#7983 - update CLI reference page for
astro preferences
#7821 - update Dev Toolbar App API reference with new helpers
#7922 - adds new dev toolbar app recipe (also updates Dev Toolbar API and Guide pages with link to recipe)