-
Notifications
You must be signed in to change notification settings - Fork 56
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: add new attribute 'hiddenColumns' to configure which columns sh… #2279
feat: add new attribute 'hiddenColumns' to configure which columns sh… #2279
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2279 +/- ##
==========================================
- Coverage 95.21% 93.78% -1.44%
==========================================
Files 66 66
Lines 4288 1642 -2646
Branches 609 369 -240
==========================================
- Hits 4083 1540 -2543
+ Misses 163 67 -96
+ Partials 42 35 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hi @rbrki07, First of all thank you for your contribution. I tested your PR locally and it works as expected. In that sense, this PR could be merged right away. I think that being able to simply exclude some columns, without redefining the whole list of visible columns, is a great addition. I see you were in a discussion with @taefi on the feature details. There are some possible improvements I can see:
It is not necessary to make those changes in this PR, we can follow up with another one, but I wanted to hear your opinion about those points. |
Hi @cromoteca,
I don't think this is necessary, but I guess my opinion on this is biased. As a developer, who is using Hilla the solution proposed with this pr would be sufficient for me. As a developer, who is maintaining Hilla I guess there other valid opinions.
I think this is a valid point and a very good idea. I would prefer to handle this in a follow-up issue/pr. |
a8581a7
to
ce783d2
Compare
…ould hide in autogrid
ce783d2
to
e89d857
Compare
b83923e
to
376e8f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a new change suggestion. And if possible avoid force-pushing to ease further review. Commits will be squashed anyway when merging to main
. Thanks.
Quality Gate passedIssues Measures |
This ticket/PR has been released with Hilla 24.4.0.alpha19 and is also targeting the upcoming stable 24.4.0 version. |
Thank you @cromoteca for your guidance and support in my first pull request for Vaadin. |
…ould hide in autogrid
Description
Adding a new attribute
hiddenColumns
for AutoGrid component allowing to hide certain columns in the grid. The new attribute will be applied aftervisibleColumns
andcustomColumns
have been processed. This ensures a high flexibility when combining this attributes without being mutually exclusive.Fixes #1507
Type of change
Checklist
Additional for
Feature
type of change