Skip to content

fix(meetings): make saved notes readable and searchable - #145367

Merged
steipete merged 1 commit into
mainfrom
codex/meeting-timeline-search
Sep 11, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/meeting-timeline-search

Conversation

@steipete

Copy link
Copy Markdown
Contributor

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

  • 173 focused tests passed across archive search, automatic summary lifecycle/persistence, reader behavior, responsive layout, and the three mocked-Gateway end-to-end flows. Search and long-Markdown regressions failed before the fix.
  • Production Control UI build, core/UI typechecks and test typechecks passed. Changed-file lint, stylesheet checks, formatting, and repository guards passed; a test-file line limit and duplicate CSS selector were fixed and the affected checks rerun.
  • Independent review found no actionable issues. Browser proof uses synthetic meeting data; no live Gateway state was changed.

Timeline

Before After
Before: clipped meeting summaries After: readable summaries in a date timeline

Long meeting notes

Before After
Before: raw Markdown in long meeting notes After: headings, lists, and emphasis render correctly

@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 11, 2026 22:46
@steipete steipete self-assigned this Sep 11, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Sep 11, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 11, 2026, 6:53 PM ET / 22:53 UTC.

ClawSweeper review

What this changes

The 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
Reviewed head: fd9f93b004e7ae9c532b71634b54cba0831c5dd1

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with useful visual proof and targeted regression coverage; no blocking defect was identified.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.
Evidence reviewed 8 items Introduced change and clean checkout: The pinned merge-base-to-head delta contains the meeting search, reader, documentation, and associated tests. The whitespace check passed and final git status remained clean.
Still necessary on supplied main: Main searches title and public source identifiers only; it does not include saved summary Markdown or utterance text. Comparison of the reader also retains the default message-mode Markdown call.
Latest release retains message-mode rendering: The supplied latest release, v2026.9.4, calls the Markdown renderer without document mode and retains the unselected reader placeholder.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +83, Tests +152, Docs +9. Total +244 across 12 files.

View PR surface stats
Area Files Added Removed Net
Source 5 120 37 +83
Tests 6 180 28 +152
Docs 1 13 4 +9
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 12 313 69 +244

Review metrics

Metric Value Why it matters
Production versus test growth Production +83 net lines; tests and test support +152 net lines Production growth supports the stated search and presentation changes while reusing existing storage and rendering owners.

Technical review

Best 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.

Labels

Label changes:

  • add P2: This improves reading and finding saved meeting notes without evidence of an urgent core-runtime failure.
  • add proof: sufficient: Contributor real behavior proof is sufficient. Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.

Label justifications:

  • P2: This improves reading and finding saved meeting notes without evidence of an urgent core-runtime failure.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected synthetic-browser before/after captures demonstrate the changed Meetings timeline and formatted long-note reader. Backend search has supplemental SQLite regression coverage rather than live proof; the maintainer-authored PR is exempt from the ordinary external-contributor gate.

Evidence

What I checked:

  • Introduced change and clean checkout: The pinned merge-base-to-head delta contains the meeting search, reader, documentation, and associated tests. The whitespace check passed and final git status remained clean. (fd9f93b004e7)
  • Still necessary on supplied main: Main searches title and public source identifiers only; it does not include saved summary Markdown or utterance text. Comparison of the reader also retains the default message-mode Markdown call. (src/transcripts/store-read.ts:371, adb9e637aa91)
  • Latest release retains message-mode rendering: The supplied latest release, v2026.9.4, calls the Markdown renderer without document mode and retains the unselected reader placeholder. (ui/src/pages/meetings/view.ts:282, 3a9d69db306c)
  • Search preserves capture identity: Both added EXISTS queries correlate session ID and start timestamp, preserve the existing filters and pagination, and search bound literal values. They do not search source URLs or arbitrary metadata. The documentation explicitly describes search cost growing with saved text. (src/transcripts/store-read.ts:392, fd9f93b004e7)
  • Rendering safeguards preserved: The reader reuses the existing document renderer with remoteImages explicitly false. The shared renderer still sanitizes output, and the existing Gateway archive-access owner is unchanged. (ui/src/pages/meetings/view.ts:299, fd9f93b004e7)
  • Inspected before/after visual proof: All four prepared screenshots were inspected. The timeline pair shows clipped previews becoming readable wrapped text; the reader pair shows raw Markdown becoming headings, lists, and emphasis. The captured PR body identifies synthetic browser data. These images demonstrate appearance, not backend search execution. (fd9f93b004e7)

Likely related people:

  • Peter Steinberger: Raw commit 6ce5c1d adds ui/src/pages/meetings/view.ts:265 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 6ce5c1df3e0f; files: ui/src/pages/meetings/view.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit ee6a7ef into main Sep 11, 2026
400 of 402 checks passed
@steipete
steipete deleted the codex/meeting-timeline-search branch September 11, 2026 23:25
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 12, 2026
obviyus added a commit that referenced this pull request Oct 11, 2026
## 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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant