Skip to content

Conversation

@Alexzjt
Copy link
Contributor

@Alexzjt Alexzjt commented Nov 6, 2025

需要在预发验证。

@gemini-code-assist
Copy link

Summary of Changes

Hello @Alexzjt, 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!

This pull request primarily focuses on upgrading the site's theme package to a beta version, which introduces significant structural and UI changes. Key updates include the removal of existing 'Case' and 'Quick Issue' pages, the integration of a new AI-focused HomeDialog component on the main banner, and a refresh of the site's core slogan to 'Liven AGI Lively'. These changes streamline the site's content and introduce new interactive elements, aligning with the updated theme's capabilities.

Highlights

  • Theme Package Upgrade: The @antv/dumi-theme-antv package has been updated to its beta version, alongside an upgrade of dumi to ~2.4.21.
  • Removal of Case and Quick Issue Pages: Dedicated pages and components for 'Case' and 'Quick Issue' functionalities have been removed from the site structure and navigation.
  • Integration of AI Home Dialog: A new HomeDialog component, likely related to AI features, has been integrated into the main banner, replacing previous action buttons and altering the layout.
  • Slogan Update: The site's main slogan has been updated to '·让AGI栩栩如生' (Liven AGI Lively), reflecting a shift in focus.
  • Configuration and Dependency Updates: Several configuration files (.dumirc.ts, package.json) have been updated to reflect the new theme, remove old page configurations, add new dependencies (ahooks, @tanstack/react-query), and adjust site metadata.
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

@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

This pull request primarily updates the @antv/dumi-theme-antv package to its beta version and refactors the codebase to align with the new theme. This includes updating dependencies, removing now-redundant pages, and adjusting configurations. The changes are logical and well-executed. I've provided a couple of suggestions to improve adherence to React best practices, specifically regarding the use of keys in lists.

@Alexzjt
Copy link
Contributor Author

Alexzjt commented Nov 6, 2025

/gemini review

Copy link

@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

本次 PR 主要将 @antv/dumi-theme-antv 主题包升级到了 beta 版本,并进行了一系列适配工作。主要变更包括:

  1. 在首页引入了新的 AI 对话框功能 (HomeDialog)。
  2. 移除了旧的“场景案例”和“提交 Issue”页面,相关路由和组件也一并删除。
  3. 更新了 package.json 中的依赖,移除了不再使用的包,并添加了新主题包所需的依赖。
  4. 修复了部分 React 组件中 map 循环缺少 keykey 不唯一的问题。

整体来看,变更方向明确,大部分修改是合理的。不过我发现了一个 key 属性设置不当的 bug 和一处文案不一致的小问题,建议修复。

@Alexzjt
Copy link
Contributor Author

Alexzjt commented Nov 6, 2025

/gemini review

Copy link

@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

本次拉取请求主要目的是切换到 dumi-theme-antv 的 beta 版本主题包。这涉及到对依赖项、本地化文件、Dumi 配置以及部分 UI 组件的重大更新。主要变更包括:移除了旧的 casequick 页面及其相关组件和样式文件,这表明这些功能可能已被新主题包中的组件取代或不再需要。更新了 package.json 中的依赖,将 dumi-theme-antv 切换到 beta 版本,并升级了 dumi。同时,引入了 ahooks@tanstack/react-query,并移除了多个旧的 AntV 相关库和 d3。更新了 .dumirc.ts 配置,包括 GitHub URL、移除了旧的菜单项,并新增了 metas 配置用于 SEO,以及 https 配置。更新了 Banner 组件,引入了 HomeDialog 组件,并调整了样式以适应新的布局。总的来说,这些变更与切换到 beta 主题包的目标一致。需要注意的是,在 package.json 中使用 "beta" 作为版本号可能导致不稳定的依赖,建议使用具体的版本号以确保构建的稳定性。

@Alexzjt Alexzjt changed the title Use the beta version theme package feat: AI development and QA Nov 6, 2025
@Alexzjt Alexzjt merged commit befd93f into master Nov 6, 2025
1 check passed
@Alexzjt Alexzjt deleted the AI branch November 6, 2025 12:57
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