Skip to content

ref(metrics): Metric detail action menu tweaks#116292

Open
nsdeschenes wants to merge 4 commits into
masterfrom
nd/LOGS-826/ref-metrics-metrics-detail-panel-tweaks
Open

ref(metrics): Metric detail action menu tweaks#116292
nsdeschenes wants to merge 4 commits into
masterfrom
nd/LOGS-826/ref-metrics-metrics-detail-panel-tweaks

Conversation

@nsdeschenes
Copy link
Copy Markdown
Contributor

This PR refactors how the metric samples table renders based off of different sources. For the metrics page nothing has changed, however:

  • Issue Detail & Trace Waterfall:
    • Rename view similar spans, to "View connected traces".
    • Add an "open in explore" button, which is just a shortcut to explore with that metric series open.
  • Issue Details:
    • Remove the add filter behavior

Closes LOGS-826

Examples:

Trace Waterfall:
Screenshot 2026-05-27 at 10 34 12

Issue Detail:
Screenshot 2026-05-27 at 10 34 46

nsdeschenes and others added 3 commits May 27, 2026 10:19
Replace the embedded boolean with a named metrics samples table source so callers can identify whether rows are rendered on the metrics page, trace waterfall, or issue details. Preserve the existing embedded table behavior while making the rendering context explicit.

Refs LOGS-826
Show the Explore similar spans metric-name action only when samples are rendered in the trace waterfall. Keep metrics page and issue details samples to the default field actions, and cover those contexts in the metric panel tests.

Refs LOGS-826
Add connected trace and Metrics Explore shortcuts for embedded metric sample rows. Suppress query-filtering cell actions on issue details where there is no visible metrics search bar.

Refs LOGS-826
Co-Authored-By: OpenAI Codex <noreply@openai.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 27, 2026

LOGS-826

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.58%

@nsdeschenes
Copy link
Copy Markdown
Contributor Author

@sentry review

@nsdeschenes
Copy link
Copy Markdown
Contributor Author

@cursor review

Set the aggregate table cells to the metrics page source so the shared metrics table styling props remain type-safe after adding explicit sample table sources.

Refs LOGS-826
Co-Authored-By: OpenAI Codex <noreply@openai.com>
@nsdeschenes
Copy link
Copy Markdown
Contributor Author

@cursor review

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 9c5474c. Configure here.

@nsdeschenes nsdeschenes marked this pull request as ready for review May 27, 2026 14:21
@nsdeschenes nsdeschenes requested review from a team as code owners May 27, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant