fix(list-table-v2): eliminate resize flicker with queueMicrotask pattern
- 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>
@ -59,13 +59,26 @@ When making changes to `packages/` directory and testing with `examples/`:
const DEV_MODE_TS = "2026-03-26T03:50:00.000Z"; // Update timestamp to force reload
const DEV_MODE_TS = "2026-03-26T03:50:00.000Z"; // Update timestamp to force reload
```
```
### Build Commands
This project uses **bun** as package manager:
| Command | Purpose | When to Use |
|---------|---------|-------------|
| `bun run dev` | Start Vite dev server | Testing example project |
| `bun run build` | Build examples project | **DO NOT USE** - examples don't need build |
| `bun run build:lib` | Build library for external repos | When done with changes, to verify build |
| `bun run lint` | Lint code | Before commit |
**Common mistake**: Running `bun run build` which builds the examples project unnecessarily. The examples project is for development only and Vite handles hot reload automatically.
### Quick Test Cycle
### Quick Test Cycle
```bash
```bash
# 1. Make changes to packages/
# 1. Make changes to packages/
# 2. Dev server auto-reloads when accessing example pages
# 2. Dev server auto-reloads when accessing example pages
# 3. Modify DEV_MODE_TS in packages/manage/router/index.vue if changes don't appear
# 3. Modify DEV_MODE_TS in packages/manage/router/index.vue if changes don't appear
@ -97,6 +97,22 @@ When you've made similar changes to multiple files:
---
---
## Gotcha: Rename Without Propagation
**Problem**: When renaming a function, variable, or component, IDE refactoring tools update all references automatically. But if you manually rename (even with search-and-replace), you may miss some references.
**Symptom**: Code compiles/runs but behavior is broken because some code still references the old name.
**Example**: Renaming `debouncedMeasure` to `handleResize` but forgetting to update the call site in a ResizeObserver callback.
**Prevention checklist**:
- [ ] **Use IDE rename** (F2 in most IDEs) - it finds ALL references
- [ ] **If manual rename**: Search for the old name with grep BEFORE renaming to find all occurrences
- [ ] **If manual rename**: Search for the new name AFTER renaming to verify all references were updated
- [ ] **Test the feature** that uses the renamed entity