惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
I
InfoQ
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
量子位
博客园 - 叶小钗
月光博客
月光博客
IT之家
IT之家
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
Vercel News
Vercel News
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: restore Skill Workshop view switcher · openclaw/open...
shakkernerd · 2026-06-02 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -217,6 +217,75 @@ function runUiTask<Args extends unknown[]>(

217217

};

218218

}

219219
220+

const SKILL_WORKSHOP_MODE_KEY = "openclaw:control-ui:skill-workshop-mode:v1";

221+
222+

export function loadSkillWorkshopMode(): "board" | "today" {

223+

try {

224+

const raw = getSafeLocalStorage()?.getItem(SKILL_WORKSHOP_MODE_KEY);

225+

return raw === "board" ? "board" : "today";

226+

} catch {

227+

return "today";

228+

}

229+

}

230+
231+

function setSkillWorkshopMode(state: AppViewState, mode: "board" | "today"): void {

232+

if (state.skillWorkshopMode === mode) {

233+

return;

234+

}

235+

state.skillWorkshopMode = mode;

236+

try {

237+

getSafeLocalStorage()?.setItem(SKILL_WORKSHOP_MODE_KEY, mode);

238+

} catch {

239+

// Mode persistence is a convenience; the in-memory switch still works.

240+

}

241+

}

242+
243+

function renderSkillWorkshopHeaderControls(state: AppViewState) {

244+

return html`

245+

<div class="sw-header-controls">

246+

<div

247+

class="sw-mode-switch"

248+

role="tablist"

249+

aria-label="Workshop view"

250+

data-mode=${state.skillWorkshopMode}

251+

>

252+

<button

253+

type="button"

254+

class="sw-mode-switch__opt ${state.skillWorkshopMode === "board" ? "is-active" : ""}"

255+

role="tab"

256+

aria-selected=${state.skillWorkshopMode === "board" ? "true" : "false"}

257+

title="Board view"

258+

@click=${() => setSkillWorkshopMode(state, "board")}

259+

>

260+

<svg viewBox="0 0 24 24" class="sw-mode-switch__icon" aria-hidden="true">

261+

<rect x="3" y="4" width="7" height="16" rx="1.5" />

262+

<rect x="14" y="4" width="7" height="9" rx="1.5" />

263+

<rect x="14" y="15" width="7" height="5" rx="1.5" />

264+

</svg>

265+

<span>Board</span>

266+

</button>

267+

<button

268+

type="button"

269+

class="sw-mode-switch__opt ${state.skillWorkshopMode === "today" ? "is-active" : ""}"

270+

role="tab"

271+

aria-selected=${state.skillWorkshopMode === "today" ? "true" : "false"}

272+

title="Today view"

273+

@click=${() => setSkillWorkshopMode(state, "today")}

274+

>

275+

<svg viewBox="0 0 24 24" class="sw-mode-switch__icon" aria-hidden="true">

276+

<circle cx="12" cy="12" r="4" />

277+

<path

278+

d="M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6l1.4 1.4M17 17l1.4 1.4M5.6 18.4 7 17M17 7l1.4-1.4"

279+

/>

280+

</svg>

281+

<span>Today</span>

282+

</button>

283+

<span class="sw-mode-switch__indicator" aria-hidden="true"></span>

284+

</div>

285+

</div>

286+

`;

287+

}

288+
220289

function renderSettingsSectionNav(state: AppViewState) {

221290

if (!isSettingsTab(state.tab)) {

222291

return nothing;

@@ -2246,6 +2315,9 @@ export function renderApp(state: AppViewState) {

22462315

<div class="page-sub">${subtitleForTab(state.tab)}</div>

22472316

</div>

22482317

<div class="page-meta">

2318+

${state.tab === "skillWorkshop"

2319+

? renderSkillWorkshopHeaderControls(state)

2320+

: nothing}

22492321

${state.tab === "dreams"

22502322

? html`

22512323

<div class="dreaming-header-controls">

@@ -3150,7 +3222,7 @@ export function renderApp(state: AppViewState) {

31503222

},

31513223

onFilePreviewQueryChange: (query) => (state.skillWorkshopFilePreviewQuery = query),

31523224

onQueueWidthChange: (width) => (state.skillWorkshopQueueWidth = width),

3153-

onModeChange: (mode) => (state.skillWorkshopMode = mode),

3225+

onModeChange: (mode) => setSkillWorkshopMode(state, mode),

31543226

onSelect: (key) => {

31553227

state.skillWorkshopFilePreviewKey = null;

31563228

selectSkillWorkshopProposal(state, key);