Repository navigation
fix(ui): nest a plugin tool's toolbox groups in the Tools pane (#3022) #3258
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -198,6 +198,12 @@ cargo build --release --target wasm32-unknown-unknown | |||||||
| Ask only for what you use. | ||||||||
| - `commands[].params`: a string describing the command's parameters for scripts and agents, | ||||||||
| not a JSON object or a form definition; it defaults to `"{}"`. | ||||||||
| - `tools[].toolbox`: where the tool sits in the **Tools** pane, under **Plugins**. Separate levels | ||||||||
| with ` › `: `1. Grid and isolines › Variograms` makes a **1. Grid and isolines** group with a | ||||||||
| **Variograms** group in it, up to eight levels counting **Plugins**. A tool with no toolbox sits | ||||||||
| in a group named after the plugin. Groups are listed alphabetically, in whatever order the tools | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor accuracy point: the groups are sorted with Rust's
Suggested change
Category: quality |
||||||||
| come in `plugin.json`; empty levels are skipped. Numbered groups sort as text, so write the | ||||||||
| numbers with leading zeros (`01.`, `02.`, … `10.`) to keep their order. | ||||||||
| - `commands[].icon`: the name of one of RustGIS's own icons (`stats`, `zoom_full`, `bookmark`, | ||||||||
| `buffer`…), or a puzzle piece when it isn't one. | ||||||||
| - `commands[].form` (optional) gives the command a dialog of its own: its ribbon button (tab | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.