feat(dashboard-ks-extension): migrate framework entry and utilities #5250
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.
Prerequisite: Please merge the PR #5248 first.
Ⅰ. Describe what this PR does
This PR migrates the core framework, entry files and utility modules from the fluid-ks-extension. The specific migration content includes:
Note that specific pages (pages/) and business logic are not migrated in this PR. This change introduces the basic framework, internationalization, routing, main entry and utility modules of Fluid Extension.
Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
No new test cases are added in this PR. The migration primarily involves core framework, entry files and common utilities without introducing new business logic.
Ⅳ. Describe how to verify it
Obtain the access address of the KubeSphere API Server (i.e., the IP and port of ks-apiserver)
Open or create the local_config.yaml file in the configs directory and add the following configuration (replace the example URL with your actual KubeSphere API Server address):
Due to the absence of specific pages (such as datasets, runtimes, dataloads, etc.), some route and component references may cause compilation or runtime errors (e.g., "module not found"). This is an expected phenomenon that will be fixed in subsequent PRs for page migration.
Ⅴ. Special notes for reviews