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
Fixed some issues with dashboard #570
Conversation
LGTM, it just have some compilation warnings
|
return JSON.parse(atob(storedConfiguration)); | ||
const parsedConfig = JSON.parse(atob(storedConfiguration)); | ||
|
||
if (!parsedConfig[0].minW) { |
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.
should we validate here that parsedConfig.length > 0
?
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.
we define that value internally to position the widgets, it will always contain a first element unless we delete it
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.
added an extra validation
0dd113c
to
a0d4c76
Compare
fixed |
a0d4c76
to
d091119
Compare
-Added padding to the bottom of dashboard -Added calculations for linear chart tick interval -Added default min width configurations to panels. - Fixed crash on clean tenant
60eed86
to
94c18dd
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.
All issues addressed, LGTM
What does this do?
Fixed some issues with dashboard UX
-Added padding to the bottom of dashboard
-Added calculations for linear chart tick interval
-Added default min width configurations to panels.
-Fixed potential crash with clean tenants
How does it look?