feat: 完成 TaskBridge 0.1.8 全端体验与可靠性升级#26
Open
27xk wants to merge 24 commits into
Open
Conversation
明确桌面端信息架构、状态反馈、响应式与验收标准。 仅提交已批准的 UI 重设计规格,不包含工作区中的其他改动。
按 TDD 顺序拆分应用骨架、任务视图、设置、样式和验收步骤。
围绕真实用户流程重构桌面端工作区,并同步完善 Web、Android、后端与发布链路。 主要改动: - 收敛桌面端信息层级、批量操作、设置与重新认证体验 - 保留会话失效后的本地工作区,强化账号与服务器数据隔离 - 加固离线队列、幂等创建、冲突恢复及异步请求竞态 - 支持用户配置 HTTP/WS 端点并完善本地试用与自托管流程 - 更新 CI、Release、版本源、部署配置和全套中文文档 验证:严格检查 54/54;Backend 130;Web 59;Desktop 88;Android 单测与 assembleDebug 通过。
| "content-length": Buffer.byteLength(body), | ||
| connection: "close", | ||
| }); | ||
| response.end(body); |
Windows CI 的 npm ci 为缩短安装阶段跳过了 Electron 原生重建,导致 better-sqlite3 的 Node ABI 被 Electron 运行时加载并使 SQLite 迁移测试失败。 在 CI 与 Release 中增加显式 rebuild:native 步骤,并通过工作流契约锁定其必须位于依赖安装之后、桌面单测之前。 同时启用仓库 Vulnerability Alerts,为 Dependency Review 提供依赖图前置能力。
| needs: prepare | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 |
| done | ||
|
|
||
| - name: Upload deployment artifact | ||
| uses: actions/upload-artifact@v4 |
Windows Actions 会以 CRLF 检出源码,原有契约测试对固定 LF 的假设导致快捷输入和 Compose 检查误报失败。 新增共享行尾标准化函数与回归测试,并在相关源码读取入口统一转换为 LF。
跨端用户体验检查批量读取源码时保留了 Windows CRLF,导致带换行标记的源码区段无法定位。 对所有 Promise.all 读取结果统一应用行尾标准化,并增加静态契约防止回归。
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.
变更说明
本次更新以真实用户流程为中心,完成 TaskBridge 0.1.8 的全端体验与可靠性升级。桌面端改为更安静、聚焦的任务工作区,Web 与 Android 同步补齐离线恢复、会话续接、同步诊断和可访问性体验。
核心改动
验证结果
版本