Skip to content

Fix fresh-agent header in narrow panes#490

Merged
danshapiro merged 1 commit into
mainfrom
fix/freshagent-header-intermittent
Jun 30, 2026
Merged

Fix fresh-agent header in narrow panes#490
danshapiro merged 1 commit into
mainfrom
fix/freshagent-header-intermittent

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

Summary

  • keep fresh-agent identity and cwd metadata visible in narrow split pane headers
  • hide optional fresh-agent header actions in cramped pane headers before they crowd out labels
  • add a browser regression for a narrow split freshcodex pane

TDD

  • Red: new Playwright regression failed because the fresh-agent cwd metadata span was hidden in a 320px viewport split pane
  • Green: added pane-header container rules and compact fresh-agent header styling
  • Refactor: suppressed fresh-agent network effects in the regression so it only covers header layout

Verification

  • npm run test:e2e:chromium -- test/e2e-browser/specs/fresh-agent.spec.ts --grep "fresh-agent header keeps identity visible"
  • npm run test:vitest -- --run test/unit/client/components/panes/PaneHeader.test.tsx test/unit/client/components/panes/PaneContainer.test.tsx
  • npm run typecheck:client
  • npm run lint
  • npm run test:e2e:chromium -- test/e2e-browser/specs/fresh-agent.spec.ts
  • FRESHELL_TEST_SUMMARY="fresh-agent narrow header identity followup" npm run check

@danshapiro danshapiro merged commit 6cb06e3 into main Jun 30, 2026
1 check passed
@danshapiro danshapiro deleted the fix/freshagent-header-intermittent branch June 30, 2026 07:06
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