qiqi
|
92370c9254
|
chore(plugins): 同步 image-vectorize 0.6.0(关闭按钮主色调 + 全屏源码同步)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 50s
|
2026-11-19 15:01:54 +08:00 |
|
qiqi
|
b4bc52b177
|
chore(plugins): 同步 image-vectorize 0.5.0(编辑器全屏铺满)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 52s
|
2026-11-19 14:14:20 +08:00 |
|
qiqi
|
13c741e460
|
chore(plugins): 同步 browser 1.6.0(库面板默认缩放可配置)
从 iwb-plugins-desktop 同步 browser 插件产物(sync-plugins-from-repo.js):
- 旧 plugin-browser.91399c13d011.js → 新 plugin-browser.9e9fa4cdb25d.js(内容寻址)
- index.json:browser 1.5.0→1.6.0,integrity 更新
- 功能:库面板浏览器默认缩放可配置(panelZoom,默认 60%),宿主零改动
market/ 由 gen-market.js 重新生成(gitignore,发布时 scp 上传 NAS)。
|
2026-11-19 13:27:20 +08:00 |
|
qiqi
|
e1120ec52b
|
release: v3.25.30(浏览器插件 1.5.0 配套客户端 + 库面板浮窗可框选)
- bump 3.25.30(package.json / tauri.conf.json / Cargo.toml)
- 同步插件源仓产物:browser 1.5.0(plugin-browser.91399c13d011.js),清掉 4 个旧 hash 产物
- CHANGELOG + 事实基线锚点
|
2026-11-19 10:05:33 +08:00 |
|
qiqi
|
67472f3019
|
chore(release): 3.25.29 发布产物 + browser 1.4.0 市场索引
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 39s
|
2026-11-19 07:18:22 +08:00 |
|
qiqi
|
dc7c1cc65a
|
chore(plugins): 收进 browser 1.3.0 运行时产物
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 42s
|
2026-11-19 06:49:11 +08:00 |
|
qiqi
|
dce8aac1f3
|
refactor!: 下线画布内网页节点(原生子 webview 路线的维护成本远超收益)
背景:画布内网页用 Window::add_child 挂原生子 webview,连续踩到三个平台坑且修不干净:
- hide() 之后 show() 静默失效(都返回 Ok,网页永久不再绘制);
- get_webview_window("main") 在出现任何子 webview 后永久返回 None;
- 子 webview 抢指针事件,拖动只能靠标题栏。
剩下的日常操作(换工作区、LOD 降级、快速拖拽、被遮挡)全靠每帧推 bounds / 挪出窗口 /
延迟 900ms 回收这类脆弱补偿兜底 ⇒ 撤掉,不留半成品。独立窗口浏览器不受影响。
删除:
- Rust:canvas_webview_ensure/bounds/navigate/action/state/close_all 六个命令 + _cwv.log 诊断(约 250 行)
- 前端:src/canvas-webview.js(463 行)+ build.js 模块登记(89 → 88)
- 插件 browser:节点类型 web 与 nodeTypes 能力(1.1.1 → 1.2.0,市场已更新)
保留(与本功能无关的独立修复):save_geom/restore_geom/托盘/单实例改用 get_window。
版本 3.25.27
|
2026-11-19 00:11:47 +08:00 |
|
qiqi
|
0b7c1b30f0
|
fix(canvas-webview): 网页裁到「节点 ∩ 画布」而不是整个隐藏;插件补旧客户端提示
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m35s
实测问题:画布不够大时节点必然溢出,原逻辑「不完全在画布内就隐藏」会让画布节点
永远是一片白,用户以为功能坏了。改成交集裁切:既不越界盖住侧边栏(原生层不受
overflow:hidden 约束),又保证只要节点露得出来就能看到网页。裁切只在 settle 后
推一次 bounds,不会随拖动逐帧重排。
插件 1.1.1:节点体检测宿主有没有 IWBCanvasWebview 引擎,旧客户端直接提示
「需要 v3.25.24 及以上」—— 上一轮插件先上架、客户端没升级,用户只看到白屏。
|
2026-11-18 23:32:49 +08:00 |
|
qiqi
|
05dd343155
|
feat(canvas-webview): 画布内嵌网页节点(原生子 webview)
- lib.rs:新增 canvas_webview_ensure/bounds/navigate/action/state/close_all,
用 Window::add_child 建 label=cwv-<节点id> 的子 webview(tauri 启用 unstable feature)。
子 webview 不在 capabilities ⇒ 外部页面拿不到宿主 IPC。
- 新增 src/canvas-webview.js:锚点扫描 + 每帧位置同步。自启动、对 app.js 零侵入
(app.js 总行数棘轮只剩 1 行余量)。快速平移缩放拖拽时先隐藏避免拖影;
节点必须完整落在画布内才显示(原生层不受 overflow:hidden 约束,溢出会盖住侧边栏);
选中时内缩 12px 露出缩放手柄;锚点消失 900ms 后才回收(LOD 降级不重载页面)。
- 插件节点可声明初始宽度:nodes.register 的 width 经 addPluginNode 生效。
- browser 插件 1.1.0:新增「网页」节点(地址栏 + 后退/前进/刷新/关闭)。
- 同步模块顺序快照与架构文档计数(89 个模块)。
|
2026-11-18 23:29:17 +08:00 |
|
qiqi
|
a4a899f424
|
feat(browser): 应用内浏览器插件 + 独立浏览器窗口命令
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m8s
- lib.rs:新增 open_browser_window(label=browser 单窗口复用,原生 navigate 导航,
只放行 http/https),以及 browser_control(back/forward/reload/close)、
browser_state(open/url)两个主窗口发起的控制命令。
- 窗口几何按 label 存取:主窗口沿用 window-geom.json,浏览器窗口用 browser-geom.json
(下限 800x600,换显示器只恢复尺寸)。
- 修 CloseRequested 对非 main 窗口也 prevent_close 的问题:此前浏览器窗口点 ✕ 只是被隐藏,
页面/音频在后台继续跑且再也关不掉。现在非 main 窗口正常销毁。
- 同步源仓新增 browser 插件(上架白名单 + meta 展示信息 + 产物 plugin-browser.1bcb58.js)。
|
2026-11-18 22:40:29 +08:00 |
|
qiqi
|
9283e76f1a
|
chore(plugins): 同步标注插件 1.20.6(反白修正)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m46s
|
2026-11-17 21:05:26 +08:00 |
|
qiqi
|
13a34073bd
|
chore(plugins): 同步标注插件 1.20.5(反白公式修正)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 3m11s
|
2026-11-17 20:53:11 +08:00 |
|
qiqi
|
aff77cef75
|
chore(plugins): 同步标注插件 1.20.4
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 2m12s
|
2026-11-17 20:48:38 +08:00 |
|
qiqi
|
ac62c3bfbc
|
chore(plugins): 同步标注插件 1.20.3(快速效果兜底)+ 市场产物
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 3m38s
|
2026-11-17 20:37:57 +08:00 |
|
qiqi
|
fe4a64f98b
|
chore(plugins): 同步标注插件 1.20.2(指针自愈)+ 市场重建
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m38s
|
2026-11-17 17:24:21 +08:00 |
|
qiqi
|
78f8057384
|
chore(plugins): 同步标注插件 1.20.2(指针状态自愈)+ 市场产物重建
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m21s
|
2026-11-17 17:21:25 +08:00 |
|
qiqi
|
cddbd1f8eb
|
feat(tauri): 完成桌面端迁移(原生另存为 + plugin-http 取图 + 插件静态化 + 中文注释)
|
2026-11-16 18:52:30 +08:00 |
|