mirror of
https://github.com/langgenius/dify.git
synced 2026-08-30 04:23:20 +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__ | ||
| components | ||
| index.tsx | ||
| type.ts | ||
| utils.ts | ||