Show the marketing name next to the model code (e.g. Galaxy S24 for SM-S921B)
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 56/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- android, typescript
- 领域
- full-stack, mobile
调研方向
Start with web/src/pages/deviceDetailFormat.ts and trace how device names are shown in the device detail page and Devices list, including the list search. Then inspect how the agent sends hardware.device and hardware.model and where the server or supervisor manages downloaded assets. Done means matching names and branding appear when a unique device/model match exists, ambiguous or missing matches keep the model code, search finds the marketing name, and refresh and offline behavior follow the issue’s proposal.
由索引模型根据 Issue 内容生成。
描述
Area
Admin console (web)
The problem
The console names a device by its manufacturer and model code, for example "Samsung SM-S921B" (makeModel in web/src/pages/deviceDetailFormat.ts). Few people know model codes by heart, so finding "the Galaxy S24" in the device list means looking the code up somewhere else.
The agent already sends what's needed to name the device: hardware.device and hardware.model (Build.DEVICE, Build.MODEL).
Proposed solution
Google publishes the list of Android devices supported by Google Play free of charge, as a CSV linked from https://support.google.com/googleplay/answer/1727131 (https://storage.googleapis.com/play_public/supported_devices.csv, about 4.8 MB, UTF-16). It has about 54,000 rows of Retail Branding, Marketing Name, Device and Model, for example Samsung, Galaxy S24, e1s, SM-S921B.
- Look the marketing name up by
Device+Model. About 4,900 model codes appear in more than one row, so the model alone is ambiguous: use it alone only where it is unique. - Show it where the console shows the model, for example "Samsung Galaxy S24 (SM-S921B)" on the device page and in the Devices list, and let the list search match it. Retail Branding also gives a better brand where it differs from
Build.MANUFACTURER(Redmi and POCO devices report Xiaomi). - The file is published without an explicit license, so fetching it at runtime avoids redistributing it in the repository. The server (or the supervisor, which already downloads release assets) could fetch it at start and then, say, weekly, and keep the last good copy. The download is a plain GET of a public file, so nothing about the fleet leaves the install. A setting to turn it off would suit offline installs.
- A device that isn't in the list (not certified for Google Play, or newer than the list) keeps showing the model code, as today.
If it helps, we can prepare a pull request.
Alternatives considered
Settings.Global.DEVICE_NAME, reported by the agent: on many devices it is the marketing name by default, but users can rename the device, so it isn't reliable.- A copy of the list bundled with the console: simpler, but it goes stale, and it redistributes a file published without a license.
Before submitting
- I searched existing issues and discussions for the same idea.
- 主要语言
- Java
- 星标
- 44
- 派生
- 25
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 80
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MDMesh-app/MDMesh 的其他 Issue
-
enhancement
难度 1/5 1-3 小时 新手友好度 88/100
MDMesh-app/MDMesh#252 ·
维护者通常 2 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
MDMesh-app/MDMesh#253 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
MDMesh-app/MDMesh#232 ·
维护者通常 2 天内回复
-
enhancement
难度 3/5 半天 新手友好度 45/100
MDMesh-app/MDMesh#205 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
MDMesh-app/MDMesh#204 · 2 条评论 ·
维护者通常 2 天内回复
查看 MDMesh-app/MDMesh 的全部 Issue
相似的 Issue
-
status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 74/100
spring-projects/spring-ai#7459 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
Type: Possible bug
难度 2/5 1-3 小时 新手友好度 72/100
AntennaPod/AntennaPod#8946 ·
维护者通常 1 天内回复
-
Core Documentation
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
Default exclude patterns drop production files whose names end in "test" or "spec" (Contest.java, Latest.swift, Aspec.hs)可能已有人在做 @alex09x 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
alibaba/open-code-review#2078 ·
维护者通常 1 天内回复