Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

refactor(ui): drop redundant comments in harness view

hairyf823a42a8049a
diff --git a/src/components/harness-view.tsx b/src/components/harness-view.tsx
index 318f15eb..733d1463 100644
--- a/src/components/harness-view.tsx
+++ b/src/components/harness-view.tsx
@@ -80,13 +80,6 @@ export default function HarnessView({
<main className="relative flex-1 bg-canvas">
{serviceHealthy
? (
- // 底色用 load-bg 与官方 boot 页一致,交接瞬间无闪白
- // allow="all":dsh 页面与外壳跨源,Permissions Policy 的 clipboard-write
- // 默认 allowlist 仅 self,跨源 iframe 里 navigator.clipboard.writeText()
- // 会抛 NotAllowedError(dsh 的复制按钮/JSON 复制均依赖它,控制台报
- // "Permissions policy violation: The Clipboard API has been blocked")。
- // 这里不做白名单限制,直接放行全部策略特性(同禁用拖拽的
- // disable_drag_drop_handler 一样,是外壳层面对 WebView2 默认行为的修正)。
<iframe
key={iframeKey}
className="block h-full w-full border-none bg-load-bg"
@@ -99,7 +92,6 @@ export default function HarnessView({
/>
)
: (
- // 服务未就绪前的加载遮罩,与官方 boot 页同款视觉
<div className="absolute inset-0 z-[1]">
<Loadable subtitle={t('status.loading')} />
</div>