Repository navigation
feat: 进程列表的基本优先级显示为优先级类别 - #116
Conversation
“基本优先级”列此前只显示数字,详细信息面板则显示类别名称。现与详细信息面板、优先级菜单共用同一映射,显示“正常”“高”等类别;Windows 直接为部分系统进程设置的类别之间的值(如 services.exe 的 9、smss.exe 的 11)仍显示数字,悬停时说明它介于哪两个类别之间。排序仍按数值。
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1ecd35c5c3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
首页演示表格的“基本优先级”列改为显示类别名称并按数值排序,列说明与 catalog-map、英文文案同步为新的描述。
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e07bbe4011
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
类别名称在法语、德语、西班牙语中较长:该列加入按内容计算列宽的文本列,超出时以省略号截断并悬停显示全文,与原生表格一致。
改动内容 / Changes
“基本优先级”列此前只显示数字(8、13 等),而详细信息面板显示的是类别名称(“正常”“高”等),列表中不够直观。
menus.rs与details.rs中各有一份,现合并到model::priority_class)。The Base priority column showed raw numbers while the details pane showed class names. The column now shows the class (one shared mapping for the table, details pane and priority menu). In-between values Windows gives some system processes (9, 11) stay numbers, with a hover hint naming the classes they lie between.
检查清单 / Checklist
<type>(<scope>): <描述>)/ The title and commit messages follow Conventional Commitsstart.bat check通过 /start.bat checkpasses(rustfmt、clippy -D warnings、i18n、新增测试)docs/中对应的页面 / Behavior changes are reflected indocs/(文档未提及该列,无需修改)locales/的中文与英文目录 / New text is in both the Chinese and English catalogs underlocales/