mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-03 14:16:03 +08:00
refactor(webui): move the Software Update card to Settings
The update card lived in the Log page sidebar; it belongs with the rest of configuration. Add it as the last section of the Settings section-rail (self-persisting, so groups: [] — outside the global save/dirty tracking) and drop it from the Log sidebar, which keeps its About links. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FAxVyRwrY7z5NotTtgnwVs
This commit is contained in:
@@ -13,6 +13,7 @@ import ConfigPlayer from '@/components/setting/config-player.vue';
|
||||
import ConfigLlm from '@/components/setting/config-llm.vue';
|
||||
import ConfigPasskey from '@/components/setting/config-passkey.vue';
|
||||
import ConfigSecurity from '@/components/setting/config-security.vue';
|
||||
import UpdateCard from '@/components/setting/update-card.vue';
|
||||
|
||||
definePage({
|
||||
name: 'Config',
|
||||
@@ -112,6 +113,15 @@ const sections: ConfigSection[] = [
|
||||
groups: ['security'],
|
||||
keywords: ['security', 'whitelist', 'ip', 'token', 'mcp'],
|
||||
},
|
||||
{
|
||||
id: 'update',
|
||||
titleKey: 'update.title',
|
||||
// 更新卡片自持久化(渠道/自动检查直接写回配置,apply/rollback 独立),
|
||||
// 不参与全局保存,故 groups 为空
|
||||
component: UpdateCard,
|
||||
groups: [],
|
||||
keywords: ['update', 'version', 'upgrade', 'release', 'rollback'],
|
||||
},
|
||||
];
|
||||
|
||||
// --- 搜索 ---
|
||||
|
||||
@@ -229,8 +229,6 @@ onDeactivated(() => {
|
||||
</div>
|
||||
|
||||
<div class="log-sidebar">
|
||||
<update-card />
|
||||
|
||||
<ab-container :title="$t('log.about')">
|
||||
<ul class="about-links">
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user