Skip to content

fix(chat): post-merge sidenav polish — semantic <nav> + rename close→closed#256

Merged
blove merged 1 commit into
mainfrom
claude/chat-sidenav-cleanup
May 12, 2026
Merged

fix(chat): post-merge sidenav polish — semantic <nav> + rename close→closed#256
blove merged 1 commit into
mainfrom
claude/chat-sidenav-cleanup

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 12, 2026

Summary

Two minor cleanups flagged in the #253 code review, deferred at that time and addressed now after browser verification.

  • chat-sidenav: replace <aside role=\"navigation\"> with semantic <nav> (HTML5 element of choice for navigation). Adds tabindex=\"-1\" so the existing Esc keydown binding still works without tripping the @angular-eslint/template/interactive-supports-focus rule.
  • chat-history-search-palette: rename the close output to closed, dropping the @angular-eslint/no-output-native suppression. Past-tense matches the convention of state outputs (opened/closed) and removes the global-window-method shadow concern.
  • Migrate the single consumer binding in examples-chat-angular.
  • Regenerate chat API docs.

Browser-verified via nx serve examples-chat-angular: sidenav renders correctly in drawer and expanded modes, palette opens/closes via search button, Cmd+K, Esc, and scrim click; Enter selects + switches thread.

Test plan

  • nx run chat:test — passes
  • nx run chat:build — passes
  • nx lint chat — passes (the new <nav tabindex=\"-1\"> satisfies the interactive-supports-focus rule)
  • nx run examples-chat-angular:build — passes
  • Browser-verified live in Chrome MCP

🤖 Generated with Claude Code

…e output

- chat-sidenav: replace <aside role="navigation"> with semantic <nav>
  (adds tabindex="-1" so Esc keydown still binds without tripping the
  interactive-supports-focus lint rule).
- chat-history-search-palette: rename close output to closed, dropping
  the @angular-eslint/no-output-native suppression. Past-tense matches
  the convention of state outputs (opened/closed).
- examples-chat-angular: switch the consumer binding to (closed).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 12, 2026 4:27pm

Request Review

@blove blove merged commit d8214d6 into main May 12, 2026
14 checks passed
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