Skip to content

fix: correct desktopname in zh_CN basic-operations markdown - #637

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:release/eaglefrom
GongHeng2017:202607201416-re-eagle-fix
Jul 23, 2026
Merged

fix: correct desktopname in zh_CN basic-operations markdown#637
deepin-bot[bot] merged 1 commit into
linuxdeepin:release/eaglefrom
GongHeng2017:202607201416-re-eagle-fix

Conversation

@GongHeng2017

@GongHeng2017 GongHeng2017 commented Jul 20, 2026

Copy link
Copy Markdown

Fix the desktopname field in zh_CN basic-operations.md which was mistakenly set to "Get started with UOS" instead of the expected "learn-basic-operations", causing the search result icon to fail loading and the title to display raw text.

修复 zh_CN 版 basic-operations.md 首行的 desktopname 字段,原值 "Get started with UOS" 应为 "learn-basic-operations",导致搜索 结果界面图标损坏、标题显示为英文原文。

Log: 修复 zh_CN 快速入门文档 desktopname 字段错误导致搜索结果图标异常
PMS: BUG-363959
Influence: 搜索"文件管理器"/"全局搜索"时该文档图标显示为损坏图样且标题显示为英文

Summary by Sourcery

Documentation:

  • Fix the desktopname field in the zh_CN basic-operations guide so that search results show the correct icon and localized title.

Fix the desktopname field in zh_CN basic-operations.md which was
mistakenly set to "Get started with UOS" instead of the expected
"learn-basic-operations", causing the search result icon to fail
loading and the title to display raw text.

修复 zh_CN 版 basic-operations.md 首行的 desktopname 字段,原值
"Get started with UOS" 应为 "learn-basic-operations",导致搜索
结果界面图标损坏、标题显示为英文原文。

Log: 修复 zh_CN 快速入门文档 desktopname 字段错误导致搜索结果图标异常
PMS: BUG-363959
Influence: 搜索"文件管理器"/"全局搜索"时该文档图标显示为损坏图样且标题显示为英文
@sourcery-ai

sourcery-ai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the zh_CN basic-operations documentation metadata so the desktopname matches the expected identifier used by the search system, fixing the broken icon and incorrect title in search results.

Flow diagram for search using desktopname in documentation metadata

flowchart LR
  A[basic-operations.md header
  desktopname=learn-basic-operations] --> B[Search_indexer reads desktopname]
  B --> C[Search_results use desktopname]
  C --> D[Load icon for learn-basic-operations]
  C --> E[Display localized title 如何快速上手UOS]
Loading

File-Level Changes

Change Details Files
Corrected the desktopname identifier in the zh_CN basic-operations markdown header to align with the expected metadata key used by the search UI.
  • Updated the header metadata after the main title from the English label to the canonical identifier string used elsewhere in the docs set
  • Ensured the desktopname value now matches the directory/topic name so that search result icons and titles render correctly
manual-assets/learn-basic-operations/basic-operations/zh_CN/basic-operations.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot

Copy link
Copy Markdown

deepin pr auto review

★ 总体评分:100分

■ 【总体评价】

代码修改了文档的一级标题后缀,使其与当前文件路径保持一致,提升了文档的规范性。
逻辑正确且无任何安全漏洞,修改内容清晰明确,无需扣分。

■ 【详细分析】

  • 1.语法逻辑(完全正确)✓

修改了 basic-operations.md 文件的第一行标题,将后缀从 Get started with UOS 改为 learn-basic-operations,Markdown 语法正确,未破坏原有文档结构。
潜在问题:无
建议:无需修改

  • 2.代码质量(良好)✓

标题后缀修改为 learn-basic-operations,与文件所在的目录路径 learn-basic-operations/basic-operations/zh_CN/ 保持高度一致,提升了文档的命名一致性和可维护性。
潜在问题:无
建议:无需修改

  • 3.代码性能(无性能问题)✓

本次修改仅涉及纯文本内容的替换,不涉及任何逻辑运算或资源调用,对文档渲染和加载性能无影响。
建议:无需修改

  • 4.代码安全(存在0个安全漏洞)✓

漏洞对比统计:新增漏洞 0 个,减少漏洞 0 个,持平 0 个
本次修改为文档标题文本调整,不涉及任何代码执行、外部输入解析或敏感信息处理,不存在安全风险。

  • 建议:无需修改

■ 【改进建议代码示例】

# 如何快速上手UOS|learn-basic-operations|

![welcome](./fig/welcome-screen.png)

@sourcery-ai sourcery-ai 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.

Hey - I've left some high level feedback:

  • Consider scanning other localized basic-operations markdown files to ensure their desktopname fields are consistent with the expected identifier so similar search/icon issues don’t exist elsewhere.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider scanning other localized basic-operations markdown files to ensure their desktopname fields are consistent with the expected identifier so similar search/icon issues don’t exist elsewhere.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: GongHeng2017, max-lvs

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@GongHeng2017

Copy link
Copy Markdown
Author

/forcemerge

@deepin-bot

deepin-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This pr force merged! (status: unstable)

@deepin-bot
deepin-bot Bot merged commit d8f0f43 into linuxdeepin:release/eagle Jul 23, 2026
18 of 20 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.

3 participants