Plugins: Renamed parts of the UI extension APIs (#63070)
* Renamed target -> id and href -> path after feedback. * fixed type issues in test page. * chore(pluginschemajson): update extensions props target -> id * this is the final. * fixed typings...again... --------- Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
This commit is contained in:
co-authored by
Jack Westbrook
parent
b88206d98f
commit
f46f8bdd3a
@@ -101,7 +101,7 @@ seqs: [
|
||||
component?: string
|
||||
|
||||
// The minimum role a user must have to see this page in the navigation menu.
|
||||
role?: "Admin" | "Editor" | "Viewer"
|
||||
role?: "Admin" | "Editor" | "Viewer"
|
||||
|
||||
// RBAC action the user must have to access the route
|
||||
action?: string
|
||||
@@ -124,7 +124,7 @@ seqs: [
|
||||
|
||||
#ExtensionsLink: {
|
||||
// Target where the link will be rendered
|
||||
target: =~"^(plugins|grafana)\/[a-z-/0-9]*$"
|
||||
placement: =~"^(plugins|grafana)\/[a-z-/0-9]*$"
|
||||
// Type of extension
|
||||
type: "link"
|
||||
// Title that will be displayed for the rendered link
|
||||
|
||||
Reference in New Issue
Block a user