Skip to content

feat: json error preview#989

Open
dhimanAbhi wants to merge 2 commits into
clidey:mainfrom
dhimanAbhi:feat/json-error-preview
Open

feat: json error preview#989
dhimanAbhi wants to merge 2 commits into
clidey:mainfrom
dhimanAbhi:feat/json-error-preview

Conversation

@dhimanAbhi
Copy link
Copy Markdown
Contributor

Related Issue

Closes #951

What does this PR do?

The JSON preview in the editor no longer crashes the app when the input is invalid, it now shows an inline error message instead.

How it works

A readable inline error message is rendered in the preview area instead when an invalid JSON is previewed by user.

How was this tested?

Connected to a MongoDB database, opened the Add Row sheet, entered invalid JSON, clicked Show Preview and confirmed the inline error message appears without crashing the app.

Screenshots / recordings

image

Checklist

  • I have read the Contributing Guidelines
  • I discussed this change in an issue before starting work
  • My PR description is written in my own words and accurately describes my changes
  • I have tested my changes locally
  • I have not included build artifacts or unrelated changes

@dhimanAbhi dhimanAbhi changed the title Feat/json error preview feat: json error preview May 10, 2026
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.

[BUG] - JSON preview throws on invalid JSON instead of showing a local validation state

1 participant