feat: add cell height clamping and editable full-content modal - #97
Open
cDivus wants to merge 1 commit into
Open
feat: add cell height clamping and editable full-content modal#97cDivus wants to merge 1 commit into
cDivus wants to merge 1 commit into
Conversation
…lHeightLines setting - Wrap table cell contents in block container with CSS line-clamping - Add configurable csv.maxCellHeightLines setting (default 3, 0 for no truncation before 1000 chars) - Truncate ultra-long cell text (>1000 chars) in DOM nodes for fast rendering (ex. Base64 image), with on-demand getCellContent IPC fetching - Make full content viewer modal editable with explicit Save, Copy, and Close actions - Route ultra-long cell edits and double-clicks to the modal viewer to prevent horizontal column stretching - Register csv.maxCellHeightLines in package.json, README.md, and configuration listener for live settings refresh - Add unit tests for cell truncation, modal editing, and IPC handlers (108 tests passing)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Demo: https://youtu.be/pRLV8W7mKcE
Adds cell height clamping and an editable modal viewer to handle large cells without stretching grid layouts or hurting performance:
csv.maxCellHeightLinessetting: Clamps visible cell height (default3lines; set to0to disable).Ctrl+Enter), Copy, and Close (Esc) buttons.108passing).