Repository navigation
feat(ui): keep the Publication Layout Wizard's fine element settings in a collapsed Advanced section - #3283
Conversation
…in a collapsed Advanced section
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewI reviewed the diff (2 files: BugsNone found. I checked the header count against SecurityNone found. The change is UI layout and does not touch input parsing or file access. Performance
Quality
AGENTS.mdNo breaks found.
Change sizeCompared with the base branch: the whole PR against main (merge base 35614a4 to PR head 830390f).
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
The Publication Layout Wizard's Elements step mixed which elements the sheet carries with fine settings, and "Leave out of the legend" added a checkbox per layer to the step.
The step now keeps the elements, their styles and the legend title in its body, and holds the fine settings in an Advanced section at its end, closed at first:
The header counts the settings sent that differ from their default ("Advanced (3)"), the layers left out counting as one, so nothing picked is hidden without a sign. A setting the sheet can't use isn't counted, as it isn't sent.
They stay in the wizard because
layout.publicationsizes the legend and places the map with them; changing them later in the legend's properties keeps the legend's box and the map as they were made.What the wizard sends and what the review lists are unchanged. With a legend off, the title's and the columns' disabled hints now say "title" and "split" separately.
New strings ("Advanced", "Advanced ({count})", "There is no legend to title.", "There is no legend to split.") wait for the release translation pass.
Testing
cargo fmt --check, clippy, nextest, doctests, the layer check and the schema check passed on the first commit; after the two follow-up commits,cargo fmt --check, clippy onrustgis-ui-eguiand its 140 wizard tests passed.ui_shotreplay of the Elements step before and after.Reach: the desktop app and the browser, which share this wizard. The command line, Python, the Assistant, MCP and plugins call
layout.publication, which doesn't change. The touch interface doesn't offer the wizard. No ribbon, shortcut or command change. Undo of the layout Create makes is unchanged.UI evidence
Elements step, before (left) and after (right):
Scrolled to the end, with the decimal comma picked and the veil off; after, the section is open and counts both:
Related issue
Closes #3280
Summary by CodeRabbit