feat(playground): Expand into schema workbench#72
Merged
Conversation
Add WASM bindings for lint and diff so the browser workbench can use Relune application features beyond diagram rendering. Export requests now also carry layout direction, and the request adapters cover the new browser-facing diff and lint shapes. Diff responses now return formatter-backed text, markdown, and JSON content for non-visual modes, while wasm-bindgen tests lock down the new lint and compare entry points under Node.js.
Rework the public playground into a browser schema workbench with Render, Inspect, Export, Lint, and Compare modes over the shared WASM runtime. The UI now exposes mode-specific panels, compare before/after editors, richer output actions, and updated schema workbench copy. Example changes and resets now keep the single editor and compare editors aligned so switching modes never runs stale SQL. The docs and local playground typings were updated alongside the new workbench surface.
Code Metrics Report
Details | | main (a58a08b) | #72 (f4ac84b) | +/- |
|---------------------|----------------|---------------|-------|
- | Coverage | 94.2% | 94.1% | -0.1% |
| Files | 77 | 77 | 0 |
| Lines | 32073 | 32185 | +112 |
+ | Covered | 30224 | 30308 | +84 |
- | Test Execution Time | 1m27s | 1m31s | +4s |Code coverage of files in pull request scope (72.9% → 73.4%)
Reported by octocov |
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.
Summary
Compare modes
Changes
modes
wasm-bindgentests to lock down lint and compare entry points under Node.jsLint, Compare)