feat(web): add account workspaces and signed content flows

This commit is contained in:
justme committed 2026-10-14 04:06:03 +08:00
1 parent 7b8d61d1ba
commit b5cf3d5958
117 files changed
+2789 -1674

No files matched your search

+2 -1
View File
@@ -31,6 +31,7 @@ export function ChannelList({ kind, title, onOpen }: Props) {
<button type="button" className={styles.open} onClick={() => onOpen(c)}>
<span className={styles.id}>{'state' in c ? c.id.slice(0, 8) : c.name || c.id.slice(0, 8)}…</span>
<span className={styles.meta}>
{c.dataSource === 'cache' ? <span>离线缓存</span> : null}
{'state' in c ? (
<>
<span className={styles.enc}><Icon name="lock" size={12} /> 加密</span>
@@ -45,7 +46,7 @@ export function ChannelList({ kind, title, onOpen }: Props) {
{c.mode === 'enc' ? <><Icon name="lock" size={12} /> 加密</> : '明文'}
</span>
<span>{c.role === 'owner' ? '所有者' : '成员'}</span>
<span>{c.seats} 台设备</span>
<span>最多 {c.seats} 人</span>
<span>{formatAgo(c.createdAt)}创建</span>
</>
)}