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
..
2026-01-09 16:16:08 -08:00
2026-01-05 13:28:41 -08:00
2025-11-23 08:38:13 -08:00
2025-12-29 11:00:46 -08:00
2026-01-07 15:10:33 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2026-01-04 08:36:22 -08:00
2025-11-23 08:38:13 -08:00
2025-09-22 14:07:25 -07:00
2025-12-28 08:07:42 -08:00
2026-01-04 20:10:11 -08:00
2025-03-31 11:56:17 -07:00
2025-05-08 14:10:07 -07:00
2025-05-08 14:10:07 -07:00
2024-12-31 23:24:41 -08:00
2025-10-26 12:05:03 -07:00
2026-01-05 13:28:41 -08:00
2025-11-23 08:38:13 -08:00
2026-01-05 14:58:16 -08:00
2026-01-09 16:16:08 -08:00
2025-11-23 08:38:13 -08:00
2025-05-13 11:38:02 -07:00
2026-01-04 08:36:22 -08:00
2025-10-31 09:16:29 -07:00
2025-10-26 12:05:03 -07:00
2025-11-23 08:38:13 -08:00
2025-12-28 13:53:43 -08:00
2025-11-23 08:38:13 -08:00
2025-10-15 13:46:57 -07:00
2025-12-20 14:10:55 -08:00
2026-01-01 09:32:48 -08:00
2025-11-23 08:38:13 -08:00
2025-11-25 08:45:33 -08:00
2025-03-18 05:34:38 -07:00
2025-10-24 14:39:25 -07:00
2026-01-04 08:36:22 -08:00
2026-01-10 14:57:28 -08:00
2025-11-23 08:38:13 -08:00
2026-01-05 14:58:16 -08:00
2026-01-04 08:36:22 -08:00
2025-12-20 14:10:55 -08:00
2025-12-05 09:15:48 -08:00
2025-11-26 11:01:13 -08:00
2025-11-23 08:38:13 -08:00
2026-01-05 14:58:16 -08:00
2026-01-05 14:58:16 -08:00
2025-12-28 08:07:42 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-05-16 07:53:22 -07:00
2026-01-04 08:36:22 -08:00
2025-12-09 13:51:02 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-11-26 11:22:10 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2024-06-04 02:56:52 -07:00
2025-11-23 08:38:13 -08:00
2024-12-19 05:57:40 -08:00
2025-11-23 08:38:13 -08:00
2025-10-29 14:58:56 -07:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-12-31 08:41:57 -08:00
2025-11-15 08:19:58 -08:00
2025-11-23 08:38:13 -08:00
2026-01-05 13:41:39 -08:00
2026-01-05 13:41:39 -08:00
2025-12-21 06:24:01 -08:00
2025-12-28 13:25:24 -08:00
2025-11-25 08:45:33 -08:00
2025-12-09 14:12:13 -08:00
2026-01-01 09:32:48 -08:00
2025-11-23 08:38:13 -08:00
2025-03-31 11:56:17 -07:00
2025-04-24 19:57:02 -07:00
2025-11-26 10:30:16 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2025-11-23 08:38:13 -08:00
2026-01-05 14:58:16 -08:00
2026-01-04 08:36:22 -08:00
2025-12-05 09:15:48 -08:00
2026-01-04 08:36:22 -08:00
2025-12-28 15:18:01 -08:00
2025-11-23 08:38:13 -08:00
2025-12-09 13:51:02 -08:00
2025-11-10 06:21:26 -08:00