Gregory Schier
2b43407ddf
Fix gRPC autocomplete schema not being applied
...
Two issues fixed:
1. Initialize stateExtensions with empty object {} instead of undefined.
When called with no argument, the schema state was undefined, causing
jsonCompletion() to return [] instead of a proper result object, which
CodeMirror's autocomplete didn't handle correctly.
2. Change editorView from useRef to useState so the effect that calls
updateSchema() properly re-runs when the editor view is set. With useRef,
the effect could run before the editor was mounted or with a stale
reference when the editor was recreated.
2026-01-10 14:57:28 -08:00
Gregory Schier
f2a63087b0
Actually fix GraphQLEditor.tsx properly
2025-11-06 09:33:12 -08:00
Gregory Schier
6ad4e7bbb5
Click env var to edit AND improve input/editor ref handling
2025-11-01 08:39:07 -07:00
Gregory Schier
ba6163b6d8
Better code splitting and removed final instances of react-dnd
2025-10-19 08:16:56 -07:00
Gregory Schier
d962d7f94b
remove codemirror dep and restructure a bit
2025-05-15 09:28:14 -07:00
Gregory Schier
f1757ae427
Generalized frontend model store ( #193 )
2025-03-31 11:56:17 -07:00
Gregory Schier
b9ed554aca
Remove useTemplating prop ( #184 )
2025-03-18 05:34:38 -07:00
Gregory Schier
c8be8082c5
Websocket Support ( #159 )
2025-01-31 09:00:11 -08:00
Gregory Schier
662c38d7a0
Multi-line multi-part values
2025-01-27 07:30:06 -08:00
Gregory Schier
bc50891edb
Remove useNavigate everywhere, and make request a query param. And convert dialog to Jotai
2025-01-06 16:54:07 -08:00
Gregory Schier
add39bda6e
Revert to preserving editor state with fromJson due to state callbacks not being preserved
2025-01-01 08:19:41 -08:00
Gregory Schier
135c366e32
Preserve Editor State ( #151 )
2024-12-31 07:31:43 -08:00
Gregory Schier
ec999015ab
Fixed the circular imports and things
2024-12-20 23:49:15 -08:00
Gregory Schier
2ca30bcb31
Fix Codemirror undo history
2024-10-09 12:00:52 -07:00
Gregory Schier
101b6284d6
[WIP] Refactor to NPM workspaces ( #104 )
2024-09-22 21:27:10 -07:00
Gregory Schier
2951023ee8
Fix all lint errors
2024-09-16 08:36:02 -07:00
Gregory Schier
fdc60445c8
Better content-type detection for editor
2024-08-29 06:07:31 -07:00
Gregory Schier
f967820f12
Model and DB refactor ( #61 )
...
- [x] Move from `sqlx` to `rusqlite`
- [x] Generate TS types from Rust models
2024-08-05 07:58:20 -07:00
Gregory Schier
3c12b14572
Refactor gRPC reflection!
2024-06-20 12:49:58 -07:00
Gregory Schier
4c5087659b
Theme system refactor ( #31 )
2024-05-21 17:56:06 -07:00
Gregory Schier
ad890e01b0
Got json-schema autocomplete working again
2024-02-24 16:22:22 -08:00
Gregory Schier
5bd2d0959a
Proto files off model
2024-02-24 14:16:58 -08:00
Gregory Schier
d953a75073
Render gRPC message body
2024-02-18 00:14:26 -08:00
Gregory Schier
d274b85db1
Combine grpc handlers, fix duplicate
2024-02-10 10:41:45 -08:00
Gregory Schier
9f54eb77a0
gRPC Support ( #20 )
2024-02-09 05:01:00 -08:00