Skip to content

Conversation

@Liooo
Copy link
Contributor

@Liooo Liooo commented Oct 20, 2024

This PR is a successor of #2942, as it's not looking active anymore.
The following 3 commits are added from the original PR:

  1. ffa2b23 merging latest main to the PR
  2. c3068ef fix some typing
  3. 0e614dc allow overwriting style for cellRenderer

The reason behind the 3rd commit is, it was necessary to accomplish animated row reordering using https://github.com/clauderic/dnd-kit like below (this is my specific usecase but it should be useful in other scenarios as well):

dnd-kit-row-order

Liooo added 3 commits October 20, 2024 18:04
* origin/main:
  Node 23 (Comcast#3618)
  Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 (Comcast#3616)
  Implement download without `react-dom/server` (Comcast#3613)
  Bump @biomejs/biome from 1.8.3 to 1.9.3 (Comcast#3612)
@Liooo
Copy link
Contributor Author

Liooo commented Oct 29, 2024

@amanmahajan7 @nstepien

Sorry for bothering, please take a look as it's almost there 🙏

@Liooo
Copy link
Contributor Author

Liooo commented Nov 2, 2024

ping @amanmahajan7 @nstepien

plz 🙇🙇🙇

src/Cell.tsx Outdated
tabIndex={tabIndex}
className={className}
style={getCellStyle(column, colSpan)}
style={cellStyle}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
style={cellStyle}
style={{
...getCellStyle(column, colSpan),
...style
}}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@amanmahajan7 applied in 35004a0 🙏

@Liooo Liooo requested a review from amanmahajan7 November 11, 2024 21:57
@codecov
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.06%. Comparing base (0604403) to head (6c62ed1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3621      +/-   ##
==========================================
- Coverage   91.56%   91.06%   -0.51%     
==========================================
  Files          48       48              
  Lines        3440     3458      +18     
  Branches      690      677      -13     
==========================================
- Hits         3150     3149       -1     
- Misses        290      309      +19     
Files with missing lines Coverage Δ
src/Cell.tsx 100.00% <100.00%> (ø)
src/DataGrid.tsx 87.70% <100.00%> (-3.24%) ⬇️
src/Row.tsx 98.01% <100.00%> (+0.99%) ⬆️
src/index.ts 100.00% <100.00%> (ø)
src/types.ts 100.00% <ø> (ø)

... and 6 files with indirect coverage changes

Copy link
Collaborator

@amanmahajan7 amanmahajan7 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR

@amanmahajan7 amanmahajan7 merged commit ff441ba into Comcast:main Nov 11, 2024
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.

4 participants