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(data-grid): support dynamic row height (VIV-1602) #1641

Merged
merged 6 commits into from
Mar 28, 2024

Conversation

RichardHelm
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d61b119) to head (8c21348).
Report is 878 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #1641     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files          123       320    +197     
  Lines         1562      5375   +3813     
  Branches       108       652    +544     
===========================================
+ Hits          1562      5375   +3813     
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

apps/docs/assets/styles/main.css Show resolved Hide resolved
libs/components/src/lib/data-grid/README.md Outdated Show resolved Hide resolved
libs/components/src/lib/data-grid/README.md Outdated Show resolved Hide resolved
@@ -31,11 +33,15 @@
display: flex;
box-sizing: border-box;
align-items: center;
padding: 8px 12px;
padding: 14px 12px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
padding: 14px 12px;
padding: 12px;

14px is not on the 8px scale...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The value is taken from the current design in Figma. I've asked Ayala to comment on it.
However, I don't think it really matters, as changing the margin would be a breaking change and is unrelated to this ticket.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it will be a breaking change as cell has min-height of 48px, so it can be either way.
And only if its bigger then 48px then the padding make a difference.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it will be a breaking change as cell has min-height of 48px, so it can be either way.
And only if its bigger then 48px then the padding make a difference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but I think the padding should always be the same

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@AyalaBu AyalaBu Mar 28, 2024

Choose a reason for hiding this comment

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

the padding should be left 14px

RichardHelm and others added 4 commits March 20, 2024 12:36
Co-authored-by: Rachel Bratt Tannenbaum <rachelbt@users.noreply.github.com>
Co-authored-by: Rachel Bratt Tannenbaum <rachelbt@users.noreply.github.com>
@RichardHelm RichardHelm merged commit 012cd9f into main Mar 28, 2024
15 checks passed
@RichardHelm RichardHelm deleted the VIV-1602-flexible-row-height branch March 28, 2024 13:15
@github-actions github-actions bot mentioned this pull request Mar 27, 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.

3 participants