Repository navigation
chore: playground 增加 grid-tree,修复 vue playground 多行文本不生效 - #3317
Conversation
|
你好 @Alexzjt,非常感谢你的贡献. Hello, @Alexzjt, Thanks for your contribution. In order to make the code more robust, please add the corresponding unit tests, and update the docs if there are API changes. |
Summary of ChangesHello @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! 此拉取请求主要旨在增强 React 和 Vue 组件的 playground 环境。它在 playground 的配置界面中引入了一个新的 Highlights
Changelog
Activity
Using Gemini Code AssistThe 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
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 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
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3317 +/- ##
==========================================
+ Coverage 75.77% 78.76% +2.99%
==========================================
Files 257 224 -33
Lines 11994 12456 +462
Branches 2464 2820 +356
==========================================
+ Hits 9088 9811 +723
+ Misses 1398 950 -448
- Partials 1508 1695 +187 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Size Change: +118 B (+0.02%) Total Size: 740 kB
ℹ️ View Unchanged
|
|
/gemini review |
There was a problem hiding this comment.
Code Review
本次 PR 主要有两个目的:
- 在 React 和 Vue 的 playground 中为透视表增加了
grid-tree的层级结构选项,替换了原有的平铺/树形切换开关。 - 修复了 Vue playground 中,当文本行数变化时,表格数据配置没有正确更新导致多行文本不生效的问题。
代码改动主要集中在 playground 组件,核心代码 s2-core 中有一处小的调整以支持 grid-tree 的单元格宽度计算。整体来看,改动清晰地实现了目标。
我提出了一些关于代码可维护性的建议,主要是建议将新添加的内联样式提取到 CSS 类中,以便于统一管理和维护。
|
/gemini review |
|
🎉 This PR is included in version @antv/s2-vue-v2.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* chore: 在 playground 中增加 grid-tree * chore: 换行配置生效 * fix: grid-tree 行头文本较长时可能会溢出单元格 * fix: tree 和 grid-tree 模式下,如果用户没有配置 totals,不应该自动聚合
Uh oh!
There was an error while loading. Please reload this page.