Skip to content

Develop V4 to main#568

Merged
csAdityaPachauri merged 2 commits intodevelop_v4from
main
Mar 23, 2026
Merged

Develop V4 to main#568
csAdityaPachauri merged 2 commits intodevelop_v4from
main

Conversation

@csAdityaPachauri
Copy link
Copy Markdown
Contributor

No description provided.

dhavaljain999 and others added 2 commits March 3, 2026 12:23
* feat: implement isValidCslp function for CSLP value validation and add corresponding tests

* test: mock extractDetailsFromCslp function in useRevalidateFieldDataPostMessageEvent tests

* test: enhance tests by mocking isValidCslp function in variant-related test cases

* chore: update tsup configuration to ignore legacy build & dts during dev mode

* chore: upgrade tsup to latest version

* chore: update doc for dev build mode

* chore: version bump

* chore: lodash-es version upgrade

* feat: vb to ve

* Vp 444 stag sync 2 (#562)

* 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>

* chore: audit fix

---------

Co-authored-by: Hitesh Shetty <48558898+hiteshshetty-dev@users.noreply.github.com>
Co-authored-by: hiteshshetty-dev <hitesh.shetty@contentstack.com>
Co-authored-by: Karan Gandhi <karan.gandhi@contentstack.com>
Co-authored-by: csAyushDubey <ayush.dubey@contentstack.com>
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 23, 2026 06:32
@github-actions
Copy link
Copy Markdown

🔒 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

@csAdityaPachauri csAdityaPachauri merged commit 066b705 into develop_v4 Mar 23, 2026
14 of 15 checks passed
@github-actions
Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 71.74% 8065 / 11241
🔵 Statements 71.74% 8065 / 11241
🔵 Functions 74.82% 321 / 429
🔵 Branches 85.65% 1218 / 1422
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 #767 for commit 1582dc8 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