aboutsummaryrefslogtreecommitdiff
path: root/source/library/components/Editor.svelte (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Push value prop changes into Editor's CodeMirror statenetop://ウィビ16 hours1-0/+12
| | | | | | | | | | Editor read the value prop once at mount and never reconciled later mutations into the CodeMirror doc. Result viewer never showed query output, format button output never reached the editor, and history loads stayed invisible. Add an effect that diffs the doc against the incoming value and dispatches a replacement transaction when they differ — guard against the user-typing echo by skipping when they already match.
* Migrate from Deno/JSR to npm publishingnetop://ウィビ17 hours1-2/+1
| | | | | | | | | | | | | - @sveltejs/package builds dist/ for @eeeooolll/graphiql with three entry points (./, ./component, ./splitter) - Vitest + svelte-check replace Deno test/check; runes shim no longer needed since the Svelte plugin compiles .svelte.ts at runtime - Drop $app/environment dep in Editor.svelte to support non-SvelteKit consumers - Refactor TabBar tab element from nested <button> to role=tab <div> per PLAN.md gotcha; svelte-check flagged the invalid HTML - README now documents npm install, integration patterns for Yoga, Apollo, graphql-modules, Hono/Bun/Deno, plus APQ + keyboard table
* Initial commit: @eol/graphiql v0.3netop://ウィビ22 hours1-0/+136
Svelte 5 GraphiQL alternative for JSR. Covers: - HTTP fetcher with injectable fetch; SSE/WS stubs - Session store with tabs, auto-titling, persistence, rename - Operation detection via graphql parse(); Toolbar picker - CodeMirror 6 editor via cm6-graphql with theme prop - Light theme preset (hand-rolled EditorView.theme) - Doc explorer with breadcrumb nav and type guards - History panel with 100-entry cap, favorite pinning - Deno tests for operations, storage, and history eviction