Skip to content

Comments

feat: 列头支持grid-tree#3303

Open
Alexzjt wants to merge 15 commits intonextfrom
feat/colGridTree
Open

feat: 列头支持grid-tree#3303
Alexzjt wants to merge 15 commits intonextfrom
feat/colGridTree

Conversation

@Alexzjt
Copy link
Contributor

@Alexzjt Alexzjt commented Jan 27, 2026

👀 PR includes

✨ Feature

  • New feature

🐛 Bugfix

🔧 Chore

  • Test case
  • Docs / demos update
  • CI / workflow
  • Release version
  • Other ()

📝 Description

🖼️ Screenshot

Before After

🔗 Related issue link

🔍 Self-Check before the merge

  • Add or update relevant docs.
  • Add or update relevant demos.
  • Add or update test case.
  • Add or update relevant TypeScript definitions.

@github-actions github-actions bot added the pr(feature) new feature label Jan 27, 2026
@github-actions
Copy link
Contributor

你好 @Alexzjt,非常感谢你的贡献.
为了让代码更健壮, 请根据 贡献指南 补充相应单元测试 (文档改动或其他特殊场景除外), 如果有 API 改动, 请修改 相应的文档.
同时请检查 linttest 相关 CI 是否通过, 如果失败, 请点击 [Details] 按钮查看, 并根据日志修复.

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.
At the same time, please check whether the CI related to lint and test passes. If the CI fails, please click [Details] button to check and repair according to the log.

@github-actions github-actions bot added the next 2.0-next 版本的问题 label Jan 27, 2026
# Conflicts:
#	packages/s2-core/src/data-set/pivot-data-set.ts
#	packages/s2-core/src/sheet-type/pivot-sheet.ts
#	packages/s2-core/src/sheet-type/spread-sheet.ts
#	packages/s2-core/src/sheet-type/table-sheet.ts
#	s2-site/docs/api/general/s2-options.zh.md
#	s2-site/docs/manual/basic/sheet-type/pivot-mode.en.md
#	s2-site/docs/manual/basic/sheet-type/pivot-mode.zh.md
#	s2-site/examples/basic/pivot/demo/meta.json
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2026

Codecov Report

❌ Patch coverage is 43.20388% with 117 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.94%. Comparing base (ecdc9c8) to head (d12d14e).
⚠️ Report is 774 commits behind head on next.

Files with missing lines Patch % Lines
.../src/facet/layout/build-col-grid-tree-hierarchy.ts 15.70% 72 Missing and 30 partials ⚠️
packages/s2-core/src/cell/col-cell.ts 86.66% 1 Missing and 5 partials ⚠️
...s2-core/src/facet/layout/build-header-hierarchy.ts 58.33% 0 Missing and 5 partials ⚠️
packages/s2-core/src/sheet-type/pivot-sheet.ts 86.95% 2 Missing and 1 partial ⚠️
packages/s2-core/src/data-set/pivot-data-set.ts 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             next    #3303      +/-   ##
==========================================
+ Coverage   75.77%   77.94%   +2.17%     
==========================================
  Files         257      225      -32     
  Lines       11994    12609     +615     
  Branches     2464     2850     +386     
==========================================
+ Hits         9088     9828     +740     
+ Misses       1398     1053     -345     
- Partials     1508     1728     +220     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2026

Size Change: +872 B (+0.12%)

Total Size: 740 kB

Filename Size Change
./packages/s2-core/dist/s2-extends.min.js 208 kB +266 B (+0.13%)
./packages/s2-core/dist/s2.min.css 581 B -2 B (-0.34%)
./packages/s2-core/dist/s2.min.js 308 kB +608 B (+0.2%)
ℹ️ View Unchanged
Filename Size
./packages/s2-react-components/dist/s2-react-components.min.css 2.55 kB
./packages/s2-react-components/dist/s2-react-components.min.js 123 kB
./packages/s2-react/dist/s2-react.min.css 1.3 kB
./packages/s2-react/dist/s2-react.min.js 38.5 kB
./packages/s2-vue/dist/s2-vue.min.css 3.8 kB
./packages/s2-vue/dist/s2-vue.min.js 54.2 kB

compressed-size-action

@github-actions
Copy link
Contributor

你好, @Alexzjt CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。

Hello, @Alexzjt CI run failed, please click the [Details] button for detailed log information and fix it.

@github-actions github-actions bot added the 🚨 test failed 单元测试挂了 label Jan 27, 2026
@github-actions github-actions bot removed the 🚨 test failed 单元测试挂了 label Jan 27, 2026
@bqingyu
Copy link

bqingyu commented Feb 4, 2026

目前安装v2.6.0-alpha.1版本,hierarchyType设置为'grid-tree',layoutWidthType设置'adaptive',表格折叠列全部折叠,单元格宽度变窄后,当文字超出表格宽度,部分文字会被遮挡,显示不全
image

@Alexzjt
Copy link
Contributor Author

Alexzjt commented Feb 4, 2026

@bqingyu 图挂了。有一些已知问题没解决所以一直没合入

@bqingyu
Copy link

bqingyu commented Feb 5, 2026

@bqingyu 图挂了。有一些已知问题没解决所以一直没合入

图片已重新上传,目前该功能稳定版本预计什么时候发布,有个业务需求需要用到表格列折叠

@Alexzjt
Copy link
Contributor Author

Alexzjt commented Feb 5, 2026

@bqingyu 图挂了。有一些已知问题没解决所以一直没合入

图片已重新上传,目前该功能稳定版本预计什么时候发布,有个业务需求需要用到表格列折叠

你指的是2.6.0-alpha.1 包含的行头折叠吧,春节前会发。列头折叠还没有发过版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

next 2.0-next 版本的问题 pr(feature) new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🙏列的折叠展开

3 participants