Skip to content

fix(viewer): keep the report header stable across tabs - #2022

Merged
lizhengfeng101 merged 2 commits into
mainfrom
fix/viewer-report-tabs
Nov 21, 2026
Merged

lizhengfeng101 merged 2 commits into
mainfrom
fix/viewer-report-tabs

Conversation

@lizhengfeng101

Copy link
Copy Markdown
Contributor

Description

Switching from Review to Analysis moved the tabs up by about 30 pixels on narrow screens: the review status, file count, and duration could wrap onto a second line and then disappear. The active link also changed width, and both pages replayed an entrance animation.

Combined reports now keep the same session context and navigation above both panels. Review-specific stats appear at the top of Review; sessions without Analysis keep them in the header. The active link changes color and underline without changing size, and a stable scrollbar gutter keeps the header aligned when only one panel needs to scroll.

Type of Change

  • Bug fix
  • Documentation update

How Has This Been Tested?

  • make check, make build, and the full make test suite passed.
  • A handler regression test compares both headers, including their breadcrumbs, allowing only the active link to differ.
  • In Chrome at 320, 390, 768, 1024, and 1440 px, the header and both links kept identical bounding boxes throughout a Review → Analysis → Review round trip.
  • Verified that both section links work in the standalone HTML export.

AI disclosure

OpenAI Codex CLI (gpt-6.2-astra) assisted with implementation, testing, and PR preparation. OpenCodeReview (ocr, gpt-6.2-astra) reviewed five selected files and reported no findings.

@github-actions

Copy link
Copy Markdown
Contributor

✅ OpenCodeReview: Review complete: 0 finding(s) across 5 selected item(s).

@MuoDoo MuoDoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lizhengfeng101
lizhengfeng101 merged commit d29ca20 into main Nov 21, 2026
15 checks passed
@lizhengfeng101
lizhengfeng101 deleted the fix/viewer-report-tabs branch November 21, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants