Problem
Copying a direct link to a run (e.g. ?view=runs&run=ea53b695-...) and opening it in a new tab does not open the specific run. The runs list loads the first page (~25 most recent runs) and tries to find the run ID in the loaded data. If the run is older and falls on page 2+, the frontend silently ignores the run param.
Steps to reproduce
- Open an app with many runs (100+)
- Scroll down in runs view and click on an older run
- Copy the URL from the browser
- Open the URL in a new tab
- The runs list shows but the specific run is not selected/opened
Expected
The specific run should be loaded and displayed, even if it is not on the first page.
Possible fix
When a run param is in the URL:
- Check if the run exists in the already-loaded page
- If not found, fetch the specific run by ID directly via the API
- Scroll to / highlight the run in the list (or paginate until found)
Same class of issue as the "See in Editor" button not working when a version is not yet loaded.
Problem
Copying a direct link to a run (e.g.
?view=runs&run=ea53b695-...) and opening it in a new tab does not open the specific run. The runs list loads the first page (~25 most recent runs) and tries to find the run ID in the loaded data. If the run is older and falls on page 2+, the frontend silently ignores therunparam.Steps to reproduce
Expected
The specific run should be loaded and displayed, even if it is not on the first page.
Possible fix
When a
runparam is in the URL:Same class of issue as the "See in Editor" button not working when a version is not yet loaded.