From 22ded1a657583e4410e316c6d791e6cc2602b82e Mon Sep 17 00:00:00 2001 From: hechang27-sprt Date: Wed, 1 Apr 2026 09:07:36 +0800 Subject: [PATCH] chore: record journal --- .trellis/workspace/hechang27-sprt/index.md | 7 ++-- .../workspace/hechang27-sprt/journal-1.md | 42 +++++++++++++++++++ 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/.trellis/workspace/hechang27-sprt/index.md b/.trellis/workspace/hechang27-sprt/index.md index 6476dfe..af145c6 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**: 9 -- **Last Active**: 2026-03-31 +- **Total Sessions**: 10 +- **Last Active**: 2026-04-01 --- @@ -19,7 +19,7 @@ | File | Lines | Status | |------|-------|--------| -| `journal-1.md` | ~340 | Active | +| `journal-1.md` | ~382 | Active | --- @@ -29,6 +29,7 @@ | # | Date | Title | Commits | |---|------|-------|---------| +| 10 | 2026-04-01 | Separate CSS classes for mini-table and real table cells | `423d7ef` | | 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` | diff --git a/.trellis/workspace/hechang27-sprt/journal-1.md b/.trellis/workspace/hechang27-sprt/journal-1.md index d989d1e..f4456ce 100644 --- a/.trellis/workspace/hechang27-sprt/journal-1.md +++ b/.trellis/workspace/hechang27-sprt/journal-1.md @@ -338,3 +338,45 @@ Implemented 3-layer performance optimization for list-table-v2: (1) Height-chang ### Next Steps - None - task complete + + +## Session 10: Separate CSS classes for mini-table and real table cells + +**Date**: 2026-04-01 +**Task**: Separate CSS classes for mini-table and real table cells + +### Summary + +(Add summary) + +### Main Changes + +| Change | Description | +|--------|-------------| +| Refactor | Separated CSS classes for mini-table (height measurement) vs real table (el-table-v2) cell rendering | + +**Changes Made**: +- `packages/base/data/list-table-v2.vue`: Added `isMiniTable` parameter to `renderCellContent` and `renderHeaderCellContent` to distinguish rendering context +- Mini-table cells use `mini-cell-text` / `mini-header-cell-text` (unchanged - allows natural growth for height measurement) +- Real table cells use new `table-cell-text` / `table-header-cell-text` classes (with `overflow: hidden; text-overflow: ellipsis`) + +**Purpose**: This is a prerequisite for fixing the text cropping bug in fixed columns. The real table cells need different CSS constraints than the mini-table which is used purely for measuring row heights. + + +### Git Commits + +| Hash | Message | +|------|---------| +| `423d7ef` | (see git log) | + +### Testing + +- [OK] (Add test results) + +### Status + +[OK] **Completed** + +### Next Steps + +- None - task complete