Skip to content

feat(logs): Add copy link action to logs table row cell menus#115221

Merged
JonasBa merged 6 commits into
masterfrom
jb/logs/link-to-logs
May 11, 2026
Merged

feat(logs): Add copy link action to logs table row cell menus#115221
JonasBa merged 6 commits into
masterfrom
jb/logs/link-to-logs

Conversation

@JonasBa

@JonasBa JonasBa commented May 8, 2026

Copy link
Copy Markdown
Contributor

Add a "Copy link" menu item to the cell action ellipsis menus in the logs table rows. Clicking it copies a URL that filters the logs view to the specific log entry via its ID (sets logsQuery=id:<logId>).

This introduces COPY_LINK as a new CellAction action type, gated behind allowActions so existing tables are unaffected. The logs table opts in via ALLOWED_CELL_ACTIONS.

Includes analytics tracking via logs.table.row_link_copied and a test for the new menu item.

Add a "Copy link" menu item to the cell action ellipsis menus in
the logs table. Clicking it copies a URL that filters the logs view
to the specific log entry via its ID.

Also adds COPY_LINK as a new CellAction action type that can be
opted into via allowActions.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 8, 2026
@JonasBa JonasBa marked this pull request as ready for review May 8, 2026 19:50
@JonasBa JonasBa requested review from a team as code owners May 8, 2026 19:50
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

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

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fa16a4d. Configure here.

Comment thread static/app/utils/analytics/logsAnalyticsEvent.tsx Outdated
Co-authored-by: Jonas <JonasBa@users.noreply.github.com>
@JonasBa JonasBa merged commit 086b936 into master May 11, 2026
75 checks passed
@JonasBa JonasBa deleted the jb/logs/link-to-logs branch May 11, 2026 17:45
nikkikapadia pushed a commit that referenced this pull request May 12, 2026
Add a "Copy link" menu item to the cell action ellipsis menus in the
logs table rows. Clicking it copies a URL that filters the logs view to
the specific log entry via its ID (sets `logsQuery=id:<logId>`).

This introduces `COPY_LINK` as a new `CellAction` action type, gated
behind `allowActions` so existing tables are unaffected. The logs table
opts in via `ALLOWED_CELL_ACTIONS`.

Includes analytics tracking via `logs.table.row_link_copied` and a test
for the new menu item.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators May 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants