Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support virtual Table #1012

Merged
merged 55 commits into from
Aug 25, 2023
Merged

feat: Support virtual Table #1012

merged 55 commits into from
Aug 25, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Aug 17, 2023

No description provided.

@vercel
Copy link

vercel bot commented Aug 17, 2023

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

Name Status Preview Comments Updated (UTC)
table ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2023 4:24pm

@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #1012 (92bd954) into master (6f538dc) will decrease coverage by 0.24%.
The diff coverage is 98.60%.

❗ Current head 92bd954 differs from pull request most recent head a03f950. Consider uploading reports for the commit a03f950 to get more accurate results

@@            Coverage Diff             @@
##           master    #1012      +/-   ##
==========================================
- Coverage   99.52%   99.29%   -0.24%     
==========================================
  Files          40       47       +7     
  Lines        3562     4369     +807     
  Branches      477      551      +74     
==========================================
+ Hits         3545     4338     +793     
- Misses         17       31      +14     
Files Changed Coverage Δ
src/hooks/useColumns/useWidthColumns.tsx 91.04% <91.04%> (ø)
src/VirtualTable/BodyGrid.tsx 96.62% <96.62%> (ø)
src/Body/BodyRow.tsx 100.00% <100.00%> (ø)
src/Body/index.tsx 100.00% <100.00%> (ø)
src/Cell/index.tsx 100.00% <100.00%> (ø)
src/Cell/useCellRender.ts 100.00% <100.00%> (ø)
src/Footer/index.tsx 100.00% <100.00%> (ø)
src/Header/Header.tsx 100.00% <100.00%> (ø)
src/Table.tsx 99.76% <100.00%> (+<0.01%) ⬆️
src/VirtualTable/BodyLine.tsx 100.00% <100.00%> (ø)
... and 9 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

src/StaticTable/BodyGrid.tsx Fixed Show fixed Hide fixed
src/StaticTable/BodyGrid.tsx Fixed Show fixed Hide fixed
Co-authored-by: Amumu <yoyo837@hotmail.com>
docs/examples/virtual.tsx Fixed Show fixed Hide fixed
if (fixColumn) {
additionalProps = {
style: {
['--virtual-width' as any]: `${componentWidth}px`,
Copy link
Contributor

Choose a reason for hiding this comment

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

style 类型,也不知道什么时候增加 --xxx

@zombieJ zombieJ changed the title [WIP] feat: Support virtual Table feat: Support virtual Table Aug 25, 2023
@zombieJ zombieJ marked this pull request as ready for review August 25, 2023 02:46
@zombieJ zombieJ merged commit eac5ce8 into master Aug 25, 2023
8 checks passed
@zombieJ zombieJ deleted the static-table branch August 25, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants