feat(tour): implement new user guide component and integrate into user menu

- Added a NewUserGuide component to provide a guided tour for new users.
- Integrated the guide into the UserMenu for easy access, allowing users to reopen the guide at any time.
- Updated localization files to include new strings for the user guide steps and actions.
- Enhanced the menu item for the user button to include a data attribute for better accessibility.

This feature aims to improve user onboarding and enhance the overall user experience by providing contextual help throughout the application.
This commit is contained in:
wizardchen
2026-06-03 00:31:39 +08:00
committed by lyingbug
parent 09a8607cd4
commit baef12e682
9 changed files with 731 additions and 48 deletions
+1 -1
View File
@@ -66,7 +66,7 @@
:key="index">
<t-tooltip :content="item.title" placement="right" :disabled="!uiStore.sidebarCollapsed">
<div @click="handleMenuClick(item.path)" @mouseenter="mouseenteMenu(item.path)"
@mouseleave="mouseleaveMenu(item.path)"
@mouseleave="mouseleaveMenu(item.path)" :data-guide="`nav-${item.path}`"
:class="['menu_item', item.childrenPath && item.childrenPath == currentpath ? 'menu_item_c_active' : isMenuItemActive(item.path) ? 'menu_item_active' : '']">
<div class="menu_item-box">
<div class="menu_icon">