Repository navigation
feat: add compact navigable diagnostics - #487
Merged
Merged
Conversation
Refresh the light and dark surfaces with logo-derived cyan accents and a compact header. Add a collapsible configuration sidebar with mobile focus management, inline lint rules, and Define options under Transformer. Use compact checkboxes, smaller fields, and quieter secondary actions to keep the configuration panel dense and readable.
Use shared Shiki grammars and palettes for Monaco, printed output, and AST values. Keep separate registries for Monaco and HTML, flatten translucent foregrounds, and emit both HTML palettes for reactive theme changes. Preserve diagnostics, model changes, and hover cleanup while the editor waits for highlighting. Fall back to the built-in editor theme if loading fails.
Keep diagnostic counts and concise messages visible without taking half of the source pane. Add collapsible details with shared syntax highlighting and filename locations that select and focus the corresponding source. Convert diagnostic byte offsets at the editor boundary so markers and navigation remain accurate after Unicode characters.
Contributor
Dunqing
marked this pull request as ready for review
November 16, 2026 02:47
Base automatically changed from
claude/playground-highlighting-split
to
main
November 16, 2026 03:08
…89eeab # Conflicts: # src/components/MonacoEditor.vue
Dunqing
enabled auto-merge (squash)
November 16, 2026 03:22
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Diagnostics currently take up a large part of the source pane with full terminal output. Show compact severity counts, messages, and clickable filename locations; keep the complete explanation in expandable, syntax-highlighted details and allow collapsing the panel.
Convert diagnostic UTF-8 byte offsets to UTF-16 at the editor boundary so markers and source selections remain accurate after Unicode characters. Preserve the compiler's full diagnostic text and use the shared light/dark highlighting palettes.
Depends on #486.
Validation: diagnostic offset regression tests, TypeScript, formatting, lint, and production build passed. Browser checks covered light/dark themes, mobile layout, source selection and focus, collapse/expansion, and exact code-frame text preservation. Existing lint/chunk-size warnings and Monaco service-registration errors remain outside this change.