mirror of
https://github.com/langgenius/dify.git
synced 2026-04-18 20:58:04 +08:00
- Introduced a new `constants.ts` file to centralize action keys and i18n mappings for slash commands and scope actions. - Updated `command-selector` and various action files to utilize the new constants for improved maintainability and readability. - Removed hardcoded strings in favor of the new mappings, ensuring consistency across the application. |
||
|---|---|---|
| .. | ||
| actions | ||
| command-selector.spec.tsx | ||
| command-selector.tsx | ||
| constants.ts | ||
| context.spec.tsx | ||
| context.tsx | ||
| index.spec.tsx | ||
| index.tsx | ||