antvis / S2

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

feat: 导出组件支持复制 HTML (text/html) 格式的数据 close #2828 #2865

Closed lijinke666 closed 3 weeks ago

lijinke666 commented 4 weeks ago

👀 PR includes

✨ Feature

📝 Description

  1. asyncGetAllPlainData 的基础上, 透出 asyncGetAllHtmlDataasyncGetAllData, 适配不同场景, 供开发者自由选择

text/plain

image

text/html

image

  1. 优化相关文档

🖼️ Screenshot

image

🔗 Related issue link

closes #2828 #2873

🔍 Self-Check before the merge

vercel[bot] commented 4 weeks ago

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

Name Status Preview Comments Updated (UTC)
antvis-s2 ❌ Failed (Inspect) Aug 23, 2024 9:01am
github-actions[bot] commented 4 weeks ago

Size Change: +47 B (+0.01%)

Total Size: 329 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 229 kB +17 B (+0.01%)
./packages/s2-react/dist/index.min.js 70.9 kB +30 B (+0.04%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./packages/s2-core/dist/style.min.css` | 388 B | | `./packages/s2-react/dist/style.min.css` | 3.88 kB | | `./packages/s2-vue/dist/index.min.js` | 22.9 kB | | `./packages/s2-vue/dist/style.min.css` | 1.97 kB |

compressed-size-action

codecov-commenter commented 4 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.81%. Comparing base (ecdc9c8) to head (486dcd1). Report is 427 commits behind head on next.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #2865 +/- ## ========================================== + Coverage 75.77% 80.81% +5.03% ========================================== Files 257 180 -77 Lines 11994 10412 -1582 Branches 2464 2360 -104 ========================================== - Hits 9088 8414 -674 + Misses 1398 553 -845 + Partials 1508 1445 -63 ```

: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.27 :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.26 :tada:

The release is available on:

Your semantic-release bot :package::rocket: