feat: Add Chat Widget and Init Service Chooser components

- Implemented ChatWidget component for real-time chat functionality with socket integration.
- Added InitServiceChooser component for selecting services with manual token input and auto-authorization.
- Updated settings and data provider to support local development with localhost.
- Enhanced settings page with Classworks KV card and improved styles.
- Introduced debug socket page for monitoring connection status and device interactions.
- Refactored socket client utility for better connection management and event handling.
- Added glow highlight effect in styles for UI enhancements.
This commit is contained in:
SunWuyuan
2025-10-25 17:10:20 +08:00
parent b9efaee7ee
commit a2b0cc9e08
20 changed files with 1790 additions and 476 deletions
+2 -3
View File
@@ -72,9 +72,9 @@
md="6"
>
<v-card>
<v-card-title>KvInitialize 预览</v-card-title>
<v-card-title>初始化组件已替换</v-card-title>
<v-card-text>
<kv-initialize />
已迁移为首页内联的 InitServiceChooser 组件。
</v-card-text>
</v-card>
</v-col>
@@ -84,7 +84,6 @@
<script setup>
import { ref, computed } from 'vue'
import KvInitialize from '@/components/KvInitialize.vue'
import { getSetting, setSetting } from '@/utils/settings'
import { kvServerProvider } from '@/utils/providers/kvServerProvider'