RoomInput:
- Seed thread reply draft when opening drawer from notification
- Handle thread relation in message composition
- Support isolated draft state per thread
- Auto-populate replyTo when replying in thread
- Send messages with thread relation metadata
- Clear thread draft after sending reply
RoomTimeline:
- Add ThreadReplyChip component showing reply count, avatars, latest reply preview
- Filter thread replies from main timeline (keep only root messages)
- Add thread button to start threads from messages
- Exclude thread events from triggering timeline pagination
- Re-render on ThreadEvent updates for live reply counts
- Thread reply counts exclude root message, reactions, and edits
RoomViewHeader:
- Add thread button with unread badge using SDK notification APIs
- Initialize Thread objects from room history on mount
- Scan timeline for thread roots and thread replies
- Auto-create Thread objects for new thread events
- Toggle between thread drawer and thread browser
- Close drawer and open browser when clicking button with drawer open
Room:
- Render ThreadDrawer when thread is open (desktop: side panel, mobile: overlay)
- Render ThreadBrowser when browser open and no thread active
- Auto-open thread drawer when navigating to thread event IDs
- Coordinate openThreadId and threadBrowserOpen state
RoomViewFollowing:
- Support filtering read receipts by thread participant IDs
- Show thread-specific following indicator
ThreadDrawer:
- Side panel for viewing and replying within threads
- Full message rendering with reactions, edits, deletions, replies
- Auto-scrolls to bottom on new replies
- Marks thread as read when viewing
- Isolated draft state per thread
- Emoji picker and sticker support
ThreadBrowser:
- List view of all threads in room sorted by latest activity
- Search functionality to filter threads by content
- Thread preview with root message, reply count, and latest reply
- Click to open thread in drawer
- Jump button to navigate to root message in main timeline
Both:
- Desktop: side panel mode
- Mobile: full-screen overlay mode
- Re-render on ThreadEvent updates
- Add roomToOpenThread atom family for tracking active thread per room
- Add roomToThreadBrowser atom family for thread browser visibility
- Add Thread, ThreadEvent, and NotificationCountType exports to matrix-sdk types
- Update toggleReaction to support thread timeline sets
- Foundation for thread feature state management
- Add comprehensive sync cycle logging in slidingSync.ts:
- Track room count changes per list with deltas
- Log initial sync completion with timing and room counts
- Monitor list expansion progress with detailed stats
- Detect slow sync cycles (>1s) and expansions (>500ms)
- Track network connectivity changes with connection info
- Log attach/dispose lifecycle with diagnostics
- Add error logging for list operations
- Fix filter button closing settings dialog in DebugLogViewer:
- Add stopPropagation to category/level menu button handlers
- Prevents event bubbling that was closing parent dialog
- Add .envrc for automatic Node 24 environment activation via direnv
- Add .nvmrc to specify Node v24.14.0 requirement
- Change debugLoggerEnabledAtom from getter function to direct value atom to properly update UI
- Convert PopOut components from children function to anchor-based pattern
- Add click handlers for category and level filter menus
- Fix TypeScript errors with entry.data unknown type checks
- Filters should now display correctly when clicked
- Global error handler catches chunk load errors
- Auto-reload on first 2 failures without user intervention
- On 3rd failure, let error bubble to Sentry error boundary
- Uses sessionStorage to track retry count across reloads
- Clears counter on successful page load
- Prevents stale HTML from breaking app after deployments
Fixes unhandled promise rejection when multiple components fetch
the same media URL and the initial request fails with 401.
### Root Cause
When a blob fetch request was in-flight and failed, subsequent callers
awaiting the same promise would receive an unhandled rejection because
the await was outside the try-catch block.
### Changes
1. useBlobCache: Wrap inflightRequests.get() await in try-catch
2. useBlobCache: Improve error message to include HTTP status
3. Service Worker: Add logging for session retrieval failures to
diagnose authentication issues with media requests
Addresses Sentry issue with 401 errors on authenticated media endpoints.