Repository navigation
feat: 1.5.3 station PIDS themes and navigation view API - #1
Merged
Merged
Conversation
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.
地图站点现在保留原有站点/站台与线路信息,点击固定后默认折叠,Expand才显示MTR/TSC原生PIDS到站预测。按用户审阅稿实现英式琥珀与欧式/机场白字两套样式,默认英式;
/mtrmap config pidsStyle british|european即时切换并持久保存。旧ROUTES/TRACKS控件保留,面板输入与地图拖动/缩放分开,修复JM轨道与Xaero玩家箭头盖住面板。新增纯Java17公共API与独立可选overlay-1快照通道:只读原生目录/停站ordinal/Depot路径区段、路径歧义、可关闭的独立视图与站点订阅。
ViewRequest.navigation及spanStyles支持同一轨道上已走/待乘区段分别显示、未用线路dimmed;白块和物理底衬同步淡化,重叠的后续乘车区段保持明亮。Navigate是统一provider回调入口,不加入Navigation/howtogo专用适配或第二套模拟。服务器按需共享原生ArrivalsRequest采集/编码,独立租约、分片、容量与玩家/兴趣轮转;客户端后台解码、保留native时间和覆盖状态。静态v8、车辆v1及纯2D保持,列车悬停距离/ETA仍暂停。
验证:六平台构建与生产JAR检查通过,主线101/兼容各104测试通过,生成用例各1跳过;20项CI工具回归通过。六份独立/内嵌API公开签名与Java17消费者编译通过。NeoForge1.21.1两地图已computer-use验证折叠/展开、两主题/命令、重启持久化、窗口布局和层级。已补齐Fabric1.21.1及四旧目标的两地图PIDS实机回归。Forge1.20.4单人quick-play遇到Xaero serverData为空导致断线,独立本地服务器连接后的双地图测试通过;单人启动仍未通过,根因待定位。真实第三方导航联动及大网/多人性能尚未实测;具体证据与边界见docs/validation/pids-and-dimmed-1.5.3.md,可调用契约见docs/api/overlay-api-v1.md。
Minecraft1.20兼容实施PR:#2 。开发版本1.5.3,未发布release/tag,1.5.2正式附件保持。