mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 00:33:20 +08:00
feat(office): mark connector as experimental
This commit is contained in:
parent
f12315e30d
commit
832bd539a2
5 changed files with 13 additions and 6 deletions
|
|
@ -9,6 +9,7 @@ const EN = Object.freeze({
|
|||
'IM 渠道': 'IM channels',
|
||||
'让 DeepSeek Harness 触手可及': 'DeepSeek Harness, always within reach',
|
||||
'AI Office': 'AI Office',
|
||||
'(实验功能)': '(Experimental)',
|
||||
'AI Office 设置': 'AI Office settings',
|
||||
'AI Office 设置页缺少 RPC 连接': 'AI Office settings are missing an RPC connection',
|
||||
'正在读取 AI Office Connector…': 'Loading AI Office Connector…',
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ const CHANNELS = Object.freeze([
|
|||
{ id: 'telegram', label: 'Telegram' },
|
||||
{ id: 'discord', label: 'Discord' },
|
||||
{ id: 'whatsapp', label: 'WhatsApp' },
|
||||
{ id: 'office', label: 'AI Office' },
|
||||
{ id: 'office', label: 'AI Office', note: '(实验功能)' },
|
||||
]);
|
||||
|
||||
function WeixinLogo() {
|
||||
|
|
@ -176,6 +176,7 @@ export function IMSettingsTab({
|
|||
h(ChannelLogo, { channel: channel.id }),
|
||||
h('span', { className: 'dim-channelCopy' },
|
||||
h('strong', null, channel.label),
|
||||
channel.note ? h('small', { className: 'dim-channelNote' }, channel.note) : null,
|
||||
)))),
|
||||
h('div', { className: 'dim-divider', 'aria-hidden': 'true' }),
|
||||
h('main', {
|
||||
|
|
|
|||
|
|
@ -52,8 +52,9 @@ const CSS = String.raw`
|
|||
.dim-logoSlack svg { width: 21px; height: 21px; }
|
||||
.dim-logoWhatsapp { color: white; background: #25d366; }
|
||||
.dim-logoWhatsapp svg { width: 21px; height: 21px; }
|
||||
.dim-channelCopy { min-width: 0; display: block; }
|
||||
.dim-channelCopy { min-width: 0; display: grid; }
|
||||
.dim-channelCopy strong { overflow: hidden; color: inherit; font-size: 14px; line-height: 20px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.dim-channelNote { overflow: hidden; color: var(--dsw-alias-label-tertiary, #8f959e); font-size: 10px; line-height: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.dim-divider { width: 1px; min-height: 520px; background: var(--dsw-alias-border-l1, #eef0f3); }
|
||||
.dim-panel { min-width: 0; container-type: inline-size; }
|
||||
.dim-panel .bxf-page, .dim-panel .dxw-page, .dim-panel .ddt-page, .dim-panel .dqq-page, .dim-panel .dwecom-page, .dim-panel .dsl-page, .dim-panel .dwa-page { width: 100%; max-width: none; padding: 0 0 24px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue