-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dashboard Grid Layout #1586
Dashboard Grid Layout #1586
Conversation
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 think this looks good. Just noticed the two small nit picks I commented on.
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.
Great start guys
sx={{ | ||
'--unstable_DataGrid-radius': '0px', | ||
border: 'none', | ||
maxHeight, |
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.
Instead of using JS to find element height, you can use a container query.
<Box sx={{ containerType: 'size' }}>
<DataGridPro sx={{ height: '100cqh' }} />
</Box>
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.
The DataGrid implementation is being moved to the specific Widget (ie: TeamNewsWidget) and will be addressed there.
6148b35
to
bf5a83b
Compare
bf5a83b
to
b854098
Compare
Thanks guys! Let's just merge this into #1587 to track in one PR |
In this change we're adding the ability for configurable widgets and a My Dashboard page.
The Dashboard grid uses a CSS Grid layout (defaults to 12 columns and rows). My hope is that this can also be a foundation for customizable (drag and drop and/or resizable widgets)
Monday Task