mirror of
https://github.com/grafana/grafana.git
synced 2025-09-19 13:43:13 +08:00
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:
@ -480,7 +480,7 @@
|
||||
"type": "object",
|
||||
"description": "Expose a page link that can be used by Grafana core or other plugins to navigate users to the plugin",
|
||||
"additionalProperties": false,
|
||||
"required": ["type", "title", "target", "path"],
|
||||
"required": ["type", "title", "placement", "path"],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
@ -491,7 +491,7 @@
|
||||
"minLength": 3,
|
||||
"maxLength": 22
|
||||
},
|
||||
"target": {
|
||||
"placement": {
|
||||
"type": "string",
|
||||
"pattern": "^(plugins|grafana)/[a-z-/0-9]*$"
|
||||
},
|
||||
|
Reference in New Issue
Block a user