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 |
|
Ola Hungerford
|
fa3e2867c9
|
Fix formatting
|
2025-03-24 09:07:53 -07:00 |
|
Ola Hungerford
|
5735f2347a
|
Add tests related to issues/187 to confirm fixed
|
2025-03-24 08:52:45 -07:00 |
|
Ola Hungerford
|
cab1ed3dd8
|
Add some json form tests and handle css in ui tests
|
2025-03-24 08:28:28 -07:00 |
|