Skip to content

web: Escape on a run page drops the repository scope #533

Description

@nathancrtr

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions