Skip to content

Conversation

@evazorro
Copy link
Contributor

What does this PR do? What is the motivation?

Adds a guide to the new annotations feature for timeseries widgets, including creation, bulk creation, editing, and deletion.

Merge instructions

I'd like to add a screenshot before merge (see comment inline)

Merge readiness:

  • Ready for merge

Additional notes

@evazorro evazorro requested a review from a team as a code owner October 24, 2025 18:18
@github-actions github-actions bot added the Architecture Everything related to the Doc backend label Oct 24, 2025

Annotations are available in both dashboards and notebooks. If you export a widget from a dashboard to a notebook, any annotations you've added to the widget persist.

<!-- screenshot -->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd like to add a screenshot -- @amymzhou, what would be a few good example metrics to show?

@github-actions
Copy link
Contributor

Preview links (active after the build_preview check completes)

New or renamed files

identifier: dashboards_overlays
- name: Annotations
url: dashboards/annotations/
parent: dashboards
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want this to be a child of Overlays, you just need to change the parent identifier. If you want this to be the same level as Overlays, then the weight needs to be 10 (and then the following menu items weights need to be adjusted). Hope that helps, let me know if you have any questions!

Suggested change
parent: dashboards
parent: dashboards_overlays


1. Create an annotation by:
- Left-clicking anywhere on a timeseries widget and selecting **Add annotation** from the context menu that appears, or
- Clicking the X axis on a timeseries
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Clicking the X axis on a timeseries
- Clicking the X-axis on a timeseries graph

- Left-clicking anywhere on a timeseries widget and selecting **Add annotation** from the context menu that appears, or
- Clicking the X axis on a timeseries
3. Type your comment, and optionally click the timestamp field to manually adjust to the precise time you want to annotate.
4. Optionally change the color of the annotation from the dropdown in the bottom left.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is just my preference, optional suggestion

Suggested change
4. Optionally change the color of the annotation from the dropdown in the bottom left.
4. (Optional) Change the color of the annotation from the dropdown in the bottom left.

To apply an annotation to multiple timeseries at once:

1. Select the widgets you want to apply the annotation to (or leave everything unselected to apply to all widgets).
2. Follow steps 1–4 [above](#adding-an-annotation) to start creating an annotation.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
2. Follow steps 1–4 [above](#adding-an-annotation) to start creating an annotation.
2. Follow steps 1-4 in [Adding an annotation](#adding-an-annotation) to create an annotation.


## Editing an annotation

To edit an annotation you've created, hover over the annotation line, click the three dots menu, and choose **Edit** or **Edit for all widgets**.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
To edit an annotation you've created, hover over the annotation line, click the three dots menu, and choose **Edit** or **Edit for all widgets**.
To edit an annotation, hover over the annotation line, click the three dots menu, and choose **Edit** or **Edit for all widgets**.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants