Skip to content

Add logs table row buttons (filters, copy as json etc.) #97545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented Aug 8, 2025

Summary

This adds some actions below the details when opening a log in the logs table.

This adds some actions below the details when opening a log in the logs
table.
@k-fish k-fish requested a review from a team August 8, 2025 23:28
@k-fish k-fish requested a review from a team as a code owner August 8, 2025 23:28
Copy link

linear bot commented Aug 8, 2025

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 8, 2025
</Button>
</LogDetailTableActionsButtonBar>
</LogDetailTableActionsCell>
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Table Rendering Issues and Button Crashes

The expanded log row (DetailsWrapper, a <tr>) incorrectly renders two <td> cells (LogDetailTableBodyCell and LogDetailTableActionsCell), each set to span all columns. This invalid table structure can cause unpredictable rendering and layout issues.

Additionally, clicking the "View Trace" button crashes for logs without a trace_id because adjustLogTraceID is called with an undefined value, leading to a TypeError when .replace() is invoked. The button should be hidden/disabled or the call guarded.

Finally, the LogDetailTableActionsCell is missing display: "flex", preventing its alignItems, justifyContent, and flexDirection styles from applying, which can lead to incorrect button layout.

Fix in Cursor Fix in Web

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