Repository navigation
Refactor/content tools ux - #102
Merged
Merged
Conversation
# Conflicts: # CHANGELOG.md # docs/develop/index.md
完善收藏检索、精确联系人及频道导出、多选交接、克隆恢复和保存策略。接入独立合成工作窗,保留完整功能清单中的待验收状态。 提交前 pnpm ci:local 七步通过;生成内容精确导出等在途改动保留在工作区,未纳入本次提交。
接入频道、生成对话与空间离散范围,补齐搜索来源、稳定定位和返回现场。统一分析配置及独立结果,保留账号边界、原有保存能力与阶段验收证据。 本阶段通过完整本地门禁与桌面/Web 构建。历史对象覆盖、年度移动阅读/时区、资源自包含和全来源任务等仍按完成矩阵继续,不代表整体目标完成。
…refactor/content-tools-ux
按用户要求暂不运行测试或构建,作为未验证阶段成果提交并推送。
ozone-platform 必须作为 Electron 启动参数传入:Chromium 的 Ozone 后端在应用 JS 执行前就已初始化,app.commandLine.appendSwitch 即使写在 whenReady 之前也 来不及。Electron 44 + Hyprland 实测该写法会让 Electron 认为窗口 visible,但 X server 里没有顶层窗口,同时 GPU 进程反复 SIGSEGV(139)。 - dev 由 electron.vite.config.ts 注入 ELECTRON_CLI_ARGS(放在用户参数前面, 兼容 pnpm dev -- --user-data-dir=…) - 打包版由 electron-builder 的 linux.executableArgs 注入 - Wayland 会话仍默认走 XWayland 以保留浮动窗口,WEQ_OZONE_PLATFORM=wayland 可退回原生 Wayland - 新增 ozonePlatformArgs() 与单测,补充开发笔记
electron-vite 6 把共享模块拆进 out/main/chunks/,原先把仓库根的 resources/ 写死为「out/main 往上四级」,层级一深就指到 apps/resources, 所有 resolveResource() 静默返回 null:装扮广告占位图(weq-media://dress)、 窗口图标、助手封面、红包皮肤离线目录等一并失效。 改成从 bundle 所在目录逐级上溯、按 brand/logo.png 认根,并去掉 resourcesPath 缺省时拼出的相对路径(纯 Node 下会跟着 cwd 漂移)。 补单测覆盖 out/main 与 out/main/chunks 两种构建深度。
首次 useLayoutEffect 时 iframe 的 srcDoc 尚未解析完,contentDocument 存在但 documentElement 还是 null,applyTheme() 直接读 .style 抛 Cannot read properties of null,打断 MailBody 首渲染导致正文不显示。 改为对 documentElement 判空后安静返回,交由 onLoad 时文档就绪再写入 --mail-fg / --mail-accent / --mail-scheme。补单测复现该时序。
- 邮箱未读气泡缩小贴角,不再压住图标;搜索框字号统一为 13px - 合成聊天记录窗口在 Linux 下按浮动窗口打开,抽出共用的窗口类型工具 - 导出面板卡片改用 design token,修复深色模式露白 - 导出明文数据库锁定类型,不再显示内容种类切换器 - 全局确认框改为居中,浮窗在模态打开期间不再抢层 - 商城表情并入个性装扮页签,移除独立左栏入口 - 添加会话支持多选批量克隆,新增新建克隆体群聊入口 - protocol 在 needSign 的包上打印命令与签名前缀
- packages/service/src/index.ts:保留 dev 新增的群公告/打卡/相册/空间写操作导出, 去掉分支登录重构已删除的 fetchSkeyViaPtLogin / fetchPskeyViaPtLogin - apps/desktop/src/main/db/standard_client.ts:接受 dev 删除(标准库子进程已由单进程布局取代, 分支侧仅 Vite 8 的 __dirname 改名,保留会导致 ./protocol 缺失) - CHANGELOG.md / docs/develop/index.md:两侧条目合并,OCR 三条取分支的现状描述
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.