feat(contextualGuides): add multiple contextual guide components for agent and knowledge base creation

- Introduced new components: AgentCreateContextualGuide, KbCreateContextualGuide, TenantModelsGuide, and SpotlightGuide to enhance user onboarding.
- Implemented dynamic step configurations for each guide, allowing tailored user experiences based on context.
- Enhanced the existing NewUserGuide component to utilize the new SpotlightGuide for improved visual guidance.
- Updated localization files to include new strings for contextual guides, ensuring a comprehensive user experience across languages.
- Refactored existing components to integrate with the new guide system, improving maintainability and user interaction.
This commit is contained in:
wizardchen
2026-06-03 14:41:12 +08:00
committed by lyingbug
parent 291d72565f
commit f4af9cca97
22 changed files with 2483 additions and 579 deletions
@@ -7,7 +7,7 @@
<div class="settings-group">
<!-- LLM 大语言模型 -->
<div class="setting-row">
<div class="setting-row" data-guide="kb-create-llm">
<div class="setting-info">
<label>{{ $t('knowledgeEditor.models.llmLabel') }} <span class="required">*</span></label>
<p class="desc">{{ $t('knowledgeEditor.models.llmDesc') }}</p>
@@ -26,7 +26,7 @@
</div>
<!-- Embedding 嵌入模型 (仅 RAG 检索启用时必填) -->
<div v-if="ragEnabled !== false" class="setting-row">
<div v-if="ragEnabled !== false" class="setting-row" data-guide="kb-create-embedding">
<div class="setting-info">
<label>{{ $t('knowledgeEditor.models.embeddingLabel') }} <span v-if="ragEnabled" class="required">*</span></label>
<p class="desc">{{ $t('knowledgeEditor.models.embeddingDesc') }}</p>