Skip to content

Fixed live preview support and error handling#271

Draft
reeshika-h wants to merge 2 commits intodevelopmentfrom
fix/DX-266-livepreview
Draft

Fixed live preview support and error handling#271
reeshika-h wants to merge 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

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

Comments