Skip to content

fix(dashboard): name the Mac Resources time range tabs - #1261

Open
vianbas wants to merge 1 commit into
jo-duchan:mainfrom
vianbas:fix/979-mac-resources-time-range
Open

vianbas wants to merge 1 commit into
jo-duchan:mainfrom
vianbas:fix/979-mac-resources-time-range

Conversation

@vianbas

@vianbas vianbas commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Name the Mac Resources history tablist Time range so assistive technology can identify what the 1h, 6h, 24h, and 7d tabs control.

Refs #979

Verification

  • The new regression test failed on the unnamed tablist. With the label, all 31 Mac Resources page tests pass.
  • On Node 22, pnpm test reported 9,213 passing tests and 7 skipped. Lint, typecheck, the dashboard build, and the changeset check passed. a11y-lens reported no findings.
  • Browser and screen reader checks were not run.

Checklist

  • Tests written and passing
  • No any
  • Interface changes land in agent-core first (no interface changes)
  • No sensitive info (tokens, paths, credentials)
  • I verified this change myself (on a simulator/emulator if it requires macOS)
  • AI use disclosed, if any

Codex helped implement and verify the change. A separate Codex agent reviewed the diff. a11y-lens used Claude to check accessibility.

Related .work/ docs

  • archive/2026-11-28-mac-resources-time-range-plan.md
  • reviews/fix__979-mac-resources-time-range.md

Summary by CodeRabbit

  • Accessibility
    • Mac Resources history tabs now have the accessible name “Time range,” making the tab list clearer to screen-reader users.
  • Documentation
    • Updated the Mac Resources example and release notes to reflect the tab list’s accessible name.

@vercel

vercel Bot commented Nov 27, 2026

Copy link
Copy Markdown

@vianbas is attempting to deploy a commit to the jo-duchan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Mac Resources history tab list now has the accessible name “Time range.” A page test checks the name. The design documentation, changelog, and changeset also record the update.

Changes: Mac Resources history tabs

Layer / File(s) Summary
Add and document the tab list name
packages/dashboard/src/pages/MacResources.tsx, packages/dashboard/src/__tests__/MacResources.page.test.tsx, packages/dashboard/design/components/tabs-trigger.md, CHANGELOG.md, .changeset/mac-resources-time-range.md
The tab list gains the accessible name “Time range.” A page test verifies the name. The design documentation and release notes record the change.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related issues

  • Issue 979 describes the missing accessible name on the Mac Resources tab list. This change adds the specified name, though the issue remains open for other gaps.

Suggested reviewers: jo-duchan

Merge Risk: Minimal · up to 570cd

This change gives the Mac Resources history tabs the accessible name "Time range" so assistive technology can describe what they control. The change is small and low-risk, and nothing found blocks merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the primary change: the Mac Resources time-range tabs now get an accessible name. It matches the raw summary, which shows the aria-label on the TabsList, and the objectives, which desc…
Description check Passed The description follows the template's Summary, Checklist, and Related docs sections. The Summary states the change and its purpose (naming the tablist so assistive technology can identify the 1h, 6h,…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the primary change: the Mac Resources time-range tabs now get an accessible name. It matches the raw summary, which shows the aria-label on the TabsList, and the objectives, which describe the same tablist naming. The title is concise and specific.

Full details: Description check

Explanation

The description follows the template's Summary, Checklist, and Related docs sections. The Summary states the change and its purpose (naming the tablist so assistive technology can identify the 1h, 6h, 24h, and 7d tabs). Verification details are given, and every checklist item is checked. The template's HTML comment prompts are replaced by real content. The Related docs section lists two .work/ files. The description does not say whether those files were checked, but the check only requires that the template structure and required information are present, so the description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Fix failing CI checks

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 0f46351 and 570cd1a.

Files selected for processing: 5

  • .changeset/mac-resources-time-range.md
  • CHANGELOG.md
  • packages/dashboard/design/components/tabs-trigger.md
  • packages/dashboard/src/__tests__/MacResources.page.test.tsx
  • packages/dashboard/src/pages/MacResources.tsx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@vianbas
vianbas marked this pull request as ready for review November 27, 2026 18:30

This branch has not been deployed

No deployments
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.

1 participant