Show the marketing name next to the model code (e.g. Galaxy S24 for SM-S921B)
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 56/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- android, typescript
- Lĩnh vực
- full-stack, mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 44
- Fork
- 25
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 80
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MDMesh-app/MDMesh
-
enhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
MDMesh-app/MDMesh#252 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Change Kiosk TitleĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
MDMesh-app/MDMesh#253 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
MDMesh-app/MDMesh#232 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
MDMesh-app/MDMesh#205 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
MDMesh-app/MDMesh#204 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của MDMesh-app/MDMesh
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug devops low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
aphtech/brailleblaster#209 ·
Maintainer thường phản hồi trong vòng 1 ngày