Skip to content

Comments

Fixed live preview support and error handling#271

Merged
reeshika-h merged 2 commits intodevelopmentfrom
fix/DX-266-livepreview
Feb 20, 2026
Merged

Fixed live preview support and error handling#271
reeshika-h merged 2 commits intodevelopmentfrom
fix/DX-266-livepreview

Conversation

@reeshika-h
Copy link
Contributor

  • Introduced clearLivePreviewEntry method in Config to reset live preview entry.
  • Enhanced JSON handling in CSHttpConnection for entries and entry objects.
  • Updated Entry class to configure live preview based on conditions.
  • Added error message for missing live preview host in ErrorMessages.
  • Improved Stack class to handle live preview URL and response parsing, including fallback for draft entries.

@github-actions
Copy link

Coverage Summary

  • 📘 Instruction Coverage: 93%
  • 🌿 Branch Coverage: 80%

Copy link
Contributor

@sunil-lakshman sunil-lakshman left a comment

Choose a reason for hiding this comment

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

LGTM

@reeshika-h reeshika-h marked this pull request as ready for review February 20, 2026 10:44
@reeshika-h reeshika-h requested a review from a team as a code owner February 20, 2026 10:44
@reeshika-h reeshika-h merged commit 8e2d9ec into development Feb 20, 2026
11 checks passed
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.

3 participants