Skip to content

feat(MusicWiki): 在音乐百科页面上显示发布日期#1000

Merged
apoint123 merged 1 commit into
SPlayer-Dev:devfrom
MoYingJi:pr/csi
Mar 15, 2026
Merged

feat(MusicWiki): 在音乐百科页面上显示发布日期#1000
apoint123 merged 1 commit into
SPlayer-Dev:devfrom
MoYingJi:pr/csi

Conversation

@MoYingJi
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 15, 2026 01:15
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

此拉取请求主要在音乐百科页面上增强了歌曲信息的展示,增加了发布日期的显示,并对页面中可点击的艺术家和专辑名称的样式进行了优化,使其更具交互性。

Highlights

  • 新增发布日期显示: 在歌曲百科页面上新增了歌曲的发布日期显示,使用 createTime 字段并格式化为 "YYYY-MM-DD" 格式。
  • 样式优化: 统一了艺术家和专辑名称的点击样式,通过引入 clickable-text 类来管理可点击文本的悬停效果。
Changelog
  • src/views/Song/wiki.vue
    • 新增了歌曲发布日期的显示。
    • 为艺术家和专辑名称添加了 clickable-text CSS 类。
    • 引入了 formatTimestamp 工具函数来格式化时间戳。
    • 定义了一个计算属性 publishTime 来处理发布日期的格式化逻辑。
    • 更新了样式规则,将 .n-text 的悬停效果迁移到 .clickable-text
Activity
  • MoYingJi 创建了此拉取请求。
  • 此拉取请求的标题是 "feat(MusicWiki): 在音乐百科页面上显示发布日期"。
  • 此拉取请求的描述为空。
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

此 PR 为 MusicWiki(歌曲百科)页面补充展示歌曲的发布日期信息,并统一页面内可点击文本(歌手/专辑)的鼠标样式提示,使信息展示更完整、交互更明确。

Changes:

  • 在歌曲百科页头部 meta 区新增“发布日期”展示(基于 currentSong.createTime 格式化)。
  • 为歌手列表与专辑名添加 clickable-text 样式类,限定仅可点击项显示 hover/cursor 效果。
  • 引入并使用 formatTimestamp 统一日期格式化逻辑。

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

此拉取请求为音乐百科页面添加了发布日期的显示。同时,为了提高代码的可维护性,对艺术家和专辑名称等可点击文本元素的样式进行了重构,使其作用域更明确。实现方式清晰,并遵循了项目现有的模式。通过创建一个名为 publishTime 的计算属性来格式化日期,并使用新的时间图标进行展示。我发现了一个与时间戳处理相关的潜在问题,并提供了一个修复建议。

Comment thread src/views/Song/wiki.vue
@MoYingJi MoYingJi force-pushed the pr/csi branch 2 times, most recently from e012363 to 611722f Compare March 15, 2026 01:41
@apoint123 apoint123 merged commit 9730f57 into SPlayer-Dev:dev Mar 15, 2026
@MoYingJi MoYingJi deleted the pr/csi branch March 15, 2026 17:14
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