From 8a5afe6bf90d464415a46d0c4a4c47c35a699e59 Mon Sep 17 00:00:00 2001 From: hechang27-sprt Date: Tue, 31 Mar 2026 16:47:40 +0800 Subject: [PATCH] chore: record journal --- .trellis/workspace/hechang27-sprt/index.md | 7 ++-- .../workspace/hechang27-sprt/journal-1.md | 32 +++++++++++++++++++ 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/.trellis/workspace/hechang27-sprt/index.md b/.trellis/workspace/hechang27-sprt/index.md index 5f36bac..6476dfe 100644 --- a/.trellis/workspace/hechang27-sprt/index.md +++ b/.trellis/workspace/hechang27-sprt/index.md @@ -8,8 +8,8 @@ - **Active File**: `journal-1.md` -- **Total Sessions**: 8 -- **Last Active**: 2026-03-30 +- **Total Sessions**: 9 +- **Last Active**: 2026-03-31 --- @@ -19,7 +19,7 @@ | File | Lines | Status | |------|-------|--------| -| `journal-1.md` | ~308 | Active | +| `journal-1.md` | ~340 | Active | --- @@ -29,6 +29,7 @@ | # | Date | Title | Commits | |---|------|-------|---------| +| 9 | 2026-03-31 | Optimize list-table-v2 resize performance | `5e88867` | | 8 | 2026-03-30 | Table-v2 comprehensive demo page | `62ab397` | | 7 | 2026-03-28 | Restructure and cleanup list-table-v2 mini-table rendering | `a2eeb86` | | 6 | 2026-03-27 | Expose cellRenderer and headerCellRenderer for list-table-v2 | `3c97cd7` | diff --git a/.trellis/workspace/hechang27-sprt/journal-1.md b/.trellis/workspace/hechang27-sprt/journal-1.md index ded2db7..d989d1e 100644 --- a/.trellis/workspace/hechang27-sprt/journal-1.md +++ b/.trellis/workspace/hechang27-sprt/journal-1.md @@ -306,3 +306,35 @@ Reworked `examples/view/base/table-v2.vue` into a comprehensive demo page for `l ### Next Steps - None - task complete + + +## Session 9: Optimize list-table-v2 resize performance + +**Date**: 2026-03-31 +**Task**: Optimize list-table-v2 resize performance + +### Summary + +Implemented 3-layer performance optimization for list-table-v2: (1) Height-change detection - only re-probe when mini-table height actually changes, (2) Viewport-based observer detachment - ResizeObserver only attached when table is visible, (3) Display:none for off-screen tables - removes hidden mini-tables from GPU layout. Also added oxlint as linter. + +### Main Changes + + + +### Git Commits + +| Hash | Message | +|------|---------| +| `5e88867` | (see git log) | + +### Testing + +- [OK] (Add test results) + +### Status + +[OK] **Completed** + +### Next Steps + +- None - task complete