Feat/1.0.0 - #15
Merged
Merged
Feat/1.0.0#15
Conversation
refactor!: remove feature-gate migration scripts for EE functionality BREAKING CHANGE: Removes all temporary Python patch scripts that were used to migrate v-if conditions to greyed-out UI elements with upgrade prompts for enterprise features. The following patch scripts have been removed: - _patch_ee_gate_migrate.py: Migration for workflow DAG engine and approval flow features in home/index.vue and WorkflowList.vue - _patch_home_final.py: Migration for approval section and schedule features in home/index.vue - _patch_home_i18n_2.py: i18n path fixes and ElMessageBox import corrections - _patch_pilot_canary_final.py: Feature gate implementation for OPS_PILOT_CANARY across multiple components All feature gating functionality has been permanently integrated into the Vue components with unified EE upgrade prompts and consistent greyscale masking patterns. ```
feat: add edition lock pages and feature guards to multiple components - Replace v-if conditions with EditionLockedPage component wrapper - Add edition store imports to check feature availability before mounting - Implement early return in onMounted lifecycle hooks when features are not available - Apply edition locked page to inspection, knowledge, ops approval, script approval, security check, supervisor install configs/policies/templates, task center, ticket center, tools center, and workflow approval components ```
feat(i18n): add internationalization support for edition locked pages - Add translation keys for EditionLockedPage component in en, zh-cn, and zh-tw locales - Include translations for subtitle, buttons, default labels, and highlight texts - Add specific page labels for various enterprise features like ticket center, inspection center, knowledge base, task management, etc. - Update EditionLockedPage component to use i18n for all static text elements including subtitle, back button, upgrade button, and toast message - Replace hardcoded Chinese text with t() function calls for proper internationalization - Add useI18n composable import and usage in EditionLockedPage - Update multiple view components to pass translated labels instead of hardcoded strings to EditionLockedPage component - Add i18n global access in program install views where needed ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist
Screenshots (if appropriate)
Additional context
Add any other context about the pull request here.