Conversation
|
Size Change: +1.19 kB (0%) Total Size: 110 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Pull request overview
Adjusts LemonTable’s header loader rendering to prevent header/content layout shift during loading states (notably in Error Tracking issues list layouts), by ensuring the loader doesn’t introduce an extra header column.
Changes:
- Render the loader in its own
<thead>row instead of as an additional<th>in the main header row. - Compute a
colSpanintended to match the visible header column count. - Add header CSS to make the loader row take up no space while still allowing the loader bar to be positioned/visible.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| frontend/src/lib/lemon-ui/LemonTable/LemonTable.tsx | Moves loader into a dedicated header row and adds colSpan calculation to avoid column-count changes while loading. |
| frontend/src/lib/lemon-ui/LemonTable/LemonTable.scss | Styles the loader host header cell to have zero height/padding and no borders so it doesn’t affect layout. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Reviews (1): Last reviewed commit: "fix: copy" | Re-trigger Greptile |
Visual regression: Storybook UI snapshots updatedChanges: 9 snapshots (9 modified, 0 added, 0 deleted) What this means:
Next steps:
|
Storybook visual regression tests failedIf your changes intentionally update UI snapshots: add the If you didn't change any UI: this is likely a flaky snapshot — wait for a fix to land on master. |
I've discovered a nasty bug in ET issues list due to recent changes. In some layout configurations in
LemonTablecontent would shift and create this thing.Made it so that loader is another row instead of being another column.
All good now
