Menu: pick the run first and derive its route from it - #122
Merged
Conversation
- A scenario names its line, a service the line of its plan, so both are offered under that route and never on another; runs whose route no installed mod brought are not offered at all - Only the steps a run leaves open are walked: a prepared scenario is one question, the free run remains route -> vehicle - `Page::Scenario` is now the first step (`Run`), date/weather move to a `Setup` page; `--menu scenario` stays as an alias - `--line` still overrides the run's own route - Update README, STATUS and screenshot skill to the new flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vehicle:, and date/weather setup for a service. A prepared scenario that brings its own route and train is one question; the free run is three.Open/flow model incrates/app/src/menu.rs(run_of,Open::flow,next_step,advance) and reworksPage::backso Esc follows the run's actual step chain instead of a fixed page chain.world::buildlets the run's own line beat the menu's route, with only--lineabove it. Runs whose route no installed mod provides are not offered at all.Page::Scenario/Page::Runpages toPage::Run/Page::Setup;--menu scenariostill resolves to the run picker for compatibility, and--menu setupreplaces--menu runfor the service setup page.enanddelocales, and refreshes README.md, STATUS.md and the screenshot skill docs to describe the new flow and page names.Testing
cargo test --workspace(baseline: 1136 tests green) — includes thei18nparity test over the en/de locale files.cargo clippy --workspace -- -D warningsandcargo fmt --check.--menu run,--menu scenario,--menu setupand--menu linestill render the intended pages.