From 9747ce6a295e6fe8fbda66d2e66f1ce983810d8d Mon Sep 17 00:00:00 2001
From: CrabSAMA <71915282@qq.com>
Date: Tue, 19 Aug 2025 16:06:16 +0800
Subject: [PATCH 1/5] refactor: refactor the plugin details table into a div
base flex
---
.../components/data/PluginDetailsTable.vue | 155 +++++++++---------
1 file changed, 79 insertions(+), 76 deletions(-)
diff --git a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
index d961859dd..0e4d9b2f5 100644
--- a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
+++ b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
@@ -71,66 +71,71 @@ function toggleDurationSortType() {
-
-
-
- |
- Hook name
- |
-
-
- |
-
- Start Time
- |
-
- End Time
- |
-
- |
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ Start Time
+
+
+ End Time
+
+
+
+ Duration
+
+
+
+
+
+
+
+
+
+
{{ HOOK_NAME_MAP[item.type] }}
- |
-
+
+
- |
-
+
+
- |
-
+
+
- |
-
+
+
- |
-
-
-
-
- |
-
- No data
-
- |
-
-
-
+
+
+
+
+
From b07a7f264ec454d7bbfa3214a838b1d58fe7de8d Mon Sep 17 00:00:00 2001
From: CrabSAMA <71915282@qq.com>
Date: Tue, 19 Aug 2025 16:14:58 +0800
Subject: [PATCH 2/5] feat: add virtual scroll for PluginDetailsTable
---
.../components/data/PluginDetailsTable.vue | 66 ++++++++++---------
1 file changed, 35 insertions(+), 31 deletions(-)
diff --git a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
index 0e4d9b2f5..2f56c726c 100644
--- a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
+++ b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
@@ -124,38 +124,42 @@ function toggleDurationSortType() {
-
-
-
- {{ HOOK_NAME_MAP[item.type] }}
+
+
+
+
+ {{ HOOK_NAME_MAP[item.type] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
From c83b434d55486869cc07bec840fe6c959bff01c0 Mon Sep 17 00:00:00 2001
From: CrabSAMA <71915282@qq.com>
Date: Tue, 19 Aug 2025 16:30:28 +0800
Subject: [PATCH 3/5] chore: PluginDetailsTable add aria role to simulate table
with flex div layout
---
.../components/data/PluginDetailsTable.vue | 26 ++++++++++---------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
index 2f56c726c..bf626c2ca 100644
--- a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
+++ b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
@@ -71,12 +71,12 @@ function toggleDurationSortType() {
-
-
-
+
+
+
Hook name
-
+
Module
@@ -108,13 +108,13 @@ function toggleDurationSortType() {
-
+
Start Time
-
+
End Time
-
+
Duration
@@ -126,19 +126,21 @@ function toggleDurationSortType() {
-
+
{{ HOOK_NAME_MAP[item.type] }}
-
+
-
+
-
+
-
From 4480ab3708c918f9f69b2013c9b4a8c8bea699d2 Mon Sep 17 00:00:00 2001
From: CrabSAMA <71915282@qq.com>
Date: Tue, 19 Aug 2025 16:31:32 +0800
Subject: [PATCH 4/5] chore: add known issue FIXME
---
.../src/app/components/data/PluginDetailsTable.vue | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
index bf626c2ca..6ffa36ec6 100644
--- a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
+++ b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
@@ -71,6 +71,11 @@ function toggleDurationSortType() {
+
From fd347c991969173aed633aa4898433d535bdc3fa Mon Sep 17 00:00:00 2001
From: CrabSAMA <71915282@qq.com>
Date: Tue, 19 Aug 2025 16:51:16 +0800
Subject: [PATCH 5/5] feat: add selectedFields empty tips case handler,
optimize render effect and avoid unnecessary empty row rendered
---
.../src/app/components/data/PluginDetailsTable.vue | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
index 6ffa36ec6..0fb0f9e92 100644
--- a/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
+++ b/packages/devtools-vite/src/app/components/data/PluginDetailsTable.vue
@@ -71,11 +71,6 @@ function toggleDurationSortType() {
-
@@ -130,7 +125,7 @@ function toggleDurationSortType() {
- No data
+
+ No columns selected
+
+
+ No data
+