antvis / S2

⚡️ A practical visualization library for tabular analysis.
https://s2.antv.antgroup.com
MIT License
1.49k stars 197 forks source link

feat: 增加对自定义行列头总计、小计节点和组内排序的支持,修复明细表自定义列头 icon 问题 icon closes #2898 #2893 #2934

Closed lijinke666 closed 1 month ago

lijinke666 commented 1 month ago

👀 PR includes

🎨 Enhance

🐛 Bugfix

📝 Description

  1. 透视表开启自定义行列头时, 增加对组内排序的支持
  2. 自定义行列头时, 增加对总计、小计的支持
  3. 增加自定义行列头的一些限制条件说明
  4. 修复明细表自定义列头时, 非指标也出现排序 icon 的问题

🖼️ Screenshot

Before After
image 2024-10-28 15 51 18
image 2024-10-28 15 51 40
image image

🔗 Related issue link

🔍 Self-Check before the merge

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
antvis-s2 ❌ Failed (Inspect) Oct 28, 2024 9:34am
github-actions[bot] commented 1 month ago

Size Change: -33 B (-0.01%)

Total Size: 335 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 236 kB -32 B (-0.01%)
./packages/s2-react/dist/index.min.js 70.9 kB -1 B (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./packages/s2-core/dist/style.min.css` | 388 B | | `./packages/s2-react/dist/style.min.css` | 3.77 kB | | `./packages/s2-vue/dist/index.min.js` | 22.9 kB | | `./packages/s2-vue/dist/style.min.css` | 1.85 kB |

compressed-size-action

github-actions[bot] commented 1 month ago

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

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

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 80.77%. Comparing base (ecdc9c8) to head (ada22e0). Report is 465 commits behind head on next.

Files with missing lines Patch % Lines
packages/s2-core/src/data-set/pivot-data-set.ts 66.66% 0 Missing and 2 partials :warning:
packages/s2-react/src/hooks/useSpreadSheet.ts 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #2934 +/- ## ========================================== + Coverage 75.77% 80.77% +5.00% ========================================== Files 257 179 -78 Lines 11994 10422 -1572 Branches 2464 2369 -95 ========================================== - Hits 9088 8418 -670 + Misses 1398 555 -843 + Partials 1508 1449 -59 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lijinke666 commented 3 weeks ago

:tada: This PR is included in version @antv/s2-v2.0.0-next.31 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

lijinke666 commented 3 weeks ago

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.30 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

lijinke666 commented 3 weeks ago

:tada: This PR is included in version @antv/s2-vue-v2.0.0-next.16 :tada:

The release is available on:

Your semantic-release bot :package::rocket: