feat: single drawer navigation#2541
Conversation
🦋 Changeset detectedLatest commit: ce7f213 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🔴 Tier 4 — CriticalTouches auth, data models, config, tasks, OTel pipeline, ClickHouse, or CI/CD. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
25cf42a to
206882f
Compare
E2E Test Results✅ All tests passed • 224 passed • 3 skipped • 1543s
Tests ran across 4 shards in parallel. |
Greptile SummaryThis PR replaces layered event drawers with one right-hand navigation drawer. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (11): Last reviewed commit: "extract side panel URL logic to useSideP..." | Re-trigger Greptile |
fc9f33d to
546cb86
Compare
546cb86 to
d9ca8d4
Compare
Deep Review✅ No P0/P1 issues introduced by this diff. The multi-agent pass surfaced one high-severity security claim (SQL injection via shared link); on verification the injection primitive is pre-existing — 🟡 P2 -- recommended
🔵 P3 nitpicks (5)
Reviewers (11): correctness, ce-adversarial-reviewer, ce-kieran-typescript-reviewer, julik-frontend-races, testing, maintainability, api-contract, security, project-standards, agent-native, learnings-researcher. Testing gaps: |
d9ca8d4 to
d2f6834
Compare
d2f6834 to
f4d4590
Compare
a5f3005 to
ef2a570
Compare
ef2a570 to
1b7ac98
Compare
4cad00c to
86a4746
Compare
86a4746 to
ce7f213
Compare
Summary
Replaces the old stacked/layered side-panel drawers with a single right-hand drawer where all event navigation happens in-place. Everything now renders inside one shell instead of opening a second drawer on top of another.
DBRowSidePanelis refactored intoDBRowSidePanelInner, which owns two URL-persisted stacks:sidePanelNavStackfor same-source drilldowns (e.g. Surrounding Context, replaced in-place) andsidePanelSourceStackfor cross-source navigation (log → trace via the new View Trace action, or session → event). Each frame stores its source id, row id, label, and originating tab. State lives in the URL (sidePanelTab,sidePanelSourceStack,sidePanelNavStack,sessionPanelEvent), so the trail survives reload and shared links.SidePanelBreadcrumbs). New shared component used across log, trace, and session panels: source-kind icons (IconLogs/IconConnection/IconDeviceLaptop), label truncation with tooltips, and a clickable trail to jump back to any ancestor.SessionSidePanelembedsDBRowSidePanelInnerfor the selected event instead of portaling a secondDBRowSidePanel, so session → event → trace shares the same structure and breadcrumbs.SessionSubpanel/DBSessionPanelreport selections viaonEventNavigate.SidePanelHeaderActionsfor shortcuts/full-width/share/close;DBRowSidePanelHeaderslimmed to the body section.Screenshots or video
output.mp4
How to test on Vercel preview
Preview routes:
/search,/sessionsNavigate around the side panel drawer on both the search and sessions pages.
References