-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:Saved ObjectsTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//release_note:enhancement
Description
Create a new saved object type for storing tags
{
"type": "tag",
"updated_at": "2017-11-01T11:29:45.060Z",
"tag": {
"name": <string containing tag name that is displayed in tag pill, limited to 50 characters (like github)>,
"color": <hex string - tag pill color>
}
}
New kibana tag API
We will not be storing tag counts in the tag saved object. The tag counts will be generated on the fly by querying all saved objects, building a snapshot of counts, and adding the generated counts with the tag saved object results . This will avoid all the complexities of managing tag counts during saved object writes.
get- query string parameter to include counts
delete- delete tag saved object, remove tag from all other other saved objects
Saved object API updates
- add tag to saved object (saved search, visualization, dashboard)
- delete tag from saved object
- Update
readto translate tag ids to tag names?
Manage tags on visualizations, saved-searches, and dashboards
- Tag management is done in save UI
- Ability to create new tags in save UI.
- Link to tag CRUD GUI for deleting/editing tags.
Use tags to filter visualizations, saved-searches, and dashboards lists
- dashboard list view
- dashboard add panels view
- visualize list view
- saved search list view
- index pattern
Questions
- Where should tags live in saved objects? Should tags live at the top level or should they live inside each saved object type?
- Where will tag ids get converted to tag name? Where should tag joining be done? In the saved object API? On the client?
- Where should tag CRUD GUI live? Should this be placed under management? Is this just going to be a pop-out?
- Tag colors: Should any color be allowed? Should there just be a static list of colors?
simpleuser99, Kshitiz-Sharma, streamich and willemdh
Metadata
Metadata
Assignees
Labels
Feature:Saved ObjectsTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//release_note:enhancement