Commit 7af9308
feat: enhance UI components, improve error handling, and add routing rule management (#1394)
* build: Optimize the styles of some tables, adapt to backend changes, format the code, and package it
* chore: remove PR_DESCRIPTION.md file as it is no longer needed
* fix: update routing rule handling
updated routing rule handling to use constants for HTTP status codes in various components.
* build: build & format
* feat: enhance error handling and data loading in various components
- Added a silent error handling mechanism for specific URLs in the HTTP request module to suppress error messages.
- Refactored data loading logic in sceneConfig.vue to load configuration data based on the selected tab, improving user experience.
- Updated YAMLView.vue and other components to remove unused button code and optimize imports, enhancing code clarity and maintainability.
- Improved error handling in routingRule and dynamicConfig components to ensure better user feedback and debugging.
* feat: add new components and enhance YAML and XML editing capabilities
- Introduced new JavaScript files for YAML and XML syntax highlighting and editing.
- Added components for updating YAML configurations with structured editor interfaces.
- Updated index.html to reference new JavaScript bundles for improved functionality.
- Enhanced error handling and logging in various components for better debugging.
- Removed unused code and optimized imports in YAMLView and related components.
* feat: enhance UI components and improve error handling
- Added global styles for clickable links in tables to improve user interaction.
- Updated routing logic to utilize a dynamic header parameter key for better flexibility.
- Enhanced error handling in HTTP requests to suppress messages for specific URLs.
- Improved internationalization by adding new translation keys for 'Ready Time' in both English and Chinese.
- Refactored various components to optimize code structure and maintainability, including updates to YAML and form views.
- Adjusted table and form layouts for better responsiveness and user experience.
* refactor: streamline component code and enhance condition handling
- Simplified iframe rendering in GrafanaPage.vue for improved readability.
- Added checks in ConfigModel.ts to skip undefined keys in matches and parameters.
- Optimized YAMLView.vue by condensing MonacoEditor properties for better clarity.
- Cleared default request and address matching arrays in formView.vue for cleaner initialization.
- Enhanced condition parsing and merging logic in updateByFormView.vue to improve maintainability and readability.
* build: build admin
* fix: improve error handling and UI updates in GrafanaPage and sceneConfig components
- Added conditional checks in GrafanaPage.vue to ensure valid baseURL before constructing the Grafana URL.
- Enhanced iframe loading logic to prevent errors when accessing undefined elements.
- Updated service.vue to handle potential undefined values in versionGroups, ensuring robust data handling.
- Refactored sceneConfig.vue to improve the user experience by adding a conditional rendering for parameter routes, including a message for empty configurations and a button for adding new routes.
* refactor: Request to update the Grafana URL
* build: build
* ♻️ refactor: update route parameters to include name and make pathId/appName optional
Update routing structure across instance and traffic management views to:
- Add :name parameter to routes for better identification
- Make :pathId and :appName optional parameters (with ?)
- Affects instance detail, monitor, link tracking, and configuration tabs
- Updates dynamic config, routing rule, and tag rule views accordingly
This change provides more flexible routing and better resource identification.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* ✨ feat(routing): add routing rule list component and composable
Add new RoutingRuleList component and useRoutingRule composable to manage routing rule configurations. Updates addByFormView and updateByFormView to integrate with the new components.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* build: format & build
* ✨ feat(routing): enhance routing rule form with comprehensive i18n support
Enhance routing rule form functionality with improved internationalization,
user interface refinements, and better form handling.
- Add comprehensive i18n translations for routing rule fields
- Improve form layout and field descriptions
- Enhance routing rule list component with better UX
- Refactor routing rule composable for better maintainability
- Update tab header slots for improved navigation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* build: format & build
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent b5da1d0 commit 7af9308
170 files changed
Lines changed: 1977 additions & 2917 deletions
File tree
- app/dubbo-ui/dist/admin
- assets
- ui-vue3/src
- base/i18n
- components
- layout/tab
- router
- types
- views
- resources
- applications/tabs
- instances
- slots
- tabs
- services/tabs
- traffic
- dynamicConfig
- tabs
- routingRule
- components
- composables
- slots
- tabs
- tagRule
- tabs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments