Commit Graph
3061 Commits
Author SHA1 Message Date
7w1 78ebffac2e Merge pull request #257 from dozro/compat/msc2723-msg-forwarding
add MSC2723 forwarding meta data for more compatibility
2026-03-14 03:15:13 +00:00
7w1 633626ac98 Update compat_msc2723_msg_forwarding.md 2026-03-13 22:13:50 -05:00
7w1 9830f71c33 Merge pull request #259 from SableClient/7w1-patch-1
Update CODE_OF_CONDUCT.md
2026-03-14 02:40:39 +00:00
7w1 5e6122ea9c Update CODE_OF_CONDUCT.md 2026-03-13 21:38:40 -05:00
Evie Gauthier a4447dda6a Merge pull request #255 from Just-Insane/fix/media-and-chunk-errors
fix: Media blob cache and chunk loading error handling
2026-03-14 02:27:06 +00:00
Evie Gauthier f67abc05d7 fix: format src/index.tsx and add changeset 2026-03-13 22:25:30 -04:00
Evie Gauthier ea22db6d7d Merge pull request #245 from Just-Insane/feat/internal-debug-logging
feat: Add internal debug logging system
2026-03-14 02:24:28 +00:00
Evie Gauthier 2292a14571 fix(lint): suppress intentional ref read in BackgroundNotifications cleanup 2026-03-13 22:22:11 -04:00
Evie Gauthier 188f588ce7 fix(lint): adjust RoomTimeline callback dependencies for exhaustive-deps 2026-03-13 22:21:51 -04:00
Evie Gauthier 79e4e09436 fix(lint): resolve react-hooks/exhaustive-deps, arrow-body-style, and no-plusplus errors 2026-03-13 22:17:13 -04:00
Evie Gauthier 1261c3b2a0 fix(notifications): move variable declarations before use in debug log 2026-03-13 22:14:30 -04:00
Rye 9f65957442 add MSC2723 forwarded message props for compatibility with MSC2723 specifications 2026-03-14 03:12:56 +01:00
7w1 3b14c34142 Merge pull request #256 from dozro/sec/strip-beeper-pmp-on-forward
strip beeper's per message profile when forwarding
2026-03-14 02:12:04 +00:00
Evie Gauthier 54ac93c39a chore: fix formatting and linting issues for CI 2026-03-13 22:10:36 -04:00
Rye bb787c504c added forward meta data for public original messages as defined in MSC2723
see https://github.com/matrix-org/matrix-spec-proposals/pull/2723
2026-03-14 02:59:42 +01:00
Rye 2e2e1ae06b added changeset for the fix of https://github.com/SableClient/Sable/issues/254 2026-03-14 02:52:31 +01:00
Evie Gauthier 14eaad61a0 chore: remove accidentally committed .envrc file 2026-03-13 21:50:54 -04:00
Rye 40950a728f strip beepers per message profile on forward
fixes https://github.com/SableClient/Sable/issues/254
2026-03-14 02:48:39 +01:00
Rye eeae3d5b80 Merge branch 'dev' of https://github.com/dozro/Sable2 into dev 2026-03-14 02:33:51 +01:00
Evie Gauthier fb80eabc22 chore: add changeset for internal debug logging 2026-03-13 21:25:34 -04:00
Evie Gauthier 83262b3593 feat: enhance debug logging and fix background notifications
Debug logging:
- Add logging to LeaveRoomPrompt, CreateRoom, Space, AccountSwitcherTab
- Add build version to debug log exports
- Add network/sync logging to initMatrix

Background notifications:
- Add explicit listener cleanup before stopping clients
- Add exponential backoff retry for failed background clients (5 attempts)
- Add 30s timeout to waitForSync to prevent indefinite hangs
- Use useMemo for inactive sessions array
- Track cleanup callbacks per client
2026-03-13 21:25:34 -04:00
Evie Gauthier 9c017b85cf feat(debug-logging): enhance sync logging and fix filter button issue
- 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
2026-03-13 21:25:34 -04:00
Evie Gauthier c123cfefb2 fix(debug-logger): Fix TypeScript error with filters.since undefined check 2026-03-13 21:25:34 -04:00
Evie Gauthier 21fc2baa40 chore: Remove accidentally committed debug log file 2026-03-13 21:25:34 -04:00
Evie Gauthier 44029b6a5c fix(debug-logger): Fix PopOut component pattern and state management
- 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
2026-03-13 21:25:34 -04:00
Evie Gauthier c647d561c1 fix build issue 2026-03-13 21:25:34 -04:00
Evie Gauthier 4624617bbf feat: add UI and timeline debug logging
- Add 'ui' and 'timeline' log categories to debugLogger
- Log Room component mount/unmount and drawer state changes
- Log RoomTimeline lifecycle events (mount, unmount, initialization)
- Track timeline pagination (start, complete, errors)
- Monitor live timeline linking state changes
- Log scroll position changes (at bottom, scrolled up)
- Track jump-to-event operations
- Log timeline refresh events
- Add UI and Timeline category filters in DebugLogViewer
- Update description to mention new categories

This provides comprehensive visibility into UI component lifecycle
and timeline visualization state for debugging issues with room
rendering, timeline scrolling, and UI element visibility.
2026-03-13 21:25:34 -04:00
Evie Gauthier bcf5a84220 feat: add internal debug logging system
- Add comprehensive debug logger utility with circular buffer (1000 entries max)
- Add debug log state management with Jotai atoms
- Create DebugLogViewer UI component with real-time updates and filtering
- Integrate debug logger into Developer Tools settings
- Add logging for sync state changes (initMatrix, slidingSync)
- Add logging for authentication (login, logout, session management)
- Add logging for push notifications (permissions, subscriptions)
- Add logging for app lifecycle (visibility changes, backgrounding)
- Add logging for network connectivity (online/offline)
- Add logging for notifications (filtering, routing, mute decisions)
- Add logging for messages (send success/failure, uploads, scheduled)
- Add logging for calls (widget lifecycle, join/hangup, events)
- Support filtering by category and level
- Support exporting logs as JSON (all or filtered)
- Support copying logs to clipboard
2026-03-13 21:25:34 -04:00
Evie Gauthier 24fbbc0dc2 Add automatic retry for chunk loading failures
- 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
2026-03-13 21:20:22 -04:00
Evie Gauthier 8fd844e5cd fix: unhandled promise rejection in media blob cache
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.
2026-03-13 21:20:22 -04:00
7w1 8216d54a97 Merge pull request #250 from SableClient/fix/call-preferences-persist
fix call preferences not persisting
2026-03-13 19:18:28 +00:00
7w1 78fa0c1d9c Create fix_call_preferences.md 2026-03-13 14:17:13 -05:00
7w1 1b97bb8780 fix call preferences not persisting 2026-03-13 14:16:09 -05:00
haz 37c5025c77 Merge pull request #247 from SableClient/ci/merge-queue-support
ci: merge queue support and fix release pr
2026-03-13 18:03:19 +01:00
hazre 721a2064ec ci: add merge queue support 2026-03-13 17:58:49 +01:00
hazre 57ac8e6391 ci: disable quality checks and changeset workflows on release pr 2026-03-13 17:58:47 +01:00
7w1 6cd5704e18 Merge pull request #193 from dozro/sonar-qube/fixes-2026-03-11
[internal] Fix a few maintainability issues raised by SonarQube
2026-03-12 22:28:30 -05:00
7w1 ee5b34c99c Merge pull request #236 from dozro/fix/sticker-add-encrypted-sticker
Improve sticker handling and update documentation on limitations
2026-03-12 22:17:48 -05:00
7w1 466442cbbb Merge pull request #233 from Just-Insane/fix/notification-handling
Fix notification handling (edits, reactions)
2026-03-12 22:10:15 -05:00
7w1 4e4521a863 Merge pull request #231 from Just-Insane/fix/badge-positioning
Fix badge positioning and alignment across sidebar components
2026-03-12 22:00:59 -05:00
7w1 99499ba462 Merge pull request #234 from Just-Insane/fix/ui-bugs
Fix reaction clicks, zoom persistence, and empty message rendering
2026-03-12 22:00:48 -05:00
7w1 d63ea73995 Merge pull request #240 from dozro/enh/exception-page
Add error page for enhanced reporting and user experience
2026-03-12 21:58:58 -05:00
7w1 6b5466e274 Merge pull request #232 from Just-Insane/perf/sliding-sync
Optimize sliding sync with progressive loading
2026-03-12 21:11:04 -05:00
7w1 931d7459a0 Merge pull request #238 from dozro/feat/tombstone-toggle
Add settings toggle for displaying deleted message tombstones
2026-03-12 20:30:59 -05:00
Rye 3261a822aa add error page for improved error reporting and user experience 2026-03-13 01:01:18 +01:00
Rye a6ad473313 add error page for improved error reporting and user experience 2026-03-13 00:51:07 +01:00
Rye 74ce2923e4 add tombstone setting toggle title for improved user guidance 2026-03-12 23:20:23 +01:00
Rye 478b12f7ab add settings toggle for showing tombstones of deleted messages 2026-03-12 23:11:20 +01:00
7w1 d4d6e68200 Merge pull request #237 from SableClient/fix/bubble-layout-overflow
fix bubble layout overflow
2026-03-12 16:47:34 -05:00
7w1 91febe0afe fix bubble layout overflow 2026-03-12 16:44:06 -05:00