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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user