From e314f458742c8d6beef20b00b0a07f6c1b818e74 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Mon, 24 Jan 2022 18:31:33 +0800 Subject: [PATCH] feat: open dashboards with selector ids of link url --- src/App.vue | 2 +- src/graph/fragments/selector.ts | 46 +++++++++++++ src/graph/query/selector.ts | 14 +++- src/hooks/useProcessor.ts | 11 +-- src/layout/components/AppMain.vue | 2 +- src/store/modules/selectors.ts | 69 ++++++++++++++----- .../dashboard/configuration/MetricOptions.vue | 6 +- src/views/dashboard/controls/Widget.vue | 6 ++ src/views/dashboard/graphs/EndpointList.vue | 12 ++-- src/views/dashboard/graphs/InstanceList.vue | 11 ++- src/views/dashboard/graphs/ServiceList.vue | 7 +- src/views/dashboard/graphs/style.scss | 2 + src/views/dashboard/panel/Tool.vue | 36 ++++++++-- 13 files changed, 177 insertions(+), 47 deletions(-) diff --git a/src/App.vue b/src/App.vue index 74859ffc..93fd29d8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->