What happened
With a repository scope active, open a run from the Inbox and press Escape. The page returns to /, which shows every repository. The scope is gone.
The browser's back button keeps the scope, because it returns to the URL that carried it.
What you expected
Escape returns to the Inbox under the scope the run was opened from.
Reproduction
gateline ui --demo, choose demo-small in the rail, open a run, press Escape.
Notes
The scope lives only in the URL (docs/MULTI-REPO.md §9.1), and the run page's URL does not carry it. Two ways to fix it: carry repo on the run page's URL when it was opened under a scope, or have Escape go back in history when the previous entry was the Inbox.
Environment
main after #532.
What happened
With a repository scope active, open a run from the Inbox and press Escape. The page returns to
/, which shows every repository. The scope is gone.The browser's back button keeps the scope, because it returns to the URL that carried it.
What you expected
Escape returns to the Inbox under the scope the run was opened from.
Reproduction
gateline ui --demo, choosedemo-smallin the rail, open a run, press Escape.Notes
The scope lives only in the URL (
docs/MULTI-REPO.md§9.1), and the run page's URL does not carry it. Two ways to fix it: carryrepoon the run page's URL when it was opened under a scope, or have Escape go back in history when the previous entry was the Inbox.Environment
mainafter #532.