Add common mistakes section for:
- Vue 3 refs nested in objects not auto-unwrapped in templates
- Virtual scrolling overscan behavior with small datasets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Observe miniTableRef instead of container to detect actual height changes
- Track height changes and skip re-probing when height unchanged
- Add IntersectionObserver to detach ResizeObserver for off-screen tables
- Add display:none (via .is-hidden class) for off-screen mini-tables
- Re-attach and remeasure when table becomes visible
Performance improvements:
- Window resize is now smooth with 14 tables on demo page
- Off-screen tables have no ResizeObserver overhead
- Mini-tables are fully removed from layout when off-screen
Also:
- Add oxlint as linting tool (replaces vue-cli-service lint)
- Add oxlintrc.json configuration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add cellRenderer and headerCellRenderer to ListTableColumn interface
- Use functional components (MiniTableCell, MiniTableHeader) to render VNodes properly in mini-table
- Add ts-pattern dependency for type-safe pattern matching
- Fix mini-table CSS to match el-table-v2 cell rendering for accurate height measurement:
- Add font-size: var(--el-font-size-base)
- Change flex-direction to row, align-items to center
- Add padding: 4px to mini-cell
- Add justify-content: center to mini-header-cell
- Document Vue 3 template VNode rendering pattern in quality-guidelines
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix call site bug where renamed function handleResize wasn't called
- Use queueMicrotask to clear and set estimatedRowHeight in same microtask
- This minimizes the gap where el-table-v2 uses default row height
- Also update shouldUseProbeRow to check estimatedRowHeight prop
- Add cell-text CSS for proper overflow handling in mini table
- Document queueMicrotask pattern and build commands in spec guides
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add lorem ipsum test data for better visual testing
- Update quality guidelines with el-table-v2 insights
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update bun.lock and package.json dependencies
- Add task directory for list-table-v2
- Update AGENTS.md with gitnexus index stats
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Create ListTableV2 component using Element Plus el-table-v2 for performance
- Use ElAutoResizer for automatic container height sizing
- Support auto-distributed column widths via flexGrow
- Convert parent slots to cellRenderer functions using renderSlot
- Fix incorrect import path in useListTable.ts and plugs/store/index.ts
- Add Vue DevTools plugin for debugging
- Add demo page with 100 rows of test data
- Add menu entry and i18n translations
- Update component guidelines with el-table-v2 usage notes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>