Repository navigation
feat(theme): 完善原生外观、真实预览与媒体导入 - #184
Closed
3316891527 wants to merge 8 commits into
Closed
3316891527 wants to merge 8 commits into
3316891527 wants to merge 8 commits into
Conversation
2 of 5 tasks
3316891527
force-pushed
the
feat/reopen-pr-176-theme-foundation
branch
from
November 9, 2026 03:16
bc70f2d to
97e8e02
Compare
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.
主题工作室需要让背景预览与实际页面一致,并让常见图片资源可用、导入失败原因可读。本 PR 扩展原生主题外观,同时完善页面背景、文字排版、真实预览和媒体导入。
.jpg、.jpeg及大写扩展名。原实现已接受 JPG/JPEG;本轮补齐一致性、明确列出两种扩展名,并把文件名/路径错误与格式不支持分开提示,避免名称问题被误报成格式问题。限额保持原值:单资源 8 MiB、SVG 512 KiB、源码与素材总计 64 MiB、资源 48 项、位图解码总计 41,943,040 像素。源码及清单各 64 KiB,外观结果 128 KiB;脚本内部资源 ZIP 仍限制 64 MiB 加 128 KiB、50 条目。
验证:此前实际主题协议与资源存储源码独立编译通过,41 项核心 JUnit 全部通过。本次删除重复底部提示后,已核对顶部错误栏、英文用量/预算消息生成及资源限额逐字不变,调用、映射和 20 项中英文专用文案无残留,XML、现有回归引用和补丁格式检查通过。本次未重复执行未变更的核心测试;完整 Android/Compose 编译结果仍待确认。
保留 1 项真实 JPEG 编码、扩展名大小写、归档往返及解码的 Android 仪器回归,移除仅针对底部提示的用例。设备用例尚未执行。现有 Android Tests 运行 JVM 测试,不执行仪器用例;此前 66 页映射与图标检查记录保留在主题计划文档。
真实页面仍会加载数据库、网络及插件初始化;独立预览宿主不隔离全部业务服务。真实对象、登录与管理权限沿用原条件,完整 Android/Compose 编译和设备视觉验收仍待确认。
本次提交:52445499d0956d59d9ac895738d70fae7693cf96。交付时 Build 使用 assembleDebug,成功后由既有步骤上传 APK;Android Tests 独立运行。以下是本分支入口,各提交一次启动请求后停止,不查询运行状态:
基准仍为 #177 的撤销分支;PR 保持 open,合并由维护者决定。
本项已随 集成 PR #191 合入
dev,并经 发布同步 PR #193 同步到main。原来源提交52445499d0956d59d9ac895738d70fae7693cf96已核对保留。本 PR 原目标为
fix/revert-pr-170-176;由于dev已包含全部来源提交,GitHub 拒绝将目标改到dev。关闭此重复待合并条目,代码与原始审阅记录均保留。