Skip to content

Stage v4#566

Open
csAdityaPachauri wants to merge 23 commits intomainfrom
stage_v4
Open

Stage v4#566
csAdityaPachauri wants to merge 23 commits intomainfrom
stage_v4

Conversation

@csAdityaPachauri
Copy link
Contributor

No description provided.

hiteshshetty-dev and others added 22 commits January 2, 2026 17:13
Add support for Variant highlights
feat: implement isValidCslp function for CSLP value validation
 Optimize Development Build Performance
* feat: added enableLivePreviewOutsideIframe key to on or off the outside iframe feature by default

* test: added enableLivePreviewOutsideIframe key to on or off the outside iframe feature by default

* Vp 444 by default bug fix (#558)

* fix: live preview fixed new tab default setup

* chore: updated readme file

* fix: updated stackSDK usage in init new data flag

---------

Co-authored-by: Mridul Sharma <mridul.sharma@contentstack.com>
Co-authored-by: Mridul Sharma <109782971+contentstackMridul@users.noreply.github.com>
@csAdityaPachauri csAdityaPachauri requested review from a team as code owners March 20, 2026 06:28
@github-actions
Copy link

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions
Copy link

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions
Copy link

github-actions bot commented Mar 20, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 71.74% 8065 / 11241
🔵 Statements 71.74% 8065 / 11241
🔵 Functions 74.82% 321 / 429
🔵 Branches 85.54% 1213 / 1418
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/configManager/config.default.ts 98.03% 100% 66.66% 98.03% 93-94
src/configManager/handleUserConfig.ts 95.8% 83.78% 100% 95.8% 66, 96-97, 103, 109, 121, 178
src/cslp/cslpdata.ts 98.65% 95% 100% 98.65% 255-256
src/livePreview/editButton/editButton.ts 97.13% 89.78% 95% 97.13% 107-109, 221-222, 266-267, 400-401, 563-566, 613-614
src/livePreview/eventManager/postMessageEvent.hooks.ts 80.92% 92.1% 75% 80.92% 80-98, 157-158, 180, 193-201
src/timeline/compare/compare.ts 43.8% 75% 50% 43.8% 31-32, 48-49, 56-57, 63-84, 87-94, 100-116, 122-139
src/types/types.ts 100% 100% 100% 100%
src/visualBuilder/index.ts 60.94% 64.7% 42.85% 60.94% 102-109, 112-116, 119-131, 134-207, 213-248, 256-278, 329-332, 335-336, 389-395
src/visualBuilder/components/fieldLabelWrapper.tsx 76.16% 75.38% 72.72% 76.16% 48-50, 58-60, 144-157, 160-164, 183-212, 233, 237-253, 281-282, 286-291, 295, 360-362, 368-386
src/visualBuilder/eventManager/useRecalculateVariantDataCSLPValues.ts 9.86% 100% 50% 9.86% 23-27, 31-178
src/visualBuilder/eventManager/useRevalidateFieldDataPostMessageEvent.ts 100% 91.3% 80% 100%
src/visualBuilder/eventManager/useVariantsPostMessageEvent.ts 98.71% 92.1% 100% 98.71% 50-51
src/visualBuilder/generators/generateEmptyBlock.tsx 12.19% 100% 0% 12.19% 7-36, 39-48
src/visualBuilder/generators/generateHighlightedComment.tsx 27.45% 100% 33.33% 27.45% 20-72, 80-102, 111-115, 118-120, 143-147, 162
src/visualBuilder/generators/generateOverlay.tsx 91.04% 84% 100% 91.04% 131-140, 198-201, 226-229
src/visualBuilder/listeners/mouseClick.ts 75.59% 66.66% 90.9% 75.59% 89, 101-107, 113-114, 117-122, 135-163, 175-176, 189-190, 235, 294-300, 341-347, 365-375
src/visualBuilder/utils/getCsDataOfElement.ts 100% 100% 100% 100%
src/visualBuilder/utils/getEntryIdentifiersInCurrentPage.ts 100% 100% 100% 100%
src/visualBuilder/utils/getVisualBuilderRedirectionUrl.ts 100% 100% 100% 100%
src/visualBuilder/utils/updateFocussedState.ts 58.24% 64.4% 100% 58.24% 45, 57-59, 61-63, 65, 208-211, 213-244, 334-338, 341-358, 361-371, 374-391, 400-445, 452-474, 480-482
Generated in workflow #763 for commit a53ba7c by the Vitest Coverage Report Action

Copy link
Contributor

@contentstackMridul contentstackMridul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

5 participants