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:
@@ -15,6 +15,8 @@
|
||||
<!-- 全局右上角"待处理邀请"铃铛。固定定位,z-index 低于抽屉,业务页面
|
||||
右侧抽屉弹出时会自然覆盖;仅在有待处理邀请时渲染。 -->
|
||||
<GlobalInvitationBell />
|
||||
<!-- 带遮罩层的新手引导:首次进入自动开启,可从用户菜单重新打开 -->
|
||||
<NewUserGuide />
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@@ -26,6 +28,7 @@ import UploadMask from '@/components/upload-mask.vue'
|
||||
import Settings from '@/views/settings/Settings.vue'
|
||||
import GlobalCommandPalette from '@/components/GlobalCommandPalette.vue'
|
||||
import GlobalInvitationBell from '@/components/GlobalInvitationBell.vue'
|
||||
import NewUserGuide from '@/components/NewUserGuide.vue'
|
||||
import { useCommandPaletteStore } from '@/stores/commandPalette'
|
||||
import { getKnowledgeBaseById } from '@/api/knowledge-base/index'
|
||||
import { MessagePlugin } from 'tdesign-vue-next'
|
||||
|
||||
Reference in New Issue
Block a user