Mats Julius Funke
fda879ccc1
ci: added test for the DynamicJsonForm
2025-08-04 09:32:24 +02:00
Mats Julius Funke
cc3f9df33c
fix: fix type error by handling array of types in JSON schema validation
2025-08-04 09:26:24 +02:00
Ola Hungerford
144755b369
Merge branch 'main' into feature/elicitations
2025-07-23 21:50:48 -07:00
Ola Hungerford
7ff70e15b0
Merge branch 'main' into fveiras/copy_json
2025-07-07 04:59:31 -07:00
Francisco Veiras
9842a6278a
fix: Copy JSON button form submission
2025-07-06 12:08:20 -03:00
Alex Andru
efd5f8a17c
feat: enum support in dynamic json form
2025-07-04 19:45:55 +02:00
Alex Andru
19ff315dd1
Merge branch 'origin/main' into feature/elicitations
...
Resolved conflicts by adopting the improved form input handling from main:
- Standardized JsonSchemaType.required to only accept string arrays (JSON Schema standard)
- Adopted enhanced object and array rendering with proper nested support
- Improved boolean field rendering (removed extra wrapper div)
- Enhanced array handling with add/remove functionality
- Simplified required field validation logic
This maintains elicitation functionality while benefiting from the form input fixes.
2025-07-03 16:14:21 +02:00
Francisco Veiras
d6864b8c71
feat: add copy JSON value
2025-06-27 17:30:30 -03:00
Alex Andru
e6166a734e
feat: add new schema requirements to DynamicJsonForm
2025-06-19 17:39:19 +02:00
olaservo
0a1de24fdf
Fix formatting
2025-06-01 21:05:33 -07:00
olaservo
3475670f1d
Incorporate nested logic again
2025-06-01 20:53:17 -07:00
olaservo
990bc0f7fd
Fix formatting
2025-06-01 15:41:30 -07:00
olaservo
b555e41c0b
Address the schema architecture crisis
2025-06-01 09:03:02 -07:00
Nathan Arseneau
29b465fe45
Merge branch 'main' into sampling-form
2025-04-22 22:07:37 -04:00
Nathan Arseneau
5696c19df9
Merge branch 'main' into sampling-form
2025-04-15 21:54:04 -04:00
Maxwell Gerber
2e8cc56744
Merge remote-tracking branch 'theirs/main' into max/default-tool-json
2025-04-11 15:36:25 -07:00
Maxwell Gerber
3e95d9d42a
pr feedback: Only use form if object is simple
2025-04-11 15:34:41 -07:00
yushengchen
fe74dbea74
refactor(json): Consolidate JSON utilities and type definitions
...
Modified files:
- client/src/components/DynamicJsonForm.tsx
- client/src/components/JsonView.tsx
- client/src/components/ToolsTab.tsx
- client/src/components/__tests__/DynamicJsonForm.test.tsx
- client/src/utils/__tests__/jsonPathUtils.test.ts → client/src/utils/__tests__/jsonUtils.test.ts
- client/src/utils/__tests__/schemaUtils.test.ts
- client/src/utils/jsonPathUtils.ts → client/src/utils/jsonUtils.ts
- client/src/utils/schemaUtils.ts
Descriptions:
- Move JSON type definitions from DynamicJsonForm to centralized jsonUtils
- Consolidate utility functions (getDataType, tryParseJson) into jsonUtils
- Rename jsonPathUtils to jsonUtils for better semantic clarity
- Add comprehensive test coverage for new utility functions
- Update imports across all affected components
- Improve type references consistency throughout the codebase
2025-04-09 09:20:02 +08:00
Maxwell Gerber
4bc44c4d19
fix: When tool type cannot be determined, use DynamicJsonForm
2025-04-08 15:05:57 -07:00
Nathan Arseneau
71bb89ddf2
create sampling response form
2025-04-05 18:36:57 -04:00
cgoing
8180b0bd6f
refactor: JsonEditor
2025-03-28 15:16:17 +09:00
Ola Hungerford
e1b015e40d
Add comments explaining extra parsing logic
2025-03-16 15:28:07 -07:00
Ola Hungerford
00836dbf9e
Fix formatting
2025-03-04 20:55:57 -07:00
Ola Hungerford
f9b105c0ef
Use debounce instead
2025-03-04 20:54:13 -07:00
Ola Hungerford
06773bb6dd
Fix formatting
2025-02-28 09:13:33 -07:00
Ola Hungerford
b01e386659
Always use JSON mode if the schema type is object and has no properties
2025-02-28 09:06:51 -07:00
Ola Hungerford
82bbe58a46
Fix formatting
2025-02-27 22:08:04 -07:00
Ola Hungerford
44982e6c97
Default to nulls and update tests
2025-02-27 21:33:37 -07:00
Ola Hungerford
238c22830b
Fix formatting
2025-02-27 07:21:04 -07:00
Ola Hungerford
426fb87640
Remove comment ans trigger workflow run
2025-02-27 07:15:31 -07:00
Ola Hungerford
0b105b29c1
Extract functions
2025-02-26 19:55:01 -07:00
Ola Hungerford
0e29e2c1cf
Resolve issues where JSON fields are not being rendered in form mode
2025-02-26 19:34:33 -07:00
Ola Hungerford
592dacad39
Start adding changes to address json fields
2025-02-26 09:50:47 -07:00
kshern
8267e514ce
fix: prettier write
2025-02-25 00:09:04 +08:00
kshern
18438dbdd0
feat: add error handling
2025-02-24 02:52:17 +08:00
kshern
07577fc94b
feat:toolsbar add array support
2025-02-24 02:36:52 +08:00
Ola Hungerford
133b785f79
Fix formatting
2025-02-14 07:33:37 -07:00
Ola Hungerford
4b3bb5f34e
Add description to array input fields
2025-01-29 11:36:10 -07:00
Ola Hungerford
a4469f7895
Add draft version of enhanced object input editing
2025-01-27 21:05:11 -07:00