Repository navigation
fix(meetings): make saved notes readable and searchable - #145367
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 11, 2026, 6:53 PM ET / 22:53 UTC. ClawSweeper reviewWhat this changesThe PR expands saved-meeting search to notes and speech, makes summary previews wrap in a wider timeline, renders long notes as Markdown, and improves loading feedback. Merge readiness✅ Ready for maintainer review This PR remains useful: current main retains the long-note rendering limitation and narrower archive search. No actionable introduced defect was found, and the inspected visual evidence supports the readability improvements. Priority: P2 Review scores
Verification
How this fits togetherThe Meetings page reads captured speech and saved summaries from OpenClaw’s SQLite transcript archive through Gateway requests. Archive search selects meetings, and the Control UI presents their summaries, transcript pages, and downloads. flowchart LR
A[Captured speech and saved notes] --> B[SQLite meeting archive]
C[Search text and filters] --> D[Archive search]
B --> D
D --> E[Meeting timeline]
E --> F[Selected meeting reader]
B --> F
F --> G[Formatted notes and transcript]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +83, Tests +152, Docs +9. Total +244 across 12 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep archive search with the existing SQLite reader and use the shared sanitized document renderer for saved meeting notes. Do we have a high-confidence way to reproduce the issue? Yes, from source: opening saved Markdown above the shared message parser’s 40,000-character threshold takes the plain-text fallback on main. The screenshots show that symptom; this review did not run a current-main reproduction. Is this the best way to solve the issue? Yes. Reusing document rendering and extending the existing archive query avoids competing implementations, preserves stored data, and keeps the existing image and access policies. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against adb9e637aa91. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
## What Problem This Solves Fixes the transcript-library E2E timing out when returning from Meeting capture settings to the library. Related: #168671. The same failure is visible in [checks-ui-e2e](https://github.com/openclaw/openclaw/actions/runs/38165598345). ## User Impact No product behavior changes. The test now deterministically exercises the loading state instead of waiting for an unheld response to remain pending. ## Why This Change Was Made `deferredMethods` defers the first matching request only. The initial library read consumes that deferral; the return-navigation assertion added in #145367 waits for another loading state and resolves another deferred read without arming it. Re-arm `transcripts.list` immediately before returning to the library. Keep every existing loading, transcript, search, export, configuration-write, mobile, and access-denial assertion unchanged. No overlap with the checked maintainer-owned changes. No runtime or public contracts change. ## Evidence - Latest main `4e3818bab0febf3ce265aafab07b0c98b7cf7f16`: exact focused command reproduced 2 passing / 1 failing, with the 30-second loading wait timing out at line 252. - With the one-line fixture correction: the same command passed all 3 tests, including the full navigation/read/search/download/edit flow (20.22 seconds total). - `pnpm exec oxfmt --check ui/src/e2e/transcript-library.e2e.test.ts`: passed. - `git diff --check`: passed. Command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/transcript-library.e2e.test.ts`. Merge risk: two-way door; reverting only restores the flaky test. Blast radius is this mocked-Gateway E2E fixture, with no production changes. Co-authored-by: Ayaan Zaidi <[email protected]>
…w#169309) ## What Problem This Solves Fixes the transcript-library E2E timing out when returning from Meeting capture settings to the library. Related: openclaw#168671. The same failure is visible in [checks-ui-e2e](https://github.com/openclaw/openclaw/actions/runs/38165598345). ## User Impact No product behavior changes. The test now deterministically exercises the loading state instead of waiting for an unheld response to remain pending. ## Why This Change Was Made `deferredMethods` defers the first matching request only. The initial library read consumes that deferral; the return-navigation assertion added in openclaw#145367 waits for another loading state and resolves another deferred read without arming it. Re-arm `transcripts.list` immediately before returning to the library. Keep every existing loading, transcript, search, export, configuration-write, mobile, and access-denial assertion unchanged. No overlap with the checked maintainer-owned changes. No runtime or public contracts change. ## Evidence - Latest main `c5029c5631d37c72df8c96007ccc29bc7db006f9`: exact focused command reproduced 2 passing / 1 failing, with the 30-second loading wait timing out at line 252. - With the one-line fixture correction: the same command passed all 3 tests, including the full navigation/read/search/download/edit flow (20.22 seconds total). - `pnpm exec oxfmt --check ui/src/e2e/transcript-library.e2e.test.ts`: passed. - `git diff --check`: passed. Command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/transcript-library.e2e.test.ts`. Merge risk: two-way door; reverting only restores the flaky test. Blast radius is this mocked-Gateway E2E fixture, with no production changes. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Fixes an issue where users browsing saved meetings see clipped summary previews, cannot find words inside saved notes or speech, and see raw Markdown syntax in long meeting notes. Loading feedback was easy to miss.
Why This Change Was Made
Use the existing chronological archive and summary owner: display a newest-first timeline with readable previews, extend literal archive search to saved summaries and utterance text, and show explicit list/reader loading indicators. Long notes use the existing document Markdown renderer with sanitization and unchanged remote-image behavior.
Automatic summaries already run when meetings end and persist structured notes plus Markdown in SQLite. This change adds no summary job, schema, or storage migration. Search scans saved text without a new index; its cost grows with archive size.
User Impact
Users can browse meetings by date, read summary previews, search across saved notes and transcripts, and open formatted long notes on desktop or mobile. Existing filters, pagination, access checks, and exports are preserved.
Evidence
Timeline
Long meeting notes