Repository navigation
装了 Google Play 商店的实例:卡片上显示商店图标,list 的备注里标出 - #223
Merged
Merged
Conversation
- 管理器:InstanceInfo.play_store 为 true 的实例,卡片名字后面(按应用走代理的标记之后)多一个购物袋线条图标 (通用图形,不用 Google Play 的标志),颜色跟主题走;悬停和读屏都是「已装 Google Play 商店」,英文 Google Play Store installed。只装了一部分(play_store_partial)的不标。卡片视图和列表视图都显示, 名字长时名字省略,图标不挤掉。 - 命令行:modavd list 的「备注」一栏多一项「已装 Google Play 商店」,放在其它备注后面,用「,」隔开; --json 不变。 - 假数据页面 ?mock=many 里星穹铁道、日常备用两台装了商店。 - 测试:list 的格式化(单独、和别的备注共存、没装、只装一部分、英文、JSON 不带备注),卡片的标记 (makeCard 建出来的位置、role、aria-label、title,更新后跟着显示或隐藏)。 Refs ModAVD/ModAVD#298
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.
装了 Google Play 商店的实例,在管理器卡片和
modavd list里标出来。只是显示,装、卸商店的流程不变。改了什么
InstanceInfo.play_store为true的实例,名字后面(「代理」标记之后)多一个购物袋线条图标。--sunken/--text-2,深浅色跟主题走。role="img",aria-label和title都是「已装 Google Play 商店」(英文 Google Play Store installed),悬停有提示,读屏能读到。play_store_partial)的不标,和菜单里「补全」「移除」都给的状态一致。modavd list:「备注」一栏多一项「已装 Google Play 商店」,放在已有备注(诊断模式、正在开机、未初始化、软件渲染)后面,用「,」隔开。英文输出是Google Play Store installed。--json不变(play_store字段原来就有)。?mock=many里星穹铁道、日常备用两台装了商店(?mock=normal原来就有一台)。internal/ui/API.md(中英)InstanceInfo.play_store一条跟着补了一句;changelog.d/298-playstore-icon.feat.md。怎么验证的
go test -count=1 ./internal/cli/... ./internal/i18n/... ./internal/ui/...通过;新加TestFormatListPlayStore:单独一项、和别的备注共存、没装、只装一部分、英文输出、JSON 里没有这条备注。node --experimental-vm-modules --test scripts/test_*.mjs十个文件全过(CI 跑的test_display_tap、test_disk_info、test_compact_format、test_card_cfg、test_create_cancel也按 CI 的命令跑过)。test_create_cancel.mjs的卡片替身补了smark,并让makeCard能在替身里建整张卡;新测试查标记的位置、role、aria-label、title和随更新显示 / 隐藏(去掉updateCard里那一行时这条测试会失败)。gofmt -l .无输出;go vet ./...(windows、darwin、linux)通过;TestCatalog通过;scripts/repo_checks.py(以 upstream/main 为基)通过。?mock=many,只服务静态文件的本机服务)看过:浅色 / 深色、中文 / 英文、宽窗口和两列的窄卡片、列表视图,以及临时把名字改得很长时图标不被挤掉。没验证的
ModAVD.exe)和真实实例上看过,只看了假数据页面。Refs ModAVD/ModAVD#298