Skip to content

fix(facet): scroll speed options & pagination totals#1031

Merged
xingwanying merged 4 commits intomasterfrom
fix/scrollspeedOpts
Jan 20, 2022
Merged

fix(facet): scroll speed options & pagination totals#1031
xingwanying merged 4 commits intomasterfrom
fix/scrollspeedOpts

Conversation

@zxc0328
Copy link
Copy Markdown
Member

@zxc0328 zxc0328 commented Jan 20, 2022

👀 PR includes

修复 #1017 中 setOptions 时 scrollSpeedRatio 取值不正确的问题。
修复 #1016 中 React 组件未读取 pagination.total 的问题

🔗 Related issue link

close #1017
close #1016

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 20, 2022

🎊 PR Preview has been successfully built and deployed to https://s2-preview-pr-1031.surge.sh

YardWill
YardWill previously approved these changes Jan 20, 2022
Copy link
Copy Markdown
Member

@YardWill YardWill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 20, 2022

Size Change: +305 B (0%)

Total Size: 189 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 118 kB -114 B (0%)
./packages/s2-react/dist/index.min.js 67.9 kB +419 B (+1%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/style.min.css 356 B
./packages/s2-react/dist/style.min.css 3.1 kB

compressed-size-action

@zxc0328 zxc0328 changed the title fix(facet): scroll speed options fix(facet): scroll speed options & pagination totals Jan 20, 2022
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 20, 2022

Codecov Report

Merging #1031 (358d401) into master (f7ba78f) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1031      +/-   ##
==========================================
+ Coverage   71.88%   71.92%   +0.04%     
==========================================
  Files         170      170              
  Lines       12243    12243              
  Branches     2884     2884              
==========================================
+ Hits         8801     8806       +5     
+ Misses       2244     2243       -1     
+ Partials     1198     1194       -4     
Impacted Files Coverage Δ
packages/s2-core/src/facet/base-facet.ts 73.37% <ø> (+0.39%) ⬆️
packages/s2-core/src/cell/header-cell.ts 51.94% <0.00%> (+0.48%) ⬆️
...ckages/s2-core/src/interaction/event-controller.ts 81.63% <0.00%> (+0.81%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7ba78f...358d401. Read the comment docs.

@xingwanying xingwanying merged commit 2082c22 into master Jan 20, 2022
@xingwanying xingwanying deleted the fix/scrollspeedOpts branch January 20, 2022 15:24
YardWill added a commit that referenced this pull request Jan 24, 2022
* chore: 🤖 auto sync site s2 lock and changelog [skip ci] (#1004)

* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore: 🤖 auto sync site s2 lock and changelog [skip ci]

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Update base-facet.ts (#1009)

手机端滑动问题修改

* docs: 修复文档404链接和报错demo (#1025)

* chore(ci): 新增 prerelease 推送 & CI 细节调整 (#1027)

* chore(ci): 新增 prerelease 推送 & ci 细节调整

* chore(ci): 去掉 --ignore-scripts

* chore(ci): 去掉 --ignore-scripts

* fix(facet): scroll speed options & pagination totals (#1031)

* fix: scrollSpeedRatio value

* fix: ts err

* fix: revert change

* fix: pagination total

* fix(s2-core): 修复延迟销毁表格时没有移除canvas节点的问题 close #1011 (#1033)

* docs: 增加小册子demo《哲学家的观点》 (#1035)

* fix(tooltip): 修复单元格文字过长时 tooltip 显示被截断 close #1028 (#1034)

* feat: 支持配置前端计算小计/总计 (#921)

* feat: surport caculate totals in pivot data set

* test: add number calculate and totals calculate test

* refactor: change totals type to readonly

* refactor: code style

* refactor: code style and optimize test

* docs: add calcTotals's docs and demos

* fix: get cell data

* test: table facet test's width

* feat: 重构前端计算汇总值

* test: 增加前端计算totals测试

* refactor: 抽离getAggregationAndCalcFuncByQuery到utils

* test: 增加getAggregationAndCalcFuncByQuery的测试

* docs: 小计总计文档更新

* fix(tooltip): 修复明细表列头的 tooltip 内容被错误的格式化 close #998 (#1036)

* fix(tooltip): 修复明细表列头的 tooltip 内容被错误的格式化 close #998

* chore: 还原 meta

* test: 修复测试

* fix(interactive): table move problem (#1013)

* fix: table move problem

* fix: code

* fix: v

* fix: move

* fix: calculateInViewIndexes

* feat: update table facet

* fix: v

* fix: code 整理

* fix: 修复测试用例

Co-authored-by: xinhui.zxh <[email protected]>

* docs: 优化demo《哲学家的观点》 (#1038)

* feat: 完善交叉表分页功能 (#1037)

* chore: s2-react watch script

* fix: maxHeight等于offset数组值时下标返回偏大

* fix(s2react): 交叉表初始化未更新分页total

* fix(facet): 序号列无法渲染

* fix(pivotfacet): 渲染行数返回错误

* fix(facet): 按视窗高度剪裁行头和序号列

* fix: 计算文字位置时应使用viewportHeight视窗高度

* fix(facet): rowIndexHeader可能为null

* fix(facet): 序号列应早于列头添加到group (#1040)

* chore(release): @antv/[email protected] @antv/[email protected] (#1039)

* chore(release): @antv/[email protected] @antv/[email protected] (#1039) (#1041)

This reverts commit 0d538f2.

* chore(release): @antv/[email protected] @antv/[email protected]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gehaiyi <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: yangzhanmei <[email protected]>
Co-authored-by: 刘嘉一 <[email protected]>
@lijinke666
Copy link
Copy Markdown
Member

🎉 This PR is included in version @antv/s2-v1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Copy Markdown
Member

🎉 This PR is included in version @antv/s2-react-v1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Copy Markdown
Member

🎉 This PR is included in version @antv/s2-v1.7.0-alpha.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Copy Markdown
Member

🎉 This PR is included in version @antv/s2-react-v1.7.0-alpha.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

wjgogogo pushed a commit that referenced this pull request Oct 25, 2023
* fix: scrollSpeedRatio value

* fix: ts err

* fix: revert change

* fix: pagination total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛官方例子的自定义滚动速度修改无效 🐛明细表通过options传入了pagination,但是pagination.total未生效

4 participants