-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Update dependency @elastic/charts to v55 (main) #153889
Changes from 6 commits
0af960c
5c64927
86a2ef0
8e4bdda
f0f8c22
b8a84fb
9161d3e
1edf1cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ | |
"@dnd-kit/utilities": "^2.0.0", | ||
"@elastic/apm-rum": "^5.12.0", | ||
"@elastic/apm-rum-react": "^1.4.2", | ||
"@elastic/charts": "54.0.0", | ||
"@elastic/charts": "55.0.0", | ||
"@elastic/datemath": "5.0.3", | ||
"@elastic/elasticsearch": "npm:@elastic/[email protected]", | ||
"@elastic/ems-client": "8.4.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -291,10 +291,6 @@ export const SwimlaneContainer: FC<SwimlaneProps> = ({ | |
}, | ||
heatmap: { | ||
grid: { | ||
cellHeight: { | ||
min: CELL_HEIGHT, | ||
max: CELL_HEIGHT, | ||
}, | ||
Comment on lines
-294
to
-297
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the overall chart height is computed based on the desired row height, this would have had no effect. Nor does the UI change from this removal looking at the Anomaly Explorer in ml between this PR and |
||
stroke: { | ||
width: BORDER_WIDTH, | ||
color: euiTheme.euiBorderColor, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,18 @@ | |
|
||
import { HeatmapStyle, RecursivePartial } from '@elastic/charts'; | ||
import { EuiThemeComputed } from '@elastic/eui'; | ||
import { CHART_CELL_WIDTH } from './monitor_status_data'; | ||
|
||
export function getMonitorStatusChartTheme( | ||
euiTheme: EuiThemeComputed, | ||
brushable: boolean | ||
): RecursivePartial<HeatmapStyle> { | ||
return { | ||
grid: { | ||
cellHeight: { | ||
min: 20, | ||
}, | ||
Comment on lines
-18
to
-20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unable to verify this change, @elastic/uptime could you verify this chart has no regressions from this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @awahab07 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good. |
||
stroke: { | ||
width: 0, | ||
color: 'transparent', | ||
}, | ||
}, | ||
maxRowHeight: 30, | ||
maxColumnWidth: CHART_CELL_WIDTH, | ||
Comment on lines
-26
to
-27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not used in charts so no change. |
||
cell: { | ||
maxWidth: 'fill', | ||
maxHeight: 3, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
No effect here, this would have filled rows to available space anyways.