feat(traces): UX guidance + Spotlight as default tab (PR G)#49
Merged
Conversation
PR G of the v0.9.0 faceted-nav thread. The data layer, UI primitives, and Search-page integration shipped in PRs D/E/F (#46/#47/#48), but the page felt experts-only — no explanatory copy, no guidance on how to use the new rail, Facets defaulted ahead of the higher- value Spotlight tab. This makes the page novice-friendly without adding any new capability. - Spotlight becomes the default rail tab. Facets is one click away; for someone debugging, Spotlight is the higher-value primitive. - Rich empty-state replaces the one-line "Pick a service…" hint. Explains what Facets vs Spotlight do, plus three sample-filter chips (HTTP 5xx errors, POST requests, gRPC calls) that one-click seed a filter row so brand-new users can see the panel light up without guessing attribute names. - Both panels lead with a caption explaining what the bars mean. Spotlight's tells the user "the colored bar shows your selection's share of values; the gray bar shows the rest of the time window's share. A big gap means that attribute is a strong differentiator." Replaces the prior unexplained sel/base color coding. - Loading states explain themselves — "Loading facets — querying each attribute in parallel; values appear as queries return…" so users understand the streaming behavior. - Filters sidebar section leads with "Narrow the spans your search and the side rail will analyze." - Center banner adds a second line: "The Spotlight rail on the right works independently — it explains what makes your filtered spans unusual without needing the trace list to load." Validated on staging via Playwright; screenshots in docs/sessions/screenshots/2026-05-28-traces-ux/. Session log at docs/sessions/2026-05-28-traces-ux.md. Pre-merge: tsc clean, lint 0 errors (1 pre-existing DependencyGraph warning), 101/101 unit tests, build green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 tasks
coccyx
added a commit
that referenced
this pull request
May 29, 2026
Faceted trace search + Spotlight + Settings page reorganization. - Faceted-nav data layer + UI primitives (#46, #47) - Search-page integration with Spotlight rail (#48, #49) - Spotlight on Errors page + Service Detail (#50, #51, #53) - Small-multiples / readable-card / rate-bar Spotlight redesigns driven by manual validation feedback (#52, #54, #55) - Settings page reorganization with Setup status card, sticky nav, and grouped sections (#56) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR G of the v0.9.0 faceted-nav thread (sibling of #46/#47/#48 — all merged). The faceted-nav surface works, but the Traces page felt experts-only. This pass makes it novice-friendly without adding any new capability.
What changes for the user
Spotlight is now the default rail tab. Facets is one click away. For someone debugging, Spotlight is the higher-value primitive — Facets tells them what they already implicitly know, Spotlight surfaces what they didn't.
Rich empty state on the rail replaces the one-line hint:
Per-panel captions explain what the bars mean:
Loading states explain themselves — "Loading facets — querying each attribute in parallel; values appear as queries return…" so users understand the streaming behavior they're seeing.
Sidebar hints — Filters section leads with "Narrow the spans your search and the side rail will analyze."
Center banner is richer — explicitly tells the user that the Spotlight rail works independently of the trace results.
Screenshots
Empty state with explanatory copy + example chips + Spotlight as default tab:

Clicking "HTTP 5xx errors" chip seeds a filter and Spotlight populates:

Facets tab with new caption + streaming-load message:

Test plan
Validate on staging
What's next
Session log
`docs/sessions/2026-05-28-traces-ux.md`
🤖 Generated with Claude Code