You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Split the Publication Layout Wizard into a module with one file per step, with no change in behaviour #3096
crates/ui-egui/src/publicationwizard.rs is 907 lines in one file: the draft, the window, all five steps and their tests. The steps layout.publication still lacks in the wizard (extent and name, the map elements, their arrangement, more texts) would each be added to the same file, and every new test at its end, so pull requests on different steps would conflict with each other.
Proposed solution
Move whole items into crates/ui-egui/src/publicationwizard/: mod.rs keeps the draft, the window and what several steps share, and each step gets its own file (size.rs, style.rs, texts.rs, accent.rs, review.rs) with its tests. The only edits inside the moved code are the visibility and imports the split needs, and the rewrapping cargo fmt does after that. Nothing changes in the app. The pull request asks for review with git diff --color-moved=dimmed-zebra.
Estimated scope
Small
Alternatives considered
Leaving the file as is keeps every change to the wizard in conflict with the others.
Activity
jgregoriorincon commentedon Nov 27, 2026
I'll take this.
refactor(ui): split the publication wizard into a module with one fil…