I would like the ability to group annotations together and enable or disable those groups
- Dominant language
- TypeScript
- Stars
- 117
- Forks
- 51
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 4
Description
### Problem
the existing annotations capability only has a single group of manual annotations (called default) which all users in an org can interact with. The grouping is either on for the user, which shows all annotations on all compatible graph types, or off, which shows no annotations.
This causes an issue for orgs using annotations in a shared environment (such as ours), because the graphs get too noisy with annotations from other users, so you end up turning them off, and missing annotations.
### Proposed solution
Bring back the capability discussed as "annotation streams" which would let users define custom groupings of annotations and add new annotations to one of those custom groupings.
For example, we might have a "InfluxData" grouping with annotations important to all teams, an "Storage Team" grouping with annotations just for that storage team, and then I might have "Russ" grouping which would just be notes for myself while i'm working on something or triaging an issue. The analogy that made sense to us was calendars, where we have the Global Calendar, Holidays Calendar, and your own personal calendar. You can selectively enable or disable calendars as needed, and the information is overlaid onto your view in a way that makes sense.
### Acceptance Criteria
- as a user, i can create a named group of annotations visible to all users in my organization
- as a user, when adding a new annotation to a cell, i must choose a group for the annotation to be in
- as a user, when editing an annotation, i can change the group for the annotation
- as a user, i can create a new group of annotations when creating an annotation (they can be defined on the fly)
- as a user, i can hide or show specific groups of annotations on my dashboard
- as a user, i can see the specific groups of annotations i have currently enabled
- as a user, i can remove a group of annotations from displaying in my dashboard without deleting that group
- as a user, i can filter the list of available annotation groups in my organization
- as a user, the groups of annotations i've chosen "follow me" when viewing another dashboard
- as a user, i can delete a group of annotations which would delete all annotations in that group
- as a user, i can rename a group of annotations
- as a user, i can copy an annotation from one group to one or many other groups
- as a user, i can view all the annotation groups in my organization in a single page
### Notes
- all annotations must belong to one and only one grouping. annotations can be duplicated to other groups if needed.
- the specific groups of annotations i've chosen to display in the app as i navigate to each dashboard are unique to me. each user could have their own
- deleting a group of annotations deletes all the annotations in that group. we should probably add a warning.
### Related issues
- https://github.com/influxdata/idpe/issues/8826
- https://github.com/influxdata/ui/issues/241
- https://github.com/influxdata/ui/issues/224
- https://github.com/influxdata/ui/issues/223
- https://github.com/influxdata/ui/issues/222
- https://github.com/influxdata/ui/issues/330
- https://github.com/influxdata/ui/issues/329
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.