Skip to content

Fix inspector freeze on directive type change and improve sync resili…#841

Merged
serrynaimo merged 2 commits intomainfrom
thomasgorissen/inspector
Mar 10, 2026
Merged

Fix inspector freeze on directive type change and improve sync resili…#841
serrynaimo merged 2 commits intomainfrom
thomasgorissen/inspector

Conversation

@serrynaimo
Copy link
Copy Markdown
Collaborator

…ence

  • Use synthetic renderKey for {#each} keys to prevent duplicate key errors
  • Remove directive prefix guard from positional matching so directive type changes (e.g. #EVAL → #ASSERT) update tracked sections instead of going stale
  • Re-activate stale sections when user clicks "Track result" on same position
  • Remove unused directiveType field from ResultSection

Thomas Gorissen and others added 2 commits March 10, 2026 21:44
…ence

- Use synthetic renderKey for {#each} keys to prevent duplicate key errors
- Remove directive prefix guard from positional matching so directive type
  changes (e.g. #EVAL → #ASSERT) update tracked sections instead of going stale
- Re-activate stale sections when user clicks "Track result" on same position
- Remove unused directiveType field from ResultSection
@serrynaimo serrynaimo merged commit 9b36c95 into main Mar 10, 2026
@serrynaimo serrynaimo deleted the thomasgorissen/inspector branch March 10, 2026 13:47
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.

1 participant