feat(apollo-vertex): extend data-table with plain option#655
feat(apollo-vertex): extend data-table with plain option#655tarasiuk-o wants to merge 2 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a plain option to the apollo-vertex DataTable to allow rendering without the GLASS_CLASSES styling.
Changes:
- Extended
DataTablePropswith a new optionalplain?: booleanprop. - Defaulted
plaintofalsein the component signature. - Conditionally applied
GLASS_CLASSESbased onplain.
| renderExpandedRow, | ||
| getRowClassName, | ||
| skeletonColumnWidths, | ||
| plain = false, |
There was a problem hiding this comment.
what does plain mean, can we give it a better name?
There was a problem hiding this comment.
@0xr3ngar If the constant is named GLASS_CLASSES, we can make the option name clearer — for example, a boolean glass, a union variant: "glass" | "plain", glassClasses, or transparent.
The core issue is that we need a way to render the data table without GLASS_CLASSES. WDYT?
There was a problem hiding this comment.
Why do we want to render it without? This is the current design no?

plainprop to render table withoutGLASS_CLASSES