Skip to content

feat: 进程列表的基本优先级显示为优先级类别 - #116

Merged
Ray-lea merged 5 commits into
Ray-lea:mainfrom
digital-bombyx:feat/base-priority-names
Nov 15, 2026
Merged

Ray-lea merged 5 commits into
Ray-lea:mainfrom
digital-bombyx:feat/base-priority-names

Conversation

@digital-bombyx

Copy link
Copy Markdown
Contributor

改动内容 / Changes

“基本优先级”列此前只显示数字(8、13 等),而详细信息面板显示的是类别名称(“正常”“高”等),列表中不够直观。

  • 该列改为显示优先级类别名称,与详细信息面板、优先级菜单共用同一映射(原先在 menus.rs 与 details.rs 中各有一份,现合并到 model::priority_class)。
  • Windows 直接为部分系统进程设置的、介于类别之间的值(如 services.exe 的 9、smss.exe 的 11)不属于任何类别,仍显示数字;悬停时提示它介于哪两个类别之间。详细信息面板中这些值此前显示“—”,现在显示数字。
  • 排序仍按数值;应用分组仍显示“—”。
  • 手动设定列宽时,较长的类别名称以省略号截断。
  • 列标题提示同步更新,8 种语言均已添加。

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

  • 拉取请求标题与各个提交信息符合 Conventional Commits(<type>(<scope>): <描述>)/ The title and commit messages follow Conventional Commits
  • start.bat check 通过 / start.bat check passes(rustfmt、clippy -D warnings、i18n、新增测试)
  • 行为变化已同步到 docs/ 中对应的页面 / Behavior changes are reflected in docs/(文档未提及该列,无需修改)
  • 文案已写入 locales/ 的中文与英文目录 / New text is in both the Chinese and English catalogs under locales/
  • 界面改动附有截图,并按性能基线测量了开销 / UI changes include screenshots and a measurement against the performance baseline(仅改变单元格文本,无额外开销)
111 222 333

“基本优先级”列此前只显示数字,详细信息面板则显示类别名称。现与详细信息面板、优先级菜单共用同一映射,显示“正常”“高”等类别;Windows 直接为部分系统进程设置的类别之间的值(如 services.exe 的 9、smss.exe 的 11)仍显示数字,悬停时说明它介于哪两个类别之间。排序仍按数值。
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T00:07:19.221277Z b39ba25 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src-gpui/src/frontend/tables.rs Resolved
首页演示表格的“基本优先级”列改为显示类别名称并按数值排序,列说明与 catalog-map、英文文案同步为新的描述。

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

digital-bombyx and others added 3 commits November 14, 2026 20:30
类别名称在法语、德语、西班牙语中较长:该列加入按内容计算列宽的文本列,超出时以省略号截断并悬停显示全文,与原生表格一致。
@Ray-lea
Ray-lea merged commit f5e45b5 into Ray-lea:main Nov 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants