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 |
|
NicolasMontone
|
5db5fc26c7
|
fix prettier
|
2025-04-02 10:42:52 -03:00 |
|
NicolasMontone
|
8b31f495ba
|
fix unkown type.
|
2025-04-02 10:41:33 -03:00 |
|
NicolasMontone
|
c964ff5cfe
|
Use copy button insde JSON view component
|
2025-04-02 10:39:39 -03:00 |
|
NicolasMontone
|
539de0fd85
|
add copy button
|
2025-04-01 17:18:40 -03:00 |
|
cgoing
|
18ca6e28a7
|
Use <pre> tag inside JsonView component for consistency
|
2025-03-27 12:55:36 +09:00 |
|
cgoing
|
2d252a389c
|
Remove escapeUnicode function from ToolsTab.tsx
|
2025-03-27 11:42:39 +09:00 |
|
cgoing
|
e6f5da8383
|
Improve JsonView component styling and change to use JsonView in PromptsTab
|
2025-03-27 10:49:37 +09:00 |
|
cgoing
|
03c1ba3092
|
Change JsonView default initialExpandDepth from 2 to 3
|
2025-03-26 00:11:07 +09:00 |
|
cgoing
|
2588f3aeb3
|
Change tooltip title from Korean to English
|
2025-03-26 00:02:10 +09:00 |
|
cgoing
|
d204dd6e7e
|
feat: json view component - dark color
|
2025-03-25 01:56:53 +09:00 |
|
cgoing
|
f0b28d4760
|
feat: json view component
|
2025-03-25 01:48:29 +09:00 |
|