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 |
| .. |
|
__tests__
|
refactor(json): Consolidate JSON utilities and type definitions
|
2025-04-09 09:20:02 +08:00 |
|
ui
|
merge main
|
2025-04-03 00:47:21 +05:30 |
|
ConsoleTab.tsx
|
init client
|
2024-10-07 16:28:05 -07:00 |
|
DynamicJsonForm.tsx
|
refactor(json): Consolidate JSON utilities and type definitions
|
2025-04-09 09:20:02 +08:00 |
|
History.tsx
|
Use copy button insde JSON view component
|
2025-04-02 10:39:39 -03:00 |
|
JsonEditor.tsx
|
refactor: JsonEditor
|
2025-03-28 15:16:17 +09:00 |
|
JsonView.tsx
|
refactor(json): Consolidate JSON utilities and type definitions
|
2025-04-09 09:20:02 +08:00 |
|
ListPane.tsx
|
feat: Add button to clear loaded items
|
2024-12-01 09:50:53 +01:00 |
|
OAuthCallback.tsx
|
Linting
|
2025-02-23 15:15:28 +00:00 |
|
PingTab.tsx
|
Fix inconsistent gap between TabsList and TabsContent
|
2025-04-04 22:39:55 +09:00 |
|
PromptsTab.tsx
|
Fix inconsistent gap between TabsList and TabsContent
|
2025-04-04 22:39:55 +09:00 |
|
ResourcesTab.tsx
|
Fix inconsistent gap between TabsList and TabsContent
|
2025-04-04 22:39:55 +09:00 |
|
RootsTab.tsx
|
Fix inconsistent gap between TabsList and TabsContent
|
2025-04-04 22:39:55 +09:00 |
|
SamplingTab.tsx
|
Fix inconsistent gap between TabsList and TabsContent
|
2025-04-04 22:39:55 +09:00 |
|
Sidebar.tsx
|
add label to configItem, use that in UI
|
2025-04-09 01:24:41 +05:30 |
|
ToolsTab.tsx
|
refactor(json): Consolidate JSON utilities and type definitions
|
2025-04-09 09:20:02 +08:00 |