Remove the API relay link and the ESP32 device feature
Two pieces of upstream promotion came out of this deployment. The sidebar "apiRelay" tab only opened a registration page on a third-party site, so it goes with no replacement. The circuit badge next to Settings was not what it looked like. It opened an ESP32 device manager: add a device, show LAN status, remote connect/disconnect, rename, delete, backed by six REST routes and an mcu_devices table. The purchase button inside that dialog was the promotional part; the rest was real device management. Since the hardware is out of scope here, the entire feature is removed rather than just the link that pointed upstream - UI entry, client API, routes, controller, store, schema, locale strings, and the one GlobalAgentServer method that only existed to answer its status column. Table creation is dropped but no DROP TABLE was added, so an already-provisioned database keeps its rows as harmless orphans instead of losing data on upgrade. DevicesView and the hermes.devices route are untouched: that is LAN device discovery, a separate feature. AGENTS.md now records the removal so the badge does not come back.
This commit is contained in:
@@ -45,13 +45,7 @@
|
||||
- **位置**:`packages/client/src/views/hermes/WorkflowView.vue`,`showWorkflowBatchDeleteConfirm`
|
||||
- **证据**:naive 的 `NPopconfirm v-model:show` 需要它;Arco 的 `a-popconfirm` 无 `show` prop 后它失去读取方,只剩写。关闭改由 `@ok`/`@cancel` 驱动
|
||||
|
||||
### 6. 两个弹窗共用一个 saving ref
|
||||
|
||||
- **现象**:新增设备弹窗与改名弹窗同时存在时,按钮的 loading/disabled 会互相干扰
|
||||
- **位置**:`packages/client/src/components/layout/SettingsCircuitBadge.vue`
|
||||
- **证据**:两个 modal 共用 `saving`。迁移前就是这样
|
||||
|
||||
### 7. ProfileCreateModal 有两个重复的 style 块
|
||||
### 6. ProfileCreateModal 有两个重复的 style 块
|
||||
|
||||
- **现象**:无功能影响
|
||||
- **位置**:`packages/client/src/components/hermes/profiles/ProfileCreateModal.vue`
|
||||
@@ -154,7 +148,7 @@
|
||||
|
||||
### 表格列的省略与 tooltip
|
||||
|
||||
- **文件**:`SettingsCircuitBadge.vue`、`UserManagementSettings.vue`
|
||||
- **文件**:`UserManagementSettings.vue`
|
||||
- **备注**:naive 的 `ellipsis: { tooltip: true }` → Arco 的 `ellipsis: true` + 列顶层 `tooltip: true`
|
||||
- **需确认**:长文本省略后悬浮能显示完整内容
|
||||
|
||||
@@ -167,7 +161,7 @@
|
||||
### 弹窗的遮罩/ESC 行为
|
||||
|
||||
- **风险**:Arco 默认 `maskClosable` 和 `escToClose` 都是 `true`。用户填了一半的表单按 ESC 或点遮罩会**直接丢弃且不重置**
|
||||
- **涉及**:`VoiceApiFormModal.vue`、`VoiceApiConfigurator.vue`、`SettingsCircuitBadge.vue` 的设备面板
|
||||
- **涉及**:`VoiceApiFormModal.vue`、`VoiceApiConfigurator.vue`
|
||||
- **需确认**:是否应该设 `:mask-closable="false"` / `:esc-to-close="false"`
|
||||
|
||||
### 模型选择弹窗(ProviderFormModal)
|
||||
|
||||
Reference in New Issue
Block a user