Skip to content

Commit 3ae6636

Browse files
fix: explain multiple root plans (#591)
* feat: explain table support multiple plans * feat: chart support multiple root plans * feat: max value * chore: remove unused * refactor: max values in chart * refactor: remove fragile updateTreeLayout, use renderTree * refactor: scroll to node duplicate * refactor: resetZoom * refactor: reduce calculation * refactor: tree view, read size from dom, not by fragile compution * refactor: use flextree positions * refactor: scroll * feat: width by text content * feat: init scale * refactor: node scrolling * fix: render twice * fix: rendertree twice * feat: use fixed width node label * refactor: labe width calculation * fix: ts * fix: remove unnecessary label node line drawing * refactor: move scale and scroll out of treeview * style: y offset * fix: refresh * fix: empty root plan name * Update src/views/dashboard/modules/explain/explain-chart/index.vue Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent da11b0a commit 3ae6636

5 files changed

Lines changed: 758 additions & 944 deletions

File tree

src/views/dashboard/modules/explain/explain-chart/chart-controls.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
highlightType: string
3939
selectedMetric: string
4040
metricsExpanded: boolean
41-
maxRows: number
42-
maxDuration: number
43-
availableMetrics: Array<string>
41+
availableMetrics: Array<{ label: string; value: string }>
4442
stageIndex: number
4543
}>()
4644

0 commit comments

Comments
 (0)