feat(web): protect phone data and polish release UI

This commit is contained in:
Codex
2026-07-30 20:16:50 +08:00
parent 6ec8e4f6a6
commit d60cff1dd8
19 changed files with 800 additions and 396 deletions
@@ -80,6 +80,7 @@ describe('Settings instances page', () => {
it('is explicitly unavailable without an injected fleet source', () => {
render(<InstanceSettingsPage />);
expect(screen.getByRole('heading', { name: '实例' })).toBeTruthy();
expect(screen.queryByText('配置此工作区可用的 SimAdmin 实例。')).toBeNull();
expect(screen.getByRole('status', { name: '实例不可用' }).textContent).toMatch(
/未提供实例总览数据源/i,
);
@@ -203,7 +203,6 @@ export function InstanceSettingsPage({
<h1 id="settings-instances-title">
<Title color="app-green">实例</Title>
</h1>
<p>配置此工作区可用的 SimAdmin 实例。</p>
</div>
<a href="/instances/new">添加实例</a>
</header>