Skip to content

feat(overview): timeline-first landing — event feed, project overview, guided actions (UX P2)#78

Merged
VarunGitGood merged 1 commit into
feat/ux-projectsfrom
feat/ux-overview
Jun 13, 2026
Merged

feat(overview): timeline-first landing — event feed, project overview, guided actions (UX P2)#78
VarunGitGood merged 1 commit into
feat/ux-projectsfrom
feat/ux-overview

Conversation

@VarunGitGood

Copy link
Copy Markdown
Owner

Second of three stacked PRs for the AI-Observability-Assistant redesign. Stacked on #77 — merge that first.

The new flow

Project selected → timeline loaded → error clusters → suggested actions → user picks an investigation. No empty chat screen.

What this adds

  • Heuristic event feed (repi/retrieval/event_feed.py): deterministic rules over per-(service, signature) time buckets — begins, spike (×N), subsides, new pattern, and per-service degraded/recovers health transitions. Pure rule engine (15 unit tests, no DB needed), zero LLM cost per timeline load.
  • GET /projects/{id}/overview: events + corpus-wide signature clusters (un-defers the "Path B" noted in cluster_view.py) + services + derived suggested actions. The window anchors to now and falls back to the project's latest data when idle/historical (anchored_to_latest), so the landing always tells the most recent story available.
  • UI: ProjectPicker (0 projects → inline create, 1 → auto-select, 2+ → cards) replaces the empty-chat hero; ProjectOverview is the landing panel — narrative timeline, clusters, services row, suggested-action chips. Investigate chips launch Deep Research with a grounded query (signature + service + time range pre-filled); chat chips go through /chat. Sidebar shows per-conversation project badges.

Verified live (real LogHub Zookeeper data)

Overview renders "zookeeper enters degraded state → zookeeper recovers" with 3 clusters (77×/2×/1×) and 5 action chips; clicking an Investigate chip ran a project-scoped Deep Research investigation end-to-end. 6/6 puppeteer flows pass against the new landing flow (including a fresh full DR run).

Test plan

  • uv run pytest tests/ -q231 passed (15 new event-feed rule tests)
  • npx tsc --noEmit clean
  • Puppeteer 6/6 on the new project-first flow

…, guided actions (UX P2)

- event_feed.py: deterministic event rules over per-(service, signature)
  time buckets — begins / spike / subsides / new_pattern / health
  transitions. Pure rule engine, no LLM cost per load; 15 unit tests.
- GET /projects/{id}/overview: events + corpus-wide signature clusters
  (the un-deferred Path B) + services + derived suggested actions.
  Window anchors to now and falls back to the project's latest data so
  the landing page always tells the most recent story available.
- UI: ProjectPicker (0 projects -> create, 1 -> auto-select, 2+ -> cards)
  replaces the empty-chat hero; ProjectOverview renders the timeline,
  clusters, services and suggested-action chips as the landing panel;
  chips route to Deep Research (grounded query: signature + service +
  time range pre-filled) or /chat; sidebar shows per-conversation
  project badges; chat + investigate carry the conversation's project.

Verified live on real LogHub data: Infra overview shows 'zookeeper enters
degraded state -> recovers' with clusters and 5 action chips; clicking an
Investigate chip ran a scoped DR investigation end-to-end. 6/6 puppeteer
flows pass against the new flow.
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
repi Ready Ready Preview, Comment Jun 11, 2026 4:00pm

@VarunGitGood VarunGitGood merged commit bdbf462 into feat/ux-projects Jun 13, 2026
3 checks passed
@VarunGitGood VarunGitGood deleted the feat/ux-overview branch June 14, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant