-
Notifications
You must be signed in to change notification settings - Fork 2.1k
chore: make error tracking UI full with and remove card style #42240
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 files reviewed, 3 comments
products/error_tracking/frontend/components/EventsTable/EventsTable.tsx
Outdated
Show resolved
Hide resolved
| // Click event is caught at the row level | ||
| return ( | ||
| <div className="flex items-center"> | ||
| <input type="radio" className="cursor-pointer" checked={isEventSelected(record)} onChange={() => {}} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: missing name attribute on radio button prevents it from being part of a radio group
Prompt To Fix With AI
This is a comment left during a code review.
Path: products/error_tracking/frontend/components/EventsTable/EventsTable.tsx
Line: 85:85
Comment:
**logic:** missing `name` attribute on radio button prevents it from being part of a radio group
How can I resolve this? If you propose a fix, please make it concise.
products/error_tracking/frontend/components/EventsTable/EventsTable.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refactors the Error Tracking Issue Scene UI to achieve a cleaner, full-width panel layout by removing nested cards and collapsible sections for filters.
Key Changes:
- Removed the LemonCollapse component wrapping the filters, making them always visible
- Removed card nesting in ExceptionCard by setting border and border-radius to none
- Restored the selected state functionality in the EventsTable with a radio button column
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| ErrorTrackingIssueScene.tsx | Restructured layout to use fragment wrapper, removed LemonCollapse import, moved filters out of collapsible panel, added selectedEvent state to EventsTable, adjusted spacing/padding |
| ExceptionCard.tsx | Removed unused cn import, updated className to remove border and rounded corners for seamless integration |
| EventsTable.tsx | Added selectedEvent prop, implemented radio button selection column with isEventSelected helper, enabled row click handling with stealth mode |
| DataSourceTable.tsx | Added stealth prop type definition and forwarding to LemonTable for cleaner table styling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // Click event is caught at the row level | ||
| return ( | ||
| <div className="flex items-center"> | ||
| <input type="radio" className="cursor-pointer" checked={isEventSelected(record)} onChange={() => {}} /> |
Copilot
AI
Nov 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The radio button should have a name attribute to group related radio buttons together. All radio buttons in this table should share the same name to ensure proper radio button behavior where only one can be selected at a time.
Additionally, the radio button lacks an accessible label. Consider adding an aria-label attribute for screen readers.
| <input type="radio" className="cursor-pointer" checked={isEventSelected(record)} onChange={() => {}} /> | |
| <input | |
| type="radio" | |
| className="cursor-pointer" | |
| checked={isEventSelected(record)} | |
| onChange={() => {}} | |
| name={`event-select-${queryKey}`} | |
| aria-label={`Select event ${record.uuid}`} | |
| /> |
products/error_tracking/frontend/components/EventsTable/EventsTable.tsx
Outdated
Show resolved
Hide resolved
products/error_tracking/frontend/components/EventsTable/EventsTable.tsx
Outdated
Show resolved
Hide resolved
|
Size Change: 0 B Total Size: 3.41 MB ℹ️ View Unchanged
|
ablaszkiewicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great change!
Problem
Changes