From 44029b6a5c370bbc0faefa31fca14993b0759571 Mon Sep 17 00:00:00 2001 From: Evie Gauthier Date: Thu, 12 Mar 2026 19:27:14 -0400 Subject: [PATCH] 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 --- ...e-debug-logs-2026-03-12T23_17_41.374Z.json | 2510 +++++++++++++++++ .../developer-tools/DebugLogViewer.tsx | 143 +- src/app/state/debugLogger.ts | 5 +- src/client/initMatrix.ts | 43 +- src/client/slidingSync.ts | 5 - 5 files changed, 2634 insertions(+), 72 deletions(-) create mode 100644 sable-debug-logs-2026-03-12T23_17_41.374Z.json diff --git a/sable-debug-logs-2026-03-12T23_17_41.374Z.json b/sable-debug-logs-2026-03-12T23_17_41.374Z.json new file mode 100644 index 00000000..7ab98c59 --- /dev/null +++ b/sable-debug-logs-2026-03-12T23_17_41.374Z.json @@ -0,0 +1,2510 @@ +{ + "exportedAt": "2026-03-12T23:17:41.373Z", + "logsCount": 228, + "logs": [ + { + "timestamp": "2026-03-12T23:16:10.029Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:10.037Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:10.329Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:10.336Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:12.062Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:12.072Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:14.564Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:14.573Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:15.081Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:15.089Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:16.057Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:16.067Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:20.839Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:20.848Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:26.378Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:26.386Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:27.979Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:27.987Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:28.648Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:28.659Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:33.629Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:33.639Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:34.132Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:34.142Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:36.870Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:36.877Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:37.925Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:37.933Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:38.192Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:38.201Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:39.241Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:39.248Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:40.395Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:40.412Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:40.661Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:40.669Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:40.906Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:40.914Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:41.542Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:41.552Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:42.881Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:42.890Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:43.701Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:43.709Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.002Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.013Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.258Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.270Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.521Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.529Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.819Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:44.829Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.186Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.198Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.453Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.462Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.701Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.710Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.955Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:46.963Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:47.296Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:47.304Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:47.983Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:47.991Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:48.241Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:48.249Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:48.497Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:48.505Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:51.397Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:51.405Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:53.969Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:53.977Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:54.479Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:54.487Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:56.575Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:16:56.585Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:02.580Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:02.589Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:03.039Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:03.047Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:03.698Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:03.708Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:03.951Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:03.962Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:08.497Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:08.509Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:09.297Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:09.306Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:10.708Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:10.719Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:10.970Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:10.979Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:12.000Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:12.010Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:12.531Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:12.539Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:13.917Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:13.926Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:14.934Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component unmounted", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:14.934Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline unmounted", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:14.938Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline mounted", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ", + "initialEventsCount": 1, + "liveTimelineLinked": true + } + }, + { + "timestamp": "2026-03-12T23:17:14.938Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ", + "liveTimelineLinked": true, + "eventsLength": 1 + } + }, + { + "timestamp": "2026-03-12T23:17:14.939Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component mounted", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ" + } + }, + { + "timestamp": "2026-03-12T23:17:14.939Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Members drawer state changed", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:14.939Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Widgets drawer state changed", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:14.939Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Room view mode", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ", + "callView": false, + "chatOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:14.952Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ" + } + }, + { + "timestamp": "2026-03-12T23:17:14.952Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 1, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:15.277Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:15.278Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ", + "liveTimelineLinked": true, + "eventsLength": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:15.434Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:15.455Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:15.747Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:15.755Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:16.519Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:16.528Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:16.984Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:16.993Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:17.105Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component unmounted", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ" + } + }, + { + "timestamp": "2026-03-12T23:17:17.105Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline unmounted", + "data": { + "roomId": "!mJ0liHlwQViTI5Ly10BXwEqsz5jpuMm4n4bNqijUuSQ" + } + }, + { + "timestamp": "2026-03-12T23:17:17.107Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline mounted", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe", + "initialEventsCount": 1, + "liveTimelineLinked": true + } + }, + { + "timestamp": "2026-03-12T23:17:17.107Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe", + "liveTimelineLinked": true, + "eventsLength": 1 + } + }, + { + "timestamp": "2026-03-12T23:17:17.108Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component mounted", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:17.108Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Members drawer state changed", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:17.108Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Widgets drawer state changed", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:17.108Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Room view mode", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe", + "callView": false, + "chatOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:17.119Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 1, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:17.119Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:17.484Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:17.484Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe", + "liveTimelineLinked": true, + "eventsLength": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:17.525Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:17.547Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:18.048Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:18.069Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:18.856Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:18.863Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.115Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.124Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.533Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component unmounted", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:19.533Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline unmounted", + "data": { + "roomId": "!Qm3G5po2ee2D8i8q8K:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:19.537Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline mounted", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "initialEventsCount": 63, + "liveTimelineLinked": true + } + }, + { + "timestamp": "2026-03-12T23:17:19.537Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "liveTimelineLinked": true, + "eventsLength": 63 + } + }, + { + "timestamp": "2026-03-12T23:17:19.538Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component mounted", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:19.538Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Members drawer state changed", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.538Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Widgets drawer state changed", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.538Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Room view mode", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "callView": false, + "chatOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.581Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:19.827Z", + "level": "info", + "category": "network", + "namespace": "slidingSync", + "message": "Network connectivity changed: online", + "data": { + "online": true + } + }, + { + "timestamp": "2026-03-12T23:17:19.827Z", + "level": "info", + "category": "network", + "namespace": "slidingSync", + "message": "Network connectivity changed: online", + "data": { + "online": true + } + }, + { + "timestamp": "2026-03-12T23:17:19.918Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:19.935Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:20.682Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:21.290Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 63, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:21.388Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:21.396Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:21.545Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 110 + } + }, + { + "timestamp": "2026-03-12T23:17:21.557Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "liveTimelineLinked": true, + "eventsLength": 110 + } + }, + { + "timestamp": "2026-03-12T23:17:21.588Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 110, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:21.869Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 170 + } + }, + { + "timestamp": "2026-03-12T23:17:21.894Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "liveTimelineLinked": true, + "eventsLength": 170 + } + }, + { + "timestamp": "2026-03-12T23:17:23.450Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 170, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:23.703Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 230 + } + }, + { + "timestamp": "2026-03-12T23:17:23.723Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe", + "liveTimelineLinked": true, + "eventsLength": 230 + } + }, + { + "timestamp": "2026-03-12T23:17:23.827Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:23.886Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:23.902Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:23.925Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:24.223Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:24.231Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:25.628Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component unmounted", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:25.628Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline unmounted", + "data": { + "roomId": "!a6sXbRuOyyc7MKutmy:sable.moe" + } + }, + { + "timestamp": "2026-03-12T23:17:25.909Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:25.918Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:26.206Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:26.214Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:26.582Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline mounted", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social", + "initialEventsCount": 1, + "liveTimelineLinked": true + } + }, + { + "timestamp": "2026-03-12T23:17:26.582Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social", + "liveTimelineLinked": true, + "eventsLength": 1 + } + }, + { + "timestamp": "2026-03-12T23:17:26.582Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component mounted", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:26.582Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Members drawer state changed", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:26.582Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Widgets drawer state changed", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:26.582Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Room view mode", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social", + "callView": false, + "chatOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:26.589Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 1, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:26.589Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:26.869Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social", + "liveTimelineLinked": true, + "eventsLength": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:26.885Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:26.909Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:27.168Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:27.186Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:27.475Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:27.484Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:27.739Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:27.747Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:28.229Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:28.237Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:28.488Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:28.498Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:28.750Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:28.768Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:28.842Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:28.851Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:30.067Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component unmounted", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:30.067Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline unmounted", + "data": { + "roomId": "!SMDuoqKbydPQVvQnAn:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:30.069Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline mounted", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "initialEventsCount": 1, + "liveTimelineLinked": true + } + }, + { + "timestamp": "2026-03-12T23:17:30.069Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "liveTimelineLinked": true, + "eventsLength": 1 + } + }, + { + "timestamp": "2026-03-12T23:17:30.069Z", + "level": "info", + "category": "ui", + "namespace": "Room", + "message": "Room component mounted", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:30.069Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Members drawer state changed", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:30.069Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Widgets drawer state changed", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "isOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:30.069Z", + "level": "debug", + "category": "ui", + "namespace": "Room", + "message": "Room view mode", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "callView": false, + "chatOpen": false + } + }, + { + "timestamp": "2026-03-12T23:17:30.077Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:30.077Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 1, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:30.373Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "liveTimelineLinked": true, + "eventsLength": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:30.390Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:30.412Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 61 + } + }, + { + "timestamp": "2026-03-12T23:17:30.446Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination started", + "data": { + "direction": "backward", + "eventsLoaded": 61, + "hasToken": true + } + }, + { + "timestamp": "2026-03-12T23:17:30.741Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Live timeline link state changed", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social", + "liveTimelineLinked": true, + "eventsLength": 121 + } + }, + { + "timestamp": "2026-03-12T23:17:30.773Z", + "level": "info", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Timeline pagination completed", + "data": { + "direction": "backward", + "totalEventsNow": 121 + } + }, + { + "timestamp": "2026-03-12T23:17:31.437Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:31.457Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:31.711Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:31.733Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:33.795Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:33.803Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:34.635Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled away from bottom", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:35.301Z", + "level": "debug", + "category": "timeline", + "namespace": "RoomTimeline", + "message": "Scrolled to bottom", + "data": { + "roomId": "!RdmpmmKddwEWEXRCbh:cloudhub.social" + } + }, + { + "timestamp": "2026-03-12T23:17:37.172Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:37.180Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:40.343Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: FINISHED", + "data": { + "state": "FINISHED", + "hasError": false + } + }, + { + "timestamp": "2026-03-12T23:17:40.351Z", + "level": "info", + "category": "sync", + "namespace": "slidingSync", + "message": "Sliding sync lifecycle: COMPLETE", + "data": { + "state": "COMPLETE", + "hasError": false + } + } + ] +} \ No newline at end of file diff --git a/src/app/features/settings/developer-tools/DebugLogViewer.tsx b/src/app/features/settings/developer-tools/DebugLogViewer.tsx index 47aa83d0..a5da49b7 100644 --- a/src/app/features/settings/developer-tools/DebugLogViewer.tsx +++ b/src/app/features/settings/developer-tools/DebugLogViewer.tsx @@ -1,6 +1,6 @@ -import { useEffect, useState, useCallback, useMemo } from 'react'; +import { useEffect, useState, useCallback, useMemo, MouseEventHandler } from 'react'; import { useAtom, useAtomValue, useSetAtom } from 'jotai'; -import { Box, Text, Button, color, config, Badge, Menu, MenuItem, PopOut } from 'folds'; +import { Box, Text, Button, color, config, Badge, Menu, MenuItem, PopOut, RectCords } from 'folds'; import { SequenceCard } from '$components/sequence-card'; import { @@ -91,7 +91,7 @@ function LogEntryItem({ entry }: { entry: LogEntry }) { [{entry.namespace}] - {entry.data && ( + {entry.data != null && ( - )} + setFilterLevel('all')} + onClick={() => { + setFilterLevel('all'); + setLevelAnchor(undefined); + }} disabled={filterLevel === 'all'} > All Levels @@ -403,7 +446,10 @@ export function DebugLogViewer() { setFilterLevel('debug')} + onClick={() => { + setFilterLevel('debug'); + setLevelAnchor(undefined); + }} disabled={filterLevel === 'debug'} > Debug @@ -411,7 +457,10 @@ export function DebugLogViewer() { setFilterLevel('info')} + onClick={() => { + setFilterLevel('info'); + setLevelAnchor(undefined); + }} disabled={filterLevel === 'info'} > Info @@ -419,7 +468,10 @@ export function DebugLogViewer() { setFilterLevel('warn')} + onClick={() => { + setFilterLevel('warn'); + setLevelAnchor(undefined); + }} disabled={filterLevel === 'warn'} > Warning @@ -427,7 +479,10 @@ export function DebugLogViewer() { setFilterLevel('error')} + onClick={() => { + setFilterLevel('error'); + setLevelAnchor(undefined); + }} disabled={filterLevel === 'error'} > Error @@ -435,19 +490,17 @@ export function DebugLogViewer() { } > - {(targetRef) => ( - - )} + {(filterLevel !== 'all' || filterCategory !== 'all') && ( diff --git a/src/app/state/debugLogger.ts b/src/app/state/debugLogger.ts index 9c155fdd..a0d31473 100644 --- a/src/app/state/debugLogger.ts +++ b/src/app/state/debugLogger.ts @@ -11,9 +11,10 @@ const debugLogger = getDebugLogger(); * Atom for enabling/disabling debug logging */ export const debugLoggerEnabledAtom = atom( - () => debugLogger.isEnabled(), - (_, set, enabled: boolean) => { + debugLogger.isEnabled(), + (get, set, enabled: boolean) => { debugLogger.setEnabled(enabled); + set(debugLoggerEnabledAtom, enabled); set(debugLogsAtom); } ); diff --git a/src/client/initMatrix.ts b/src/client/initMatrix.ts index 60c7a6bc..6b4adbc1 100644 --- a/src/client/initMatrix.ts +++ b/src/client/initMatrix.ts @@ -298,7 +298,10 @@ export const initClient = async (session: Session): Promise => { }; let mx: MatrixClient; - try {{ + try { + mx = await buildClient(session); + } catch (err) { + if (!isMismatch(err)) { debugLog.error('sync', 'Failed to build client', { error: err }); throw err; } @@ -316,10 +319,7 @@ export const initClient = async (session: Session): Promise => { throw err; } log.warn('initClient: mismatch on initRustCrypto — wiping and retrying:', err); - debugLog.warn('sync', 'Crypto init mismatch - wiping stores and retrying', { error: err }; - } catch (err) { - if (!isMismatch(err)) throw err; - log.warn('initClient: mismatch on initRustCrypto — wiping and retrying:', err); + debugLog.warn('sync', 'Crypto init mismatch - wiping stores and retrying', { error: err }); mx.stopClient(); await wipeAllStores(); mx = await buildClient(session); @@ -348,7 +348,16 @@ const disposeSlidingSync = (mx: MatrixClient): void => { slidingSyncByClient.delete(mx); }; -expebugLog.info('sync', 'Starting Matrix client', { userId: mx.getUserId() }); +export const getSlidingSyncManager = (mx: MatrixClient): SlidingSyncManager | undefined => { + return slidingSyncByClient.get(mx); +}; + + +export const startClient = async ( + mx: MatrixClient, + config?: StartClientConfig +): Promise => { + debugLog.info('sync', 'Starting Matrix client', { userId: mx.getUserId() }); disposeSlidingSync(mx); const slidingConfig = config?.slidingSync; const slidingEnabledOnServer = resolveSlidingEnabled(slidingConfig?.enabled); @@ -370,20 +379,6 @@ expebugLog.info('sync', 'Starting Matrix client', { userId: mx.getUserId() }); hasProxy: hasSlidingProxy, }); - const startClassicSync = async (fallbackFromSliding: boolean, reason: SyncTransportReason) => { - debugLog.info('sync', `Starting classic sync (reason: ${reason})`, { - fallback: fallbackFromSliding, - reason, - }); - userId: mx.getUserId(), - enabled: slidingConfig?.enabled, - enabledOnServer: slidingEnabledOnServer, - sessionOptIn: config?.sessionSlidingSyncOptIn === true, - requestedEnabled: slidingRequested, - proxyBaseUrl, - hasSlidingProxy, - }); - const startClassicSync = async (fallbackFromSliding: boolean, reason: SyncTransportReason) => { syncTransportByClient.set(mx, { transport: 'classic', @@ -494,6 +489,14 @@ expebugLog.info('sync', 'Starting Matrix client', { userId: mx.getUserId() }); } }; +export const stopClient = (mx: MatrixClient): void => { + log.log('stopClient', mx.getUserId()); + debugLog.info('sync', 'Stopping client', { userId: mx.getUserId() }); + disposeSlidingSync(mx); + mx.stopClient(); + syncTransportByClient.delete(mx); +}; + export const clearCacheAndReload = async (mx: MatrixClient) => { log.log('clearCacheAndReload', mx.getUserId()); stopClient(mx); diff --git a/src/client/slidingSync.ts b/src/client/slidingSync.ts index 613c0bbd..2b1cc548 100644 --- a/src/client/slidingSync.ts +++ b/src/client/slidingSync.ts @@ -14,12 +14,7 @@ import { MSC3575_STATE_KEY_ME, EventType, User, -import { - MatrixClient, - SlidingSync, - SlidingSyncEvent, SlidingSyncEventHandlerMap, - SlidingSyncState, } from '$types/matrix-sdk'; import { createLogger } from '$utils/debug'; import { createDebugLogger } from '$utils/debugLogger';