feat(webapp): sessions view for compiled conversation history - #575
Conversation
the enrich pipeline already compiles captured conversations into type=session pages (summary, typed subjects, activity), but the console had no surface that showed them — ditto's webapp makes its compiled memories browsable and vouch's stayed invisible in .vouch/pages. adds a /sessions card view: newest-first cards with the enrich summary, subject chips, and created date, filterable client-side, each card deep-linking into the existing /browse page drawer. fans out over all scoped projects like the other list views and degrades to the usual unavailable/empty states when kb.list_pages is not advertised.
|
this PR changes UI (web/, src/vouch/web/, or webapp/) but has no before/after screenshots in the description. UI changes are reviewed by screenshot, not by running the app. add before and after screenshots, then reopen. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
WalkthroughAdds a new ChangesSessions feature
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant SessionsView
participant useConnection
participant useFanout
participant BrowseRoute
SessionsView->>useConnection: Read aggregated connection mode
SessionsView->>useFanout: Request session pages with type session
useFanout-->>SessionsView: Return session page records or error
SessionsView->>BrowseRoute: Navigate to selected page browse route
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
this PR changes UI (web/, src/vouch/web/, or webapp/) but has no before/after screenshots in the description. UI changes are reviewed by screenshot, not by running the app. add before and after screenshots, then reopen. |
|
this PR changes UI (web/, src/vouch/web/, or webapp/) but has no before/after screenshots in the description. UI changes are reviewed by screenshot, not by running the app. add before and after screenshots, then reopen. |
what
adds a
/sessionsview to the vendored webapp console: a card grid of the enrich pipeline's compiledtype=sessionpages — the compiled-conversation-history surface the console was missing.each card shows the session title, created date, enrich summary, and the compiled subject chips; cards sort newest first, filter client-side by title/summary/subject, and click through to the existing
/browse/page/<id>drawer deep-link. the view fans out over all scoped projects like the other list views, tags rows with the project label when aggregated, and renders the standard unavailable/empty/error states whenkb.list_pagesis missing or empty.why
capture + enrich already compile every conversation into a session page with a summary and typed subjects, but nothing in the console displayed them — the compiled history was only reachable by reading
.vouch/pages/by hand. this is the card-view half of making compiled sessions browsable; a cross-session subjects index can follow separately.how it was tested
SessionsView.test.tsxwritten first (7 tests: ordering,{type: "session"}request param, subject chips, filtering, drawer deep-link, empty state, unavailable state)Shell.test.tsxextended for the new nav linktsc --noEmitcleanno server changes —
kb.list_pagesalready accepted thetypefilter.Summary by CodeRabbit
New Features
Bug Fixes