Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions oas_docs/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -6738,6 +6738,13 @@
"description": "A short description.",
"type": "string"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeRestore": {
"default": false,
"description": "Whether to restore time upon viewing this dashboard",
Expand Down Expand Up @@ -7384,6 +7391,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -8038,6 +8052,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -8576,6 +8597,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -9202,6 +9230,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -9734,6 +9769,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down
42 changes: 42 additions & 0 deletions oas_docs/bundle.serverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -6738,6 +6738,13 @@
"description": "A short description.",
"type": "string"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeRestore": {
"default": false,
"description": "Whether to restore time upon viewing this dashboard",
Expand Down Expand Up @@ -7384,6 +7391,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -8038,6 +8052,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -8576,6 +8597,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -9202,6 +9230,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down Expand Up @@ -9734,6 +9769,13 @@
],
"type": "object"
},
"tags": {
"items": {
"description": "An array of tags applied to this dashboard",
"type": "string"
},
"type": "array"
},
"timeFrom": {
"description": "An ISO string indicating when to restore time from",
"type": "string"
Expand Down
30 changes: 30 additions & 0 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6168,6 +6168,11 @@ paths:
default: ''
description: A short description.
type: string
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeRestore:
default: false
description: Whether to restore time upon viewing this dashboard
Expand Down Expand Up @@ -6628,6 +6633,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -7093,6 +7103,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -7481,6 +7496,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -7926,6 +7946,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -8310,6 +8335,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down
30 changes: 30 additions & 0 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7703,6 +7703,11 @@ paths:
default: ''
description: A short description.
type: string
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeRestore:
default: false
description: Whether to restore time upon viewing this dashboard
Expand Down Expand Up @@ -8163,6 +8168,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -8628,6 +8638,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -9016,6 +9031,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -9461,6 +9481,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down Expand Up @@ -9845,6 +9870,11 @@ paths:
required:
- pause
- value
tags:
items:
description: An array of tags applied to this dashboard
type: string
type: array
timeFrom:
description: An ISO string indicating when to restore time from
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ export const getSerializedState = ({
{ embeddablePersistableStateService: embeddableService }
);

// TODO Provide tags as an array of tag names in the attribute. In that case, tag references
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a followup issue for this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// will be extracted by the server.
const savedObjectsTaggingApi = savedObjectsTaggingService?.getTaggingApi();
const references = savedObjectsTaggingApi?.ui.updateTagsReferences
? savedObjectsTaggingApi?.ui.updateTagsReferences(dashboardReferences, tags)
Expand Down
Loading