Skip to content

Conversation

Yugsolanki
Copy link

  • Fix race conditions between Monaco editor validation and custom JSON validation
  • Improve error state management to properly clear errors when valid content is entered
  • Simplify TextEditor validation logic to prevent conflicting validation sources
  • Enhance setContents function to handle rapid content changes correctly
  • Fix contentToJson function error handling to prevent validation failures
  • Add proper error state cleanup in clear function
  • Remove debounced validation conflicts that caused formatting issues on repeated edits

Fixes issue where JSON formatting would fail intermittently when clearing and re-entering content multiple times in the editor.

Fixing Issue: #486

…persistence

- Fix race conditions between Monaco editor validation and custom JSON validation
- Improve error state management to properly clear errors when valid content is entered
- Simplify TextEditor validation logic to prevent conflicting validation sources
- Enhance setContents function to handle rapid content changes correctly
- Fix contentToJson function error handling to prevent validation failures
- Add proper error state cleanup in clear function
- Remove debounced validation conflicts that caused formatting issues on repeated edits

Fixes issue where JSON formatting would fail intermittently when clearing and re-entering content multiple times in the editor.
@Miskler
Copy link

Miskler commented Aug 3, 2025

@AykutSarac

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