From c9f624ad47144f8c0211c4b2cee27219768cb7d3 Mon Sep 17 00:00:00 2001 From: Makito Date: Tue, 3 Dec 2024 17:38:19 +0800 Subject: [PATCH] feat(tracing): skeleton and reactivity fix (#1828) * feat(tracing): skeleton and reactivity fix * fix: address comments --- .../tracing/sandbox/pages/TraceViewerPage.vue | 53 +++++++++++++---- .../tracing/sandbox/pages/WaterfallPage.vue | 20 ++++++- .../components/trace-viewer/TraceViewer.vue | 59 +++++++++++++------ .../components/waterfall/WaterfallView.vue | 38 +++++++++--- packages/core/tracing/src/types/index.ts | 1 + packages/core/tracing/src/types/utils.ts | 8 +++ 6 files changed, 139 insertions(+), 40 deletions(-) create mode 100644 packages/core/tracing/src/types/utils.ts diff --git a/packages/core/tracing/sandbox/pages/TraceViewerPage.vue b/packages/core/tracing/sandbox/pages/TraceViewerPage.vue index 98947f85cb..68f28054fb 100644 --- a/packages/core/tracing/sandbox/pages/TraceViewerPage.vue +++ b/packages/core/tracing/sandbox/pages/TraceViewerPage.vue @@ -4,32 +4,55 @@ @click="slideoutVisible = true" >
- Click to show the slideout + Click anywhere to show the slideout
+ Slideout overlay is OFF (not a bug)
+ Click the close button to dismiss the slideout (not a bug)
+ + + + + + diff --git a/packages/core/tracing/src/components/trace-viewer/TraceViewer.vue b/packages/core/tracing/src/components/trace-viewer/TraceViewer.vue index b0ce09bc86..dd9f7e272f 100644 --- a/packages/core/tracing/src/components/trace-viewer/TraceViewer.vue +++ b/packages/core/tracing/src/components/trace-viewer/TraceViewer.vue @@ -8,29 +8,42 @@ min-size="20" >
- - -
-
- {{ t('trace_viewer.url') }} -
-
- + +
@@ -40,8 +53,15 @@ class="detail-pane" size="50" > +
() // Provide the config to all children components diff --git a/packages/core/tracing/src/components/waterfall/WaterfallView.vue b/packages/core/tracing/src/components/waterfall/WaterfallView.vue index a1e80b8b12..a21ec76404 100644 --- a/packages/core/tracing/src/components/waterfall/WaterfallView.vue +++ b/packages/core/tracing/src/components/waterfall/WaterfallView.vue @@ -1,5 +1,17 @@