Skip to content

VB-277: fix(VB-277/truncate-handlling):function added to remove and store styles#503

Closed
csAdityaPachauri wants to merge 3 commits intodevelop_v4from
VB-277/truncate-handlling
Closed

VB-277: fix(VB-277/truncate-handlling):function added to remove and store styles#503
csAdityaPachauri wants to merge 3 commits intodevelop_v4from
VB-277/truncate-handlling

Conversation

@csAdityaPachauri
Copy link
Copy Markdown
Contributor

fix(visual-builder): implement style preservation for truncate handling

  • Add functions to store and restore element styles during truncation
  • Ensure visual state consistency when elements are truncated
  • Update overlay and focus state management for truncated elements

@csAdityaPachauri csAdityaPachauri requested a review from a team as a code owner September 16, 2025 11:02
@csAdityaPachauri csAdityaPachauri changed the title fix(VB-277/truncate-handlling):function added to remove and store styles VB-277: fix(VB-277/truncate-handlling):function added to remove and store styles Sep 16, 2025
@csAdityaPachauri csAdityaPachauri changed the base branch from main to develop_v4 September 16, 2025 11:02
@csAdityaPachauri csAdityaPachauri requested a review from a team as a code owner September 16, 2025 11:02
@github-actions
Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 72.14% 9316 / 12912
🔵 Statements 72.14% 9316 / 12912
🔵 Functions 72.04% 335 / 465
🔵 Branches 83.32% 1174 / 1409
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/visualBuilder/generators/generateOverlay.tsx 89.44% 76.92% 100% 89.44% 135-144, 181, 199-202, 227-230, 240-241
src/visualBuilder/listeners/mouseClick.ts 73.18% 64.51% 90.9% 73.18% 93, 103-109, 114-115, 118-123, 136-164, 176-177, 190-191, 236, 256-257, 307-313, 351-357, 375-385
src/visualBuilder/utils/enableInlineEditing.ts 98.52% 90.9% 100% 98.52% 37
src/visualBuilder/utils/truncateHandler.ts 24.7% 21.42% 50% 24.7% 30, 32-33, 36-37, 40-41, 45, 47-48, 51-52, 56-71, 79-117, 125-135
src/visualBuilder/utils/updateFocussedState.ts 56.67% 59.64% 100% 56.67% 50, 62-64, 66-68, 70, 213-216, 218-249, 280-281, 340-344, 347-364, 367-377, 380-397, 404-449, 456-478, 484-486
Generated in workflow #547 for commit e072619 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants