Summary | Developer Toolbox gives quick access to common links, actions, and settings often used when developing with Discourse. | |
Repository Link | https://github.com/discourse/discourse-dev-utils | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
For local development use only. Not useful for production sites
Features
How it works
The component is designed by default to be unobtrusive, so you trigger a modal by tapping the grave slash ` character on your keyboard. Alternatively, you can enable a trigger button in the UI by toggling a theme setting.
Once the modal appears you have access to some common actions, links and settings that you might typically need while developing with Discourse.
Settings
Name | Description |
---|---|
show header button | Show the trigger for the dev toolbox in the header panel |
remove button from flow | Fixes the header button to bottom right. (Requires show_header_button to be enabled) |
actions close modal | Triggering an action in the toolbox will also close the toolbox modal. |
custom links |
Translation | Default |
---|---|
dev_utils.toggle_btn | Dev Toolbox |
dev_utils.modal.title | Developer Toolbox |
dev_utils.modal.cancel | Cancel |
dev_utils.actions.title | Quick Actions |
dev_utils.actions.toggle_alerts | Toggle Alerts |
dev_utils.actions.toggle_plugin_outlets | Toggle Outlets |
dev_utils.links.title | Quick Links |
dev_utils.links.themes | Themes |
dev_utils.links.components | Theme Components |
dev_utils.links.colors | Colors |
dev_utils.links.settings | Settings |
dev_utils.links.plugins | Plugins |
dev_utils.links.user_prefs | User Preferences |
dev_utils.links.text | Text |
dev_utils.links.plugin_api | Plugin API |
dev_utils.links.docs | Discourse Docs |
dev_utils.common_settings.title | Common Settings |
dev_utils.common_settings.none | Select a setting |
Last edited by @JammyDodger 2024-06-15T18:10:29Z
Check document
Perform check on document: