This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new 1f80cd0 Add dynamic menu query protocol (#122)
1f80cd0 is described below
commit 1f80cd0af8bc0baf71bb68961a894c110c9d9b79
Author: mrproliu <[email protected]>
AuthorDate: Mon Jun 26 06:14:29 2023 +0000
Add dynamic menu query protocol (#122)
---
ui-configuration.graphqls | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/ui-configuration.graphqls b/ui-configuration.graphqls
index bb0d3ff..8889629 100644
--- a/ui-configuration.graphqls
+++ b/ui-configuration.graphqls
@@ -23,11 +23,27 @@ type DashboardConfiguration {
configuration: String!
}
+type MenuItem {
+ # Display name
+ name: String!
+ # Showing icon name
+ icon: String
+ # Link path
+ path: String!
+ # Activated menu should be listed on the menu,
+ # otherwise, it should stay in marketplace.
+ activate: Boolean!
+ # Sub menu items
+ subItems: [MenuItem!]!
+}
+
extend type Query {
# Read an existing UI template according to given id.
getTemplate(id: String!): DashboardConfiguration
# Read all configuration templates。
getAllTemplates: [DashboardConfiguration!]!
+ # Read all menu items
+ getMenuItems: [MenuItem!]!
}
# Used for add new template