mirror of
https://github.com/langgenius/dify.git
synced 2026-08-31 04:53:19 +08:00
- Introduced a new custom hook to manage the state of the variable modal, encapsulating logic for handling variable types, values, and validation. - Created helper functions for formatting and validating variable data, improving modularity and reusability. - Added new components for rendering variable modal sections, enhancing the user interface and user experience. - Implemented comprehensive unit tests for the new hook and helpers to ensure functionality and correctness. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| array-bool-list.tsx | ||
| array-value-list.tsx | ||
| bool-value.tsx | ||
| object-value-item.tsx | ||
| object-value-list.tsx | ||
| use-variable-modal-state.ts | ||
| variable-item.tsx | ||
| variable-modal-trigger.tsx | ||
| variable-modal.helpers.ts | ||
| variable-modal.sections.tsx | ||
| variable-modal.tsx | ||
| variable-type-select.tsx | ||