Repository navigation
feat(layout): take a mosaic panel from a bookmark in the layout wizard (#3610) - #3624
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewReviewed PR #3624 (Layout Wizard: a mosaic panel can take a bookmark). Nothing blocking. I read the full diff, the base AGENTS.md, the wizard's BugsNone found. Checked:
SecurityNone found. The bookmark name is sent as a JSON value and resolved by name in the command. No new input path. PerformanceNone worth raising. Quality
AGENTS.mdNo violations found.
Change sizeCompared with the base branch (merge base 7548c1b to PR head 4674655).
|
Code reviewI read the diff, the staged PR metadata, the base-branch AGENTS.md, and the surrounding code: Bugs: none found. What I checked:
Security: none found. The bookmark name goes into JSON and the command matches it as data. Performance: none significant. Each frame scans the map's bookmarks once per panel (at most 6 panels), and the scan is cheap. Quality:
AGENTS.md: no violations found. New strings go through Already raised (left alone): 1 earlier thread, on the wording of the Change sizeCompared with the base branch: the whole PR against main (merge base 7548c1b to PR head efae225). Sizes are file sizes, not line counts.
|
Code reviewNo bugs, security issues or AGENTS.md breaks found. I read the full diff, the staged PR metadata and the code it depends on, but could not build or run the tests here (no shell), so the behaviour below is from reading, not execution. Bugs
Security
Performance
Quality
AGENTS.md
Twins checked
Not verified
Prior reviews
Change sizeCompared with
|
Code reviewBugs
Security
Performance
Quality
AGENTS.md
Already raised (left alone): 2 earlier threads, both about Not verified: I did not run the build or the tests. The PR says Change sizeCompared: the whole PR against main (merge base 7548c1b to PR head 1b9eb38).
|
📖 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 |
Code reviewReviewed the four changed files ( BugsNone found. What I checked:
SecurityNone found. Bookmark names go into PerformanceNone worth raising. Quality
AGENTS.mdNone found. Checked: strings use Prior review threadsThree earlier threads exist on this PR. I left all three alone:
Change sizeCompared with the base branch: the whole PR against
|
Summary
A panel of a mosaic sheet in the Layout Wizard can now be a bookmark of the map (#3610), as
layout.publicationalready takes it ({"bookmark": name}). Each panel of the Panels step picks Coordinates or Bookmark; Bookmark lists the map's bookmarks (off, saying why, when the map has none) and starts on the first, and its coordinate fields are put away, kept for the way back. The review lists such a panel asBookmark "name".A bookmark deleted or renamed after it was picked, or a map or project switched (even to one with a bookmark of that name), is said in the panel; the review shows the panel as none and Create says which and makes nothing. One check serves the step, the review and Create, as the Map step does for a layer that is gone.
Closes #3610.
Testing
deliver.shon the pushed commit (fmt, clippy, nextest, doctests, layers, schema): all pass but 8 tests of 12274 run, which fail the same onmain(7 inrustgis-geolibre,smoke line_strokes_editor_edits_one_class).publicationwizard/panels.rs: the radio with no bookmarks, picking and going back, another bookmark from the list, mixed panels, the ways a bookmark goes stale (step, review, Create), a map left without bookmarks, a long name cut in its list, Create. Thelayout_reachtests ran in that nextest run; they open the wizard on its first step only.Surfaces
layout.publicationis unchanged.layout.publicationstep as before.ui-touch): it has no Layout Wizard.layout.publicationis unchanged.UI evidence
The Panels step, before (coordinates only) and after (panel 1 on a bookmark, panel 2 on coordinates):
The review with the two panels:
Not in this PR
The wizard doesn't compute a bookmark's area: one that shows no place on the Earth is refused by the command at Create, with its message. No bookmark preview, and no bookmark is made from the step.
Notes
i18n/*.tsvuntouched).docs/user-guide/layouts.md.Summary by CodeRabbit