Skip to content

[Refactor] Async load all setting panels#3604

Merged
huchenlei merged 1 commit intomainfrom
setting_refactor2
Apr 24, 2025
Merged

[Refactor] Async load all setting panels#3604
huchenlei merged 1 commit intomainfrom
setting_refactor2

Conversation

@huchenlei
Copy link
Contributor

@huchenlei huchenlei commented Apr 24, 2025

The PR refactored the settings panel loading system to:

  1. Centralize panel management in useSettingUI composable
  2. Use a single dynamic approach with v-for and <Suspense> for all panels
  3. Load panels asynchronously with defineAsyncComponent
  4. Improve code organization and maintainability

This change makes the code more maintainable and improves initial load performance by loading panels only when needed.

┆Issue is synchronized with this Notion page by Unito

@huchenlei huchenlei requested a review from a team as a code owner April 24, 2025 16:57
@huchenlei huchenlei merged commit 26f98d2 into main Apr 24, 2025
10 checks passed
@huchenlei huchenlei deleted the setting_refactor2 branch April 24, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant