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

[DataGrid] Fix behavior of the hideFooter prop #846

Merged
merged 7 commits into from
Jan 13, 2021

Conversation

dtassone
Copy link
Member

No description provided.

@dtassone dtassone changed the title Fix stories Fix custom footer hiding issue, and custom component stories Jan 12, 2021
@dtassone dtassone changed the title Fix custom footer hiding issue, and custom component stories Fix custom footer hiding issue #821, and custom component stories Jan 12, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

"good first issue" are meant to help onboard contributions from the community. If core team members are working on them, it makes them useless. The objective is to hopefully grow open source contributors on the MIT side. If react-table has 260 contributors, material-table 162, there is no reason we can't have a similar amount with the MIT DataGrid component.

@dtassone
Copy link
Member Author

"good first issue" are meant to help onboard contributions from the community. If core team members are working on them, it makes them useless. The objective is to hopefully grow open source contributors on the MIT side. If react-table has 260 contributors, material-table 162, there is no reason we can't have a similar amount with the MIT DataGrid component.

I know, but as I was around the area, I felt bad not fixing it.

@DanailH
Copy link
Member

DanailH commented Jan 13, 2021

Just a note - it makes sense to do the same for the showToolbar prop.

@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 13, 2021

it makes sense to do the same for the showToolbar prop.

Aren't the toolbar and the header two different notions? Like footer and pagination, one is inside the other?

How about we don't touch this area as we will remove the showToolbar prop in the near future?

@dtassone
Copy link
Member Author

dtassone commented Jan 13, 2021

it makes sense to do the same for the showToolbar prop.

Aren't the toolbar and the header two different notions? Like footer and pagination, one is inside the other?

Yes it is as to override the toolbar, you have to use the header component

How about we don't touch this area as we will remove the showToolbar prop in the near future?

Reverted

@dtassone dtassone merged commit ee73084 into mui:master Jan 13, 2021
@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 13, 2021

@dtassone Regarding the format of the pull request, it would be better if we were following the other ones. For instance, #821 is still open.

In the round-robin for the release, you are next for making the release, hopefully, you will see the impact of the current pull request title :).

Capture d’écran 2021-01-13 à 11 20 35

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Jan 16, 2021
@oliviertassinari oliviertassinari changed the title Fix custom footer hiding issue #821, and custom component stories [DataGrid] Fix behavior of the hideFooter prop Jan 16, 2021
@oliviertassinari oliviertassinari changed the title [DataGrid] Fix behavior of the hideFooter prop [DataGrid] Fix behavior of the hideFooter prop Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants