Skip to content

fix: 修复navBar配置项中文注释错误 - #509

Merged
CuteLeaf merged 1 commit into
CuteLeaf:masterfrom
Sonder9999:master
Jul 21, 2026
Merged

CuteLeaf merged 1 commit into
CuteLeaf:masterfrom
Sonder9999:master

Conversation

@Sonder9999

@Sonder9999 Sonder9999 commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix (a non-breaking change that fixes an issue)

Changes

就这一个文件,单纯注释写错了
image

Summary by Sourcery

增强内容:

  • 更新导航栏项目的注释,以准确描述 Friends 和 Guestbook 链接。
Original summary in English

Summary by Sourcery

Enhancements:

  • Update nav bar item comments to accurately describe the Friends and Guestbook links.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

@Sonder9999 is attempting to deploy a commit to the xiaye's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for demo-firefly ready!

Name Link
🔨 Latest commit 905288b
🔍 Latest deploy log https://app.netlify.com/projects/demo-firefly/deploys/6a5e7218f8ad4c000807f663
😎 Deploy Preview https://deploy-preview-509--demo-firefly.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sourcery-ai

sourcery-ai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
审阅者指南(在小型 PR 上折叠显示)

审阅者指南

更新动态导航栏配置中的中文注释,使其正确描述所链接的预设,而不改变任何运行时行为。

文件级改动

变更 详情 文件
修正导航栏链接预设的中文注释标签,使其与实际跳转目标一致。
  • 将 Friends 链接预设上方的注释,从“照片相册”改为描述为“友情链接”板块。
  • 将 Guestbook 链接预设上方的注释,从“追番记录”改为描述为“留言板/访客簿”板块。
src/config/navBarConfig.ts

使用技巧与命令

与 Sourcery 交互

  • 触发新审阅: 在 pull request 中评论 @sourcery-ai review。
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 从审阅评论生成 GitHub issue: 在某条审阅评论下回复,要求 Sourcery 基于该评论创建一个 issue。你也可以直接回复 @sourcery-ai issue,从该条审阅评论创建一个 issue。
  • 生成 pull request 标题: 在 pull request 标题任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 pull request 中评论 @sourcery-ai title 以(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文任意位置写上 @sourcery-ai summary,即可在该位置生成 PR 摘要。你也可以在 pull request 中评论 @sourcery-ai summary 以(重新)生成摘要。
  • 生成审阅者指南: 在 pull request 中评论 @sourcery-ai guide,即可随时(重新)生成审阅者指南。
  • 一键解决所有 Sourcery 评论: 在 pull request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理了所有评论且不想再看到它们,这会很有用。
  • 一键忽略所有 Sourcery 审阅: 在 pull request 中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审阅。尤其适用于你想从头开始一次新的审阅——别忘了再评论 @sourcery-ai review 以触发新的审阅!

自定义你的体验

访问你的 控制面板 来:

  • 启用或禁用审阅功能,例如 Sourcery 生成的 pull request 摘要、审阅者指南等。
  • 更改审阅语言。
  • 添加、移除或编辑自定义审阅指令。
  • 调整其他审阅设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates Chinese comments in the dynamic nav bar configuration to correctly describe the linked presets, without changing any runtime behavior.

File-Level Changes

Change Details Files
Corrected mislabeled Chinese comments for nav bar link presets to match their actual destinations.
  • Updated the comment above the Friends link preset from describing it as a photo album to describing it as a friend links section.
  • Updated the comment above the Guestbook link preset from describing it as following anime to describing it as a message/guestbook section.
src/config/navBarConfig.ts

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

@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 - 我已经审查了你的更改,看起来很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈来改进评审质量。
Original comment in English

Hey - I've reviewed your changes and they look great!


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.

@CuteLeaf
CuteLeaf merged commit 5d8fbd6 into CuteLeaf:master Jul 21, 2026
10 of 11 checks passed
Jinging27 pushed a commit to Jinging27/Firefly that referenced this pull request Aug 10, 2026
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