Skip to content

fix: archive edit accessibility and re-render/re-parse performance - #266

Merged
AdamJ merged 1 commit into
mainfrom
claude/handoff-file-execution-y9xf73
Sep 11, 2026
Merged

AdamJ merged 1 commit into
mainfrom
claude/handoff-file-execution-y9xf73

Conversation

@AdamJ

@AdamJ AdamJ commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Fixes several accessibility gaps and unmemoized re-render/re-parse patterns
in the archived-day and archived-task editing UI, per audit handoff.

  • Remove unsafe autoFocus on ArchiveEditDialog's Restore button
  • Add aria-expanded/aria-controls to the day-summary and per-task edit
    disclosure toggles
  • Add scope="col" and an accessible name to the tasks table
  • Memoize the day/task dirty-check and task save/delete/toggle callbacks
  • Wrap ArchivedTaskRow and MarkdownDisplay in React.memo so expanding one
    row no longer re-renders every sibling or re-parses unrelated markdown
  • Add a same-row Confirm/Cancel step to per-task delete, matching the
    destructive-action pattern used elsewhere in the app

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_019EovqUj4apuAhr3oBuVhQi

Fixes several accessibility gaps and unmemoized re-render/re-parse patterns
in the archived-day and archived-task editing UI, per audit handoff.

- Remove unsafe autoFocus on ArchiveEditDialog's Restore button
- Add aria-expanded/aria-controls to the day-summary and per-task edit
  disclosure toggles
- Add scope="col" and an accessible name to the tasks table
- Memoize the day/task dirty-check and task save/delete/toggle callbacks
- Wrap ArchivedTaskRow and MarkdownDisplay in React.memo so expanding one
  row no longer re-renders every sibling or re-parses unrelated markdown
- Add a same-row Confirm/Cancel step to per-task delete, matching the
  destructive-action pattern used elsewhere in the app

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019EovqUj4apuAhr3oBuVhQi
@github-actions github-actions Bot added documentation Improvements or additions to documentation frontend labels Sep 10, 2026
@AdamJ
AdamJ merged commit caf83a9 into main Sep 11, 2026
3 checks passed
@AdamJ
AdamJ deleted the claude/handoff-file-execution-y9xf73 branch September 11, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants