Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d6cda9cf4 | ||
|
|
7a2199c09f | ||
|
|
2f6047d9eb | ||
|
|
77170a987a |
No files matched your search
@@ -14,6 +14,25 @@
|
||||
> 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。
|
||||
> 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。
|
||||
|
||||
## v3.26.32(2026-11-22)CSS 合并(T2 第四批:顶层 chrome)
|
||||
|
||||
### 合并
|
||||
- `.iwb-canvas-topbar`:7 条基础规则 → **1 条**(保留 `left/right/background/border-bottom` 的 `!important` 与 `pointer-events:none`)。
|
||||
- `.iwb-home-grid`:4 条 → **1 条**(最终列宽 230px)。
|
||||
- 等价性校验:5623 条生效声明 0 差异;括号平衡。
|
||||
|
||||
### 测试
|
||||
- `page-chrome-regression` 两处源码钉改成正则:不再依赖旧值(300px 列宽、字面空格)。
|
||||
|
||||
## v3.26.31(2026-11-22)CSS 合并(T2 第三批)
|
||||
|
||||
### 合并
|
||||
- `.iwb-home-card-meta` 6 条 → 1。
|
||||
- `.iwb-home-card-foot` 4 条 → 1。
|
||||
- `.iwb-home-card-actions` 4 条 → 1。
|
||||
- `.iwb-mk-row` 2 条 → 1;`.iwb-mk-tag` 2 条 → 1。
|
||||
- 等价性校验:5623 条生效声明,0 差异;括号平衡。
|
||||
|
||||
## v3.26.30(2026-11-22)CSS 合并(T2 第二批)
|
||||
|
||||
### 合并
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 现状架构与性能事实基线(image-workbench-web)
|
||||
|
||||
> **本文档是什么**:现状**事实快照**,不是规范。用途:任何性能 / 内存 / 存储相关改动,先对齐这里的现实,避免把已经调好的东西改坏。
|
||||
> 日期 **2026-10-20**(**2026-11-16 复算 · v3.24.85**)| 基线(**最近一次 bump 版本的提交**,不是主干 HEAD)`main = 2e4a7aa`(线上 `v3.26.30+2e4a7aa` —— **未上线**(本地测试中):左右停靠栏配色对齐主色调(新增 `--iwb-dock-bg` 进灰阶 ramp + 头部深一档 + `.iwb-pcard` 补白底)+ 修 `Cargo.toml`/`Cargo.lock` 版本漂移,四处统一到 3.25.58)。上一条 3.25.30:线上实际运行提交是 docs 提交 `7df9dc4`,bump 提交为 `4be78c0`;2026-11-16 已发**测试站 + 正式站**,三地址一致 + `IWB_VERIFY_STRICT=1` 通过。v3.24.85 是「代码体检收口」(棘轮收回 Workbench 3090→2998 + 图库索引 4 条绕过锁的写路径收口到 `mutate` + 文档数字校准),`stable` / `stable-v3.24.85` / `stable-verified-2026-11-16` 均指向 `7df9dc4`。上一条 —— 2026-11-14 发**测试站 + 正式站** `https://test.image-workbench-web.pages.dev`:**v3.24.84 修「生图节点连了 3 条上游只出 1 个任务」**(任务 id 与去重基准改用新字段 `ownerNodeId`=本节点自己,不再用随继承冒泡的 `sourceNodeId` ⇒ 连几条线就几个任务;`relay` 仍归约到真实文本来源,同一来源多路径抵达只算一次)。上一条 v3.24.83:**修「插件节点冷启动退化成一段文本」**(插件节点体是异步注册的,`registerNodeType` 在 `render` 由无变有时自增 `NODE_TYPES_REV`,`NodeCard` 比它 ⇒ 注册那一刻重建一次;`canvas-normalize` 按命名规则把 `plugin:<id>:<variant>` 认作已知类型,不再降级成 `plugin` 并写回存档);配套插件 `style-source` 1.3.2 把节点体样式改为**脚本执行时注入**(此前只在面板 `mount()` 注入 ⇒ 从存档直接进画布时节点无样式、缩略图按原图铺满)。上一条 v3.24.82 同批:提示词/文本节点**显示上游继承文本**(自己 `data.text` 为空时把上游那段话显示在框里,改一个字即接管,另有「恢复跟随」清空回跟随;多路上游按 Y 轴取第一条)+ 修 `nodeRefsOf` 的 textout 分支只认 llm/batch/combine 上游导致「样式 → 文本 → 分层」丢参考图;再上一条 v3.24.81:① 插件节点可自定义节点体(`render(node, props, host)` 画真实 DOM,宿主不每帧重建 ⇒ 输入框不失焦);② 节点自带参考图(`data.refOn/refUrl` ⇒ 任务图里补伪参考图,坐标取节点自身 ⇒ 仍参与「图片按 X 轴排序」);③ 连线白名单按 `data.outKind === 'prompt'` 归一化,7 条规则一次放行,内置节点行为逐字不变。上一条 v3.24.80 = 离开页面的兜底保存不递增 rev(2026-11-14 07:20 补发 —— 首发 11-13 23:25 撞 Cloudflare Workers API 事故 `503 no healthy upstream`,期间正式站保持在 `v3.24.79+8598a57` 未动)。v3.24.83 的 bump 提交即 `0a27a42`(v3.24.82 为 `ef6cf42`、v3.24.81 为 `dba71e3`);主干 HEAD 会继续前进,见 [`RELEASES.md`](../RELEASES.md))| 历史分支 `refactor/architecture` / `feat/multi-canvas-tabs` / `refactor/state-store` 已于 2026-10-20 清理(内容均已并入 main,归档标签 `archive/*`),本文**计数类事实**已按 main HEAD 复算。
|
||||
> 日期 **2026-10-20**(**2026-11-16 复算 · v3.24.85**)| 基线(**最近一次 bump 版本的提交**,不是主干 HEAD)`main = 7a2199c`(线上 `v3.26.32+7a2199c` —— **未上线**(本地测试中):左右停靠栏配色对齐主色调(新增 `--iwb-dock-bg` 进灰阶 ramp + 头部深一档 + `.iwb-pcard` 补白底)+ 修 `Cargo.toml`/`Cargo.lock` 版本漂移,四处统一到 3.25.58)。上一条 3.25.30:线上实际运行提交是 docs 提交 `7df9dc4`,bump 提交为 `4be78c0`;2026-11-16 已发**测试站 + 正式站**,三地址一致 + `IWB_VERIFY_STRICT=1` 通过。v3.24.85 是「代码体检收口」(棘轮收回 Workbench 3090→2998 + 图库索引 4 条绕过锁的写路径收口到 `mutate` + 文档数字校准),`stable` / `stable-v3.24.85` / `stable-verified-2026-11-16` 均指向 `7df9dc4`。上一条 —— 2026-11-14 发**测试站 + 正式站** `https://test.image-workbench-web.pages.dev`:**v3.24.84 修「生图节点连了 3 条上游只出 1 个任务」**(任务 id 与去重基准改用新字段 `ownerNodeId`=本节点自己,不再用随继承冒泡的 `sourceNodeId` ⇒ 连几条线就几个任务;`relay` 仍归约到真实文本来源,同一来源多路径抵达只算一次)。上一条 v3.24.83:**修「插件节点冷启动退化成一段文本」**(插件节点体是异步注册的,`registerNodeType` 在 `render` 由无变有时自增 `NODE_TYPES_REV`,`NodeCard` 比它 ⇒ 注册那一刻重建一次;`canvas-normalize` 按命名规则把 `plugin:<id>:<variant>` 认作已知类型,不再降级成 `plugin` 并写回存档);配套插件 `style-source` 1.3.2 把节点体样式改为**脚本执行时注入**(此前只在面板 `mount()` 注入 ⇒ 从存档直接进画布时节点无样式、缩略图按原图铺满)。上一条 v3.24.82 同批:提示词/文本节点**显示上游继承文本**(自己 `data.text` 为空时把上游那段话显示在框里,改一个字即接管,另有「恢复跟随」清空回跟随;多路上游按 Y 轴取第一条)+ 修 `nodeRefsOf` 的 textout 分支只认 llm/batch/combine 上游导致「样式 → 文本 → 分层」丢参考图;再上一条 v3.24.81:① 插件节点可自定义节点体(`render(node, props, host)` 画真实 DOM,宿主不每帧重建 ⇒ 输入框不失焦);② 节点自带参考图(`data.refOn/refUrl` ⇒ 任务图里补伪参考图,坐标取节点自身 ⇒ 仍参与「图片按 X 轴排序」);③ 连线白名单按 `data.outKind === 'prompt'` 归一化,7 条规则一次放行,内置节点行为逐字不变。上一条 v3.24.80 = 离开页面的兜底保存不递增 rev(2026-11-14 07:20 补发 —— 首发 11-13 23:25 撞 Cloudflare Workers API 事故 `503 no healthy upstream`,期间正式站保持在 `v3.24.79+8598a57` 未动)。v3.24.83 的 bump 提交即 `0a27a42`(v3.24.82 为 `ef6cf42`、v3.24.81 为 `dba71e3`);主干 HEAD 会继续前进,见 [`RELEASES.md`](../RELEASES.md))| 历史分支 `refactor/architecture` / `feat/multi-canvas-tabs` / `refactor/state-store` 已于 2026-10-20 清理(内容均已并入 main,归档标签 `archive/*`),本文**计数类事实**已按 main HEAD 复算。
|
||||
<!-- 2026-10-28 P1 拆分批 1:新增 src/generation-task-graph.js(5 个任务图纯函数自 app.js 迁出)
|
||||
⇒ 模块数 60→61、耦合面 51→52、sourceModules 60→61。耦合面只**新增** IWBWTaskGraph,无删除。
|
||||
2026-10-28 P1 拆分批 2:新增 src/storage-config-shape.js(9 个配置形状纯函数自 app.js 迁出)
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "image-workbench-web",
|
||||
"private": true,
|
||||
"version": "3.26.30",
|
||||
"version": "3.26.32",
|
||||
"description": "Browser-based node canvas image workbench",
|
||||
"scripts": {
|
||||
"build": "node scripts/build.js && node scripts/copy-plugins.js",
|
||||
|
||||
@@ -54,13 +54,13 @@
|
||||
<h2>下载</h2>
|
||||
<div class="row">
|
||||
<div class="name">macOS · Apple Silicon<div class="hint">M1 / M2 / M3 / M4</div></div>
|
||||
<div class="meta">版本 3.26.30 · 8.4 MB · .dmg<div class="hash">sha256 cf79ab4999afddc1…</div></div>
|
||||
<a class="btn" href="/updates/darwin-aarch64/image-workbench_3.26.30_aarch64.dmg?h=cf79ab4999af">下载</a>
|
||||
<div class="meta">版本 3.26.32 · 8.4 MB · .dmg<div class="hash">sha256 caf473d86026705f…</div></div>
|
||||
<a class="btn" href="/updates/darwin-aarch64/image-workbench_3.26.32_aarch64.dmg?h=caf473d86026">下载</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="name">macOS · Intel<div class="hint">x86_64</div></div>
|
||||
<div class="meta">版本 3.26.30 · 8.8 MB · .dmg<div class="hash">sha256 2ff71718943c06bd…</div></div>
|
||||
<a class="btn" href="/updates/darwin-x86_64/image-workbench_3.26.30_x64.dmg?h=2ff71718943c">下载</a>
|
||||
<div class="meta">版本 3.26.32 · 8.8 MB · .dmg<div class="hash">sha256 e18c3b20c3338400…</div></div>
|
||||
<a class="btn" href="/updates/darwin-x86_64/image-workbench_3.26.32_x64.dmg?h=e18c3b20c333">下载</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="name">Windows · x64<div class="hint">需要 WebView2</div></div>
|
||||
@@ -94,6 +94,14 @@
|
||||
</ol>
|
||||
|
||||
<h2>历史版本</h2>
|
||||
<div class="row">
|
||||
<div class="name">3.26.32<div class="hint">Intel 版:同一合并</div></div>
|
||||
<div class="meta">2026-11-22<div class="hint">macOS · Apple Silicon / macOS · Intel</div></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="name">3.26.31<div class="hint">Intel 版:同一合并</div></div>
|
||||
<div class="meta">2026-11-22<div class="hint">macOS · Apple Silicon / macOS · Intel</div></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="name">3.26.30<div class="hint">Intel 版:同一合并</div></div>
|
||||
<div class="meta">2026-11-22<div class="hint">macOS · Apple Silicon / macOS · Intel</div></div>
|
||||
|
||||
+7
-7
@@ -2,7 +2,7 @@
|
||||
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Image Workbench · 本地优先的 AI 生图工作台</title>
|
||||
<meta name="description" content="本地优先的 AI 生图无限画布:节点式工作流、插件按需安装、数据全部留在本机。">
|
||||
<link rel="stylesheet" href="/assets/style.css?v=3.26.30-mwr3pwgf">
|
||||
<link rel="stylesheet" href="/assets/style.css?v=3.26.32-mwr4mg2a">
|
||||
</head><body>
|
||||
<nav><div class="wrap inner">
|
||||
<a class="brand" href="/"><span class="dot">IW</span>Image Workbench</a>
|
||||
@@ -14,19 +14,19 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<a class="btn" href="/plugins/">插件市场</a>
|
||||
<a class="btn primary" href="/download/">下载 v3.26.30</a>
|
||||
<a class="btn primary" href="/download/">下载 v3.26.32</a>
|
||||
</div>
|
||||
</div></nav>
|
||||
<main>
|
||||
<section class="hero hero-art">
|
||||
<div class="hero-bg"><img src="/assets/painting.jpg?v=3.26.30-mwr3pwgf" alt=""></div>
|
||||
<div class="hero-bg"><img src="/assets/painting.jpg?v=3.26.32-mwr4mg2a" alt=""></div>
|
||||
<div class="hero-veil"></div>
|
||||
<div class="wrap">
|
||||
<span class="kicker">v3.26.30 · macOS / Windows · 数据在本地</span>
|
||||
<span class="kicker">v3.26.32 · macOS / Windows · 数据在本地</span>
|
||||
<h1>本地优先的<br>AI 生图无限画布</h1>
|
||||
<p class="sub">用节点把「参考图 → 提示词 → 批量生成 → 图库」串成一条生产线。<br>图片、提示词、模型配置全部留在你自己的电脑里,插件按需安装。</p>
|
||||
<div class="cta">
|
||||
<a class="btn primary lg" href="/download/">下载 v3.26.30</a>
|
||||
<a class="btn primary lg" href="/download/">下载 v3.26.32</a>
|
||||
<a class="btn lg" href="/plugins/">浏览 11 个插件</a>
|
||||
</div>
|
||||
<div class="meta">支持 macOS 12+ 与 Windows 10 1803+ · 安装包约 7 MB · 无需登录</div>
|
||||
@@ -93,8 +93,8 @@
|
||||
<section class="section"><div class="wrap">
|
||||
<h2>下载 Image Workbench</h2>
|
||||
<p class="lead">选你的平台。装过一次之后,以后在应用内「设置 → 通用 → 版本与更新」就能一键升级。</p>
|
||||
<div class="dl"><a href="/updates/darwin-aarch64/image-workbench_3.26.30_aarch64.dmg?h=cf79ab4999af"><div class="n">macOS · Apple Silicon</div><div class="s">M1 / M2 / M3 / M4 · 8.4 MB · .dmg</div></a>
|
||||
<a href="/updates/darwin-x86_64/image-workbench_3.26.30_x64.dmg?h=2ff71718943c"><div class="n">macOS · Intel</div><div class="s">x86_64 · 8.8 MB · .dmg</div></a>
|
||||
<div class="dl"><a href="/updates/darwin-aarch64/image-workbench_3.26.32_aarch64.dmg?h=caf473d86026"><div class="n">macOS · Apple Silicon</div><div class="s">M1 / M2 / M3 / M4 · 8.4 MB · .dmg</div></a>
|
||||
<a href="/updates/darwin-x86_64/image-workbench_3.26.32_x64.dmg?h=e18c3b20c333"><div class="n">macOS · Intel</div><div class="s">x86_64 · 8.8 MB · .dmg</div></a>
|
||||
<div class="none"><div class="n">Windows · x64</div><div class="s">暂未提供</div></div></div>
|
||||
<div style="margin-top:20px;color:#9ca3af;font-size:12.5px">安装包未做 Apple 公证 / Windows 代码签名,首次打开需手动放行一次,细节见 <a href="/download/" style="text-decoration:underline">下载页</a>。</div>
|
||||
</div></section>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>插件市场 · Image Workbench</title>
|
||||
<link rel="stylesheet" href="/assets/style.css?v=3.26.30-mwr3pwgf">
|
||||
<link rel="stylesheet" href="/assets/style.css?v=3.26.32-mwr4mg2a">
|
||||
</head><body>
|
||||
<nav><div class="wrap inner">
|
||||
<a class="brand" href="/"><span class="dot">IW</span>Image Workbench</a>
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<a class="btn" href="/plugins/">插件市场</a>
|
||||
<a class="btn primary" href="/download/">下载 v3.26.30</a>
|
||||
<a class="btn primary" href="/download/">下载 v3.26.32</a>
|
||||
</div>
|
||||
</div></nav>
|
||||
<main>
|
||||
|
||||
+43
-1
@@ -1,8 +1,50 @@
|
||||
{
|
||||
"app": "Image Workbench",
|
||||
"subtitle": "本地优先的 AI 生图无限画布 · 桌面版(Tauri v2)",
|
||||
"updatedAt": "2026-11-22T00:31:18.840Z",
|
||||
"updatedAt": "2026-11-22T00:56:37.243Z",
|
||||
"releases": [
|
||||
{
|
||||
"version": "3.26.32",
|
||||
"date": "2026-11-22",
|
||||
"notes": "Intel 版:同一合并",
|
||||
"platforms": {
|
||||
"darwin-aarch64": {
|
||||
"file": "updates/darwin-aarch64/image-workbench_3.26.32_aarch64.dmg",
|
||||
"size": 8778200,
|
||||
"sha256": "caf473d86026705fb91bbbcc0323ccf4d688add861d77c3e1ddb7bb076fe5891",
|
||||
"h": "caf473d86026",
|
||||
"kind": "dmg"
|
||||
},
|
||||
"darwin-x86_64": {
|
||||
"file": "updates/darwin-x86_64/image-workbench_3.26.32_x64.dmg",
|
||||
"size": 9184024,
|
||||
"sha256": "e18c3b20c333840056d70eca94730227dc457ace866fe23f04cb2b3690b86983",
|
||||
"h": "e18c3b20c333",
|
||||
"kind": "dmg"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"version": "3.26.31",
|
||||
"date": "2026-11-22",
|
||||
"notes": "Intel 版:同一合并",
|
||||
"platforms": {
|
||||
"darwin-aarch64": {
|
||||
"file": "updates/darwin-aarch64/image-workbench_3.26.31_aarch64.dmg",
|
||||
"size": 8783826,
|
||||
"sha256": "aa8bfbed06a341093f912e421af72d994fc04fe532c34f49e3e2ec558af50153",
|
||||
"h": "aa8bfbed06a3",
|
||||
"kind": "dmg"
|
||||
},
|
||||
"darwin-x86_64": {
|
||||
"file": "updates/darwin-x86_64/image-workbench_3.26.31_x64.dmg",
|
||||
"size": 9182641,
|
||||
"sha256": "9ebbe328872b9ac84540c64f3b214646f730ec3328e4c980339f5442ccdd4638",
|
||||
"h": "9ebbe328872b",
|
||||
"kind": "dmg"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"version": "3.26.30",
|
||||
"date": "2026-11-22",
|
||||
|
||||
Generated
+1
-1
@@ -1983,7 +1983,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "image-workbench"
|
||||
version = "3.26.30"
|
||||
version = "3.26.32"
|
||||
dependencies = [
|
||||
"arboard",
|
||||
"base64 0.22.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "image-workbench"
|
||||
version = "3.26.30"
|
||||
version = "3.26.32"
|
||||
description = "无限画布 · 生图工作台桌面版"
|
||||
authors = ["malongan"]
|
||||
license = ""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||
"productName": "image-workbench",
|
||||
"version": "3.26.30",
|
||||
"version": "3.26.32",
|
||||
"identifier": "com.malongan.imageworkbench",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
@@ -1109,7 +1109,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-panel { position: absolute; inset: 0; z-index: 20; overflow: auto; background: var(--iwb-home-bg); }
|
||||
.iwb-home-title { font-weight: 700; color: var(--iwb-text); }
|
||||
.iwb-home-subtitle { margin-top: 8px; color: var(--iwb-text2); }
|
||||
.iwb-home-grid { display: grid; }
|
||||
|
||||
.iwb-home-sec-head { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--iwb-text2); letter-spacing: .5px; margin: 6px 0 2px; padding-top: 8px; border-top: 1px solid var(--iwb-hr); }
|
||||
.iwb-home-sec-head:first-child { border-top: none; padding-top: 0; }
|
||||
|
||||
@@ -1164,7 +1164,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-panel { padding: 116px max(30px, calc((100vw - 1580px) / 2)) 60px; }
|
||||
.iwb-home-head { align-items: center; }
|
||||
.iwb-home-title { font-size: 34px; letter-spacing: -.03em; }
|
||||
.iwb-home-grid { gap: 18px; }
|
||||
|
||||
@media (max-width: 900px) { .iwb-top-nav-brand { margin-right: 4px; } .iwb-top-nav-item span, .iwb-top-nav-workspace { display: none; } .iwb-top-nav { padding: 0 8px; } .iwb-home-head { align-items: flex-start; flex-direction: column; } }
|
||||
/* v5:三页面语义与编辑器 chrome */
|
||||
.iwb-product-nav, .iwb-canvas-topbar { position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 35; display: flex; align-items: center; gap: 6px; padding: 0 max(18px, calc((100vw - 1760px) / 2)); background: var(--iwb-bg); border-bottom: 1px solid var(--iwb-border); }
|
||||
@@ -1174,7 +1174,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-product-spacer { flex: 1; }
|
||||
.iwb-product-icon, .iwb-canvas-menu, .iwb-top-nav-icon { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--iwb-text2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
|
||||
.iwb-product-icon:hover, .iwb-canvas-menu:hover, .iwb-top-nav-icon:hover { background: var(--iwb-layer2); color: var(--iwb-text); }
|
||||
.iwb-canvas-topbar { padding-left: 10px; padding-right: 14px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
|
||||
|
||||
.iwb-landing-panel { position: absolute; inset: 0; z-index: 20; padding: 64px 8vw 80px; overflow: auto; text-align: center; background-color: var(--iwb-bg); background-image: radial-gradient(circle, color-mix(in srgb, var(--iwb-border) 70%, transparent) 1px, transparent 1.5px); background-size: 28px 28px; }
|
||||
.iwb-landing-panel h1 { max-width: 850px; color: var(--iwb-text); }
|
||||
.iwb-landing-panel p { max-width: 760px; margin: 0 auto; line-height: 1.8; }
|
||||
@@ -1185,7 +1185,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-wsrail { display: none !important; width: 0 !important; border: 0 !important; }
|
||||
.iwb-canvas, .ws-expanded .iwb-canvas { left: 0 !important; }
|
||||
.iwb-product-nav { background: var(--iwb-bg); }
|
||||
.iwb-canvas-topbar { background: var(--iwb-bg); }
|
||||
|
||||
.iwb-home-panel, .iwb-landing-panel { left: 0 !important; right: 0 !important; padding-left: max(24px, calc((100vw - 1580px) / 2)); padding-right: max(24px, calc((100vw - 1580px) / 2)); }
|
||||
|
||||
/* v7:画布卡片(参考图1)、编辑器顶栏(参考图3)、左侧展开按钮(参考图2) */
|
||||
@@ -1194,8 +1194,8 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-card-top > input { position: static; width: 18px; height: 18px; accent-color: var(--iwb-text); z-index: 2; }
|
||||
.iwb-home-card-title { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; display: flex; align-items: center; }
|
||||
.iwb-home-card-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.iwb-home-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
||||
.iwb-home-card-actions { display: flex; gap: 6px; }
|
||||
|
||||
|
||||
.iwb-home-card-actions button { border: 0; background: transparent; color: var(--iwb-text2); cursor: pointer; }
|
||||
.iwb-home-card-actions button:hover { background: var(--iwb-layer2); color: var(--iwb-text); }
|
||||
/* 进入画布加载动画 */
|
||||
@@ -1204,7 +1204,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-enter-text { color: var(--iwb-text2); font-size: 14px; }
|
||||
@keyframes iwb-spin { to { transform: rotate(360deg); } }
|
||||
/* 编辑器顶栏:紧凑胶囊式,参考图3 */
|
||||
.iwb-canvas-topbar { height: 56px; background: var(--iwb-bg); border-bottom: 1px solid var(--iwb-border); padding: 0 12px; box-shadow: none; gap: 2px; }
|
||||
|
||||
.iwb-canvas-menu { width: 34px; height: 34px; }
|
||||
.iwb-canvas-title { margin: 0 6px 0 2px; }
|
||||
.iwb-canvas-status { color: var(--iwb-text2); font-size: 12px; }
|
||||
@@ -1232,20 +1232,20 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-card-check-placeholder { flex: 0 0 18px; width: 18px; height: 18px; }
|
||||
.iwb-home-card.iwb-manage .iwb-home-card-check { display: inline-block; }
|
||||
.iwb-home-card.iwb-manage .iwb-home-card-check-placeholder { display: none; }
|
||||
.iwb-home-card-actions { opacity: 0; transition: opacity .15s ease; }
|
||||
|
||||
.iwb-home-card:hover .iwb-home-card-actions,
|
||||
.iwb-home-card:focus-within .iwb-home-card-actions { opacity: 1; }
|
||||
.iwb-home-card-rename { flex: 1 1 auto; min-width: 0; height: 34px; font-size: 15px; color: var(--iwb-text); background: var(--iwb-bg); border: 1px solid var(--iwb-border2); border-radius: 8px; padding: 0 10px; }
|
||||
.iwb-home-actions .iwb-btn { min-height: 36px; }
|
||||
/* v11:统一画布卡片对齐与排版 */
|
||||
.iwb-home-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; max-width: 1600px; }
|
||||
|
||||
|
||||
.iwb-home-card:hover { border-color: var(--iwb-border2); background: color-mix(in srgb, var(--iwb-panel) 76%, var(--iwb-home-bg) 24%); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
|
||||
.iwb-home-card-top { padding: 24px 22px 0 22px; }
|
||||
.iwb-home-card-title strong { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--iwb-text); }
|
||||
.iwb-home-card-meta { color: var(--iwb-text2); font-size: 13px; line-height: 1.5; }
|
||||
|
||||
.iwb-home-card-foot small { color: var(--iwb-text2); font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; flex: 1 1 auto; }
|
||||
.iwb-home-card-actions { flex: 0 0 auto; }
|
||||
|
||||
.iwb-home-card-actions button { width: 32px; height: 32px; border-radius: 8px; }
|
||||
/* v12:世界容器提升为合成层(节点随世界一起 transform,不单独建层) */
|
||||
.iwb-world { will-change: transform; }
|
||||
@@ -1255,7 +1255,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-overlay.drawer-open .iwb-toolbar-wrap { left: var(--iwb-dock-l, 0px) !important; }
|
||||
.iwb-overlay.drawer-open .iwb-minimap { margin-left: 0 !important; }
|
||||
/* 画布顶栏:标题 + 实时通知 + 右侧图标组(padding-left 14px = 标签条 padding,标题左缘与房子图标对齐;52px 是左侧栏时代的遗留已废弃) */
|
||||
.iwb-canvas-topbar { gap: 8px; padding: 0 14px; }
|
||||
|
||||
.iwb-canvas-meta { display: flex; align-items: center; gap: 8px; overflow: hidden; }
|
||||
.iwb-canvas-meta .iwb-status-item { font-size: 11px; color: var(--iwb-text2); white-space: nowrap; }
|
||||
.iwb-canvas-meta .iwb-status-ok { color: var(--iwb-brand); }
|
||||
@@ -1289,7 +1289,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-tab-home { padding: 0 9px; }
|
||||
.iwb-tab-home .iwb-ic { width: 16px; height: 16px; }
|
||||
/* 标签条出现时顶栏下移(仅画布视图;覆盖共享 top:0 规则) */
|
||||
.iwb-canvas-topbar { top: 36px; }
|
||||
|
||||
/* 标签条始终顶左对齐(不随左侧栏展开缩进——标签条在最顶层、横跨全宽) */
|
||||
|
||||
/* 资源中心浮动窗口:自由拖动、统一白色圆角样式 */
|
||||
@@ -1318,7 +1318,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
|
||||
.iwb-home-card-title { text-align: left; justify-content: flex-start; width: 100%; }
|
||||
.iwb-home-card-title strong { text-align: left; width: 100%; }
|
||||
.iwb-home-card-meta { display: flex; align-items: center; gap: 8px; text-align: left; }
|
||||
|
||||
.iwb-home-card-meta-text { color: var(--iwb-text2); font-size: 13px; }
|
||||
.iwb-home-card-cat { border: 1px solid var(--iwb-border); border-radius: 999px; padding: 2px 10px; font-size: 11px; color: var(--iwb-text2); background: color-mix(in srgb, var(--iwb-text) 6%, transparent); cursor: pointer; white-space: nowrap; }
|
||||
.iwb-home-card-cat-empty { color: var(--iwb-text2); background: transparent; border-color: var(--iwb-border2); }
|
||||
@@ -1333,7 +1333,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-panel { padding-left: 24px; padding-right: 24px; }
|
||||
|
||||
.iwb-home-card-top { padding-top: 18px; padding-left: 20px; padding-right: 20px; }
|
||||
.iwb-home-card-meta { padding-top: 10px; padding-left: 20px; padding-right: 20px; }
|
||||
|
||||
|
||||
/* 资源中心窗口四向缩放手柄 */
|
||||
|
||||
@@ -1350,12 +1350,12 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-cats { margin-top: 16px; margin-bottom: 4px; }
|
||||
|
||||
/* 画布卡片:底部三个图标在卡片内右对齐 */
|
||||
.iwb-home-card-foot { justify-content: flex-end; }
|
||||
.iwb-home-card-actions { width: auto; margin-left: auto; justify-content: flex-end; }
|
||||
|
||||
.iwb-home-card-actions { display: flex; gap: 6px; opacity: 0; transition: opacity .15s ease; flex: 0 0 auto; width: auto; margin-left: auto; justify-content: flex-end; }
|
||||
.iwb-home-card-foot .iwb-home-card-actions { width: auto; }
|
||||
|
||||
.iwb-home-card-foot { width: 100%; }
|
||||
.iwb-home-card-meta { width: 100%; }
|
||||
|
||||
|
||||
|
||||
/* 画布库:顶部导航与内容水平对齐(统一左 24px,撑满) */
|
||||
.iwb-product-nav { padding-left: 24px; padding-right: 24px; }
|
||||
@@ -1394,13 +1394,13 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-home-main-head .iwb-btn:hover { background: color-mix(in srgb, var(--iwb-panel) 65%, var(--iwb-home-bg) 35%); }
|
||||
.iwb-home-main-head .iwb-btn-primary { background: var(--iwb-text2); border-color: var(--iwb-text2); color: #fff; }
|
||||
.iwb-home-main-head .iwb-btn-primary:hover { background: color-mix(in srgb, var(--iwb-text2) 80%, #000); border-color: color-mix(in srgb, var(--iwb-text2) 80%, #000); color: #fff; }
|
||||
.iwb-home-grid { margin-top: 22px; max-width: none; width: 100%; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
|
||||
.iwb-home-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: none; margin-top: 22px; width: 100%; }
|
||||
|
||||
.iwb-home-empty { margin-top: 40px; color: var(--iwb-text2); font-size: 15px; text-align: center; padding: 40px 0; }
|
||||
|
||||
.iwb-home-card .iwb-home-card-top { padding: 20px 20px 0 20px; }
|
||||
.iwb-home-card-meta { padding: 12px 20px 0 20px; }
|
||||
.iwb-home-card-foot { padding: 0 20px 18px 20px; }
|
||||
|
||||
.iwb-home-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; width: 100%; padding: 0 20px 18px 20px; }
|
||||
.iwb-home-card-star { border: 0; background: transparent; color: var(--iwb-text2); font-size: 18px; cursor: pointer; line-height: 1; padding: 0; }
|
||||
.iwb-home-card-star.on { color: var(--iwb-text); }
|
||||
.iwb-home-card-star:hover { color: var(--iwb-text); }
|
||||
@@ -1458,7 +1458,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,.05);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.iwb-home-card-meta { min-height: 18px; }
|
||||
.iwb-home-card-meta { color: var(--iwb-text2); font-size: 13px; line-height: 1.5; display: flex; align-items: center; gap: 8px; text-align: left; padding-top: 10px; padding-left: 20px; padding-right: 20px; width: 100%; padding: 12px 20px 0 20px; min-height: 18px; }
|
||||
.iwb-home-card .iwb-home-card-foot { justify-content: space-between; gap: 10px; align-items: center; }
|
||||
.iwb-home-card .iwb-home-card-foot .iwb-home-card-cat { flex: 0 0 auto; }
|
||||
|
||||
@@ -1497,7 +1497,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
/* 图库历史项图片:完整展示 + 上限尺寸(放大量大面板也不无限变大) */
|
||||
.iwb-history-embedded .iwb-history-item img { max-width: 100%; max-height: none; object-fit: contain; margin: 0 auto; }
|
||||
/* 编辑器顶栏:透明悬浮(对齐参考图样式),画布铺满视口让点阵/网格透过顶栏 */
|
||||
.iwb-canvas-topbar { background: transparent !important; border-bottom: 0 !important; box-shadow: none !important; pointer-events: none; }
|
||||
|
||||
.iwb-canvas-topbar button:not(.iwb-canvas-title), .iwb-canvas-topbar input, .iwb-canvas-topbar label { pointer-events: auto; }
|
||||
.iwb-canvas-title { pointer-events: auto; }
|
||||
.iwb-canvas, .ws-expanded .iwb-canvas { top: 0 !important; }
|
||||
@@ -2012,7 +2012,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-mk-name { display: flex; align-items: center; flex-wrap: wrap; }
|
||||
.iwb-mk-desc { flex: 1 1 auto; }
|
||||
.iwb-mk-tags { display: flex; flex-wrap: wrap; }
|
||||
.iwb-mk-tag { border-radius: 999px; }
|
||||
|
||||
.iwb-mk-actions { display: flex; justify-content: flex-end; margin-top: 2px; }
|
||||
/* 设置行(Obsidian 风格:标题 + 说明 + 右侧控件) */
|
||||
.iwb-set-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--iwb-border); }
|
||||
@@ -2030,7 +2030,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
|
||||
/* 已安装插件:横向列表 */
|
||||
.iwb-mk-list { display: flex; flex-direction: column; }
|
||||
.iwb-mk-row { display: flex; align-items: center; gap: 12px; }
|
||||
|
||||
.iwb-mk-row-main { flex: 1 1 auto; min-width: 0; }
|
||||
.iwb-mk-row-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.iwb-mk-row-name { font-weight: 600; font-size: 14px; }
|
||||
@@ -2206,7 +2206,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
box-shadow: 0 8px 24px rgba(0,0,0,.18); white-space: nowrap;
|
||||
}
|
||||
/* 顶栏与标签条随左右栏内缩(标题跟着缩进;画布仍不动) */
|
||||
.iwb-canvas-topbar { left: var(--iwb-dock-l, 0px) !important; right: var(--iwb-dock-r, 0px) !important; }
|
||||
.iwb-canvas-topbar { padding-left: 10px; padding-right: 14px; box-shadow: none !important; background: transparent !important; height: 56px; border-bottom: 0 !important; padding: 0 14px; gap: 8px; top: 36px; pointer-events: none; left: var(--iwb-dock-l, 0px) !important; right: var(--iwb-dock-r, 0px) !important; }
|
||||
.iwb-tabstrip { left: 0 !important; right: 0 !important; }
|
||||
.iwb-tab-spacer { flex: 1 1 auto; }
|
||||
.iwb-tab-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; pointer-events: auto; }
|
||||
@@ -2396,7 +2396,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
}
|
||||
.iwb-mk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
|
||||
.iwb-mk-tags { gap: 4px; }
|
||||
.iwb-mk-tag { background: var(--iwb-layer2); color: var(--iwb-text2); font-size: 10.5px; padding: 1px 7px; }
|
||||
.iwb-mk-tag { border-radius: 999px; background: var(--iwb-layer2); color: var(--iwb-text2); font-size: 10.5px; padding: 1px 7px; }
|
||||
.iwb-mk-actions { gap: 6px; }
|
||||
.iwb-mk-actions .iwb-btn { border: 0; background: var(--iwb-layer2); box-shadow: none; }
|
||||
.iwb-mk-subtitle { font-size: 11.5px; color: var(--iwb-text2); margin: 2px 0 10px; }
|
||||
@@ -2470,12 +2470,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-mk-chip, .iwb-mk-chip:hover, .iwb-mk-chip:active { transform: none; }
|
||||
/* 管理页:横线分隔 + 悬停变色,不浮动 */
|
||||
.iwb-mk-list { gap: 0; }
|
||||
.iwb-mk-row {
|
||||
background: transparent; border-radius: 0; padding: 12px 6px;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--iwb-border) 62%, transparent);
|
||||
transform: none; box-shadow: none;
|
||||
transition: background .12s ease;
|
||||
}
|
||||
.iwb-mk-row { display: flex; align-items: center; gap: 12px; background: transparent; border-radius: 0; padding: 12px 6px; border-bottom: 1px solid color-mix(in srgb, var(--iwb-border) 62%, transparent); transform: none; box-shadow: none; transition: background .12s ease; }
|
||||
.iwb-mk-row:last-child { border-bottom: 0; }
|
||||
.iwb-mk-row:hover { background: color-mix(in srgb, var(--iwb-text) 3%, transparent); transform: none; box-shadow: none; }
|
||||
.iwb-mk-row-actions .iwb-btn { transform: none; box-shadow: none; transition: background .12s ease; }
|
||||
|
||||
@@ -78,8 +78,10 @@ assert.ok(!source.includes("className: 'iwb-canvas-expand'"))
|
||||
assert.ok(!source.includes("title: '图库(右侧栏)'"))
|
||||
assert.ok(source.includes("title: '显示 / 隐藏左栏'") && source.includes("title: '显示 / 隐藏右栏'"))
|
||||
assert.ok(css.includes('.iwb-landing-actions .iwb-btn { min-height: 42px;'))
|
||||
assert.ok(css.includes('.iwb-home-card-actions { opacity: 0;'))
|
||||
// 合并后规则变紧凑,用正则匹配(属性顺序/空白不敏感)
|
||||
assert.ok(/\.iwb-home-card-actions\s*\{[^}]*opacity:\s*0/.test(css))
|
||||
assert.ok(css.includes('.iwb-home-card.iwb-manage .iwb-home-card-check { display: inline-block; }'))
|
||||
assert.ok(css.includes('.iwb-home-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));'))
|
||||
// 合并后规则变紧凑;且最终生效列宽是 230px(300px 的旧定义早已被覆盖)
|
||||
assert.ok(/\.iwb-home-grid\s*\{[^}]*repeat\(auto-fill,\s*minmax\(230px/.test(css))
|
||||
assert.ok(css.includes('.iwb-home-card-foot small { color: var(--iwb-text2); font-size: 12px; line-height: 1.4; white-space: nowrap;'))
|
||||
console.log('page chrome regression checks passed')
|
||||
Reference in new issue
Block a user