dify/web/app/components/goto-anything
yyh 2c2d63f4bc
refactor: centralize action keys and internationalization mappings
- 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.
2025-12-27 14:54:01 +08:00
..
actions refactor: centralize action keys and internationalization mappings 2025-12-27 14:54:01 +08:00
command-selector.spec.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
command-selector.tsx refactor: centralize action keys and internationalization mappings 2025-12-27 14:54:01 +08:00
constants.ts refactor: centralize action keys and internationalization mappings 2025-12-27 14:54:01 +08:00
context.spec.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
context.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.spec.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.tsx refactor: centralize action keys and internationalization mappings 2025-12-27 14:54:01 +08:00