feat(apollo-vertex): data table overhaul with MRS upstream improvements#411
feat(apollo-vertex): data table overhaul with MRS upstream improvements#411creilly11235 wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
| @@ -1,31 +1,20 @@ | |||
| "use client"; | |||
| "use no memo"; | |||
Check warning
Code scanning / CodeQL
Unknown directive Warning
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI about 8 hours ago
In general, to fix an unknown directive you either (1) correct the string to a known, intended directive, or (2) remove it if no such directive exists or is needed. Since "use no memo" is not a standard directive and there is no obvious corresponding valid directive (React does not define "use no memo"), the safest fix that preserves existing functionality is to remove this stray directive line entirely, leaving only the valid "use client"; directive.
Concretely, in apps/apollo-vertex/registry/data-table/data-table-column-header.tsx, delete line 2 containing "use no memo"; and leave the rest of the file unchanged. No imports, methods, or additional definitions are required, because we are only removing a no-op string literal that is not referenced anywhere else. This avoids changing runtime behavior while resolving the CodeQL warning and preventing future confusion for maintainers.
| @@ -1,5 +1,4 @@ | ||
| "use client"; | ||
| "use no memo"; | ||
|
|
||
| import type { Column, SortDirection } from "@tanstack/react-table"; | ||
| import { ArrowDownIcon, ArrowUpIcon } from "lucide-react"; |
6d87f7f to
51c1aa7
Compare
Upstream refined data-table UX from vertical-medical-mrs back to the Apollo Vertex registry. Key changes: - Simplified column header: click-to-sort replaces dropdown menu - Scroll shadows: framer-motion gradient overlays on horizontal overflow - Cell truncation tooltips: native title shown only when content clips - Pagination: [10,25,50,100] + "All", filtered sizes, flex-wrap layout - Search: icon inside input, responsive width, borderless - View options: icon-only button with tooltip - Skeleton: per-column width customization with cycling defaults - Toolbar: flex-wrap with restructured layout - Glass container: inline frosted backdrop-blur styling - New props: getRowClassName, skeletonColumnWidths, noResultsMessage as ReactNode, overflowVisible column meta - New exports: DataTableRow, DataTableCell for custom compositions - Base table: opt-in row hover, text-sm on TableHead - i18n: defaultValue fallbacks for standalone use without Shell - Demo: status badges with secondary+status variants, sentence case Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
51c1aa7 to
8541d65
Compare
Summary
🤖 Generated with Claude Code