Keep browser Back and Forward working between saved reports
Opened by @shuxiachai · Assignees: None
Claim Status & GitHub Signal
Unassigned with 0 comments. Open the workspace to inspect linked PRs before claiming or coding.
The issue involves understanding browser history management and routing, which may require some familiarity with JavaScript and web development concepts, but it is labeled as a good first issue, indicating it is approachable for beginners.
What It's About
The issue addresses a bug related to browser navigation (Back and Forward) not functioning correctly between saved reports in a web application.
Why It Matters
Ensuring proper browser navigation enhances user experience by allowing users to move between reports seamlessly without losing their navigation history.
Expected Outcome
The browser Back and Forward buttons should correctly navigate between saved reports without altering the browser's history, maintaining the expected behavior of the application.
Log in to compare this issue's requirements against your profile skills. Required concepts: JavaScript, Browser History API, Routing, Web Development, User Experience.
Progressive AI Hints
Hint #1 is always free and calibrated to your experience level. Extra hints unlock with coins without spoiling the full solution.
Skill-Gap Learning
Issue Description
Why
A reader can open two saved reports from the workbench, one after the other. When browser Back returns to the first report, the router opens it and pushes its URL into history again. In an offline Chromium fixture running the workbench's routing and history code, the first Back discarded the Forward entry for the second report. Pressing Back again showed the same first report instead of the workbench. Opening a run · Browser history handler
Task
Let the run view render the report selected by browser Back or Forward without adding another history entry. Keep history updates for intentional navigation to a different run.
Done when
- Starting at the workbench, open saved run A and then saved run B. Two Back actions show A and then the workbench. Two Forward actions show A and then B.
- Check both the address and the visible pane after each action. Displaying a report in response to Back or Forward leaves the browser's history intact.
- Add the sequence to the offline browser smoke with two saved fixtures. Keep the existing fallback that still opens a run if a history write fails. Browser fixture entry point · History write fallback
Read the contribution guide and comment here before starting. Keep the PR focused and to one commit.
Linked Pull Requests (0)
No linked or cross-referenced pull requests detected via GitHub timeline. Check comments below for informal claims before starting.
GitHub Comments (0)
No comments on this issue yet.
Issue Troubleshooting Threads (0)
No troubleshooting threads opened for this issue yet. If you hit a test, build, or navigation blocker, post what you've tried so fellow contributors can help.
PR Verification & Rewards
Sign in and link GitHub to verify your PR against this issue and earn XP + coins.
Contribution Workflow
Track your local progress before opening a pull request on GitHub.
Repository Context
Top Repository Paths
CONTRIBUTING.md Excerpt
Contributing
Read AGENTS.md first. It is a decision index: several seemingly obvious changes have already been rejected on measured evidence. Use the documentation map for current guides and historical results.
For a first contribution, the map below is enough; read AGENTS.md before changing pipeline, scoring or experiment code.
Where newcomers can work
Look for issues labelled
good first issue
or help wanted.
Comment on one before you start, so two people don't take the same issue.
You can hold up to five at a time, counting the ones whose pull request is
still open. If three days pass after your claim without a pull request, or
after a review that asks for changes without a reply or a push, the issue
goes back to the pool; a maintainer may also finish an open pull request on
its branch, keeping you as its author. You need no API keys: the test suite
and the browser smokes make no paid requests.
| Where | |
|---|---|
| Good for a first PR | The main web client (web/index.html, web/samples.html, web/static/; new UI strings go in web/static/js/i18n.js, in English and Chinese); ui/ readers and PDF export; current guides (README*, CONTRIBUTING.md, docs/operating-guide.md, docs/README.md); new tests in tests/ and e2e/; new tools under scripts/ |
| Open an issue first | Production pipeline and retrieval (src/academic_agent/crew.py, source_pipeline.py, config/); API access, BYOK and billing boundaries in api/; anything that changes scores, prompts or providers |
| Do not change | src/academic_agent/evidence.py (frozen experiments hash its bytes, and their tests fail on any edit; to change its behaviour, wrap it as reviewer_plan_bounds.py does); AGENTS.md, the maintainer's instructions to assistants; the experimental pages web/saved-source-*/ and web/source-locator/; the experiment scripts under experiments/ and the experimental modules in src/academic_agent/ (their paths and bytes are bound the same way); dated documents docs/prereg-*, docs/results-*, docs/errata-*, docs/protocol-*; fixtures in tests/fixtures/, evals/ and benchmark_fixtures/. Touch pyproject.toml and `u |
... (truncated)
Advisory PR Assistant
Helps structure your PR description or unpack reviewer feedback. Does not perform GitHub actions.