fix(perf,a11y): selectAtom for unread subscriptions, semantic headings, Perf-5 binary search

Perf-3: Replace raw roomToUnreadAtom subscription in Home, Direct, Space with
  selectAtom-derived Set<string> — components now only re-render when rooms
  gain/lose unread presence, not on every notification count update
Perf-5: RoomTimeline eventRenderer now uses binary search on precomputed
  timelineSegments instead of O(N×T) linear scan per visible message
A11y L-1: Add as=h2 semantic heading to Home, Direct, Inbox, Space page nav
  titles so screen readers announce page sections correctly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lotus Bot
2026-05-20 21:59:09 -04:00
parent 4e80c0a0f5
commit 18b12cfca1
4 changed files with 71 additions and 13 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export function Inbox() {
<PageNavHeader>
<Box grow="Yes" gap="300">
<Box grow="Yes">
<Text size="H4" truncate>
<Text as="h2" size="H4" truncate>
Inbox
</Text>
</Box>