Skip to content

feat(dashboards): Adds series display type support for Dashboard Issue Widgets#104291

Merged
edwardgou-sentry merged 4 commits intomasterfrom
egou/feat/issue-timeseries-widget
Dec 3, 2025
Merged

feat(dashboards): Adds series display type support for Dashboard Issue Widgets#104291
edwardgou-sentry merged 4 commits intomasterfrom
egou/feat/issue-timeseries-widget

Conversation

@edwardgou-sentry
Copy link
Copy Markdown
Contributor

@edwardgou-sentry edwardgou-sentry commented Dec 2, 2025

Adds timeseries support to Issue type widgets in dashboards. Feature is gated on the displayType dropdown by checking for the dashboards-issue-widget-series-display-type feature flag.

Current feature limitations:

  • Currently for Issue timeseries widgets, only count(new_issues) and count(resolved_issues are supported yAxes.
  • Query search filtering is not supported by the backing endpoint (TODO: hide this element in the UI)
  • Group by is supported by the endpoint, but only by release (TODO: this is not yet added to the UI, handle in follow up PR)

Implementation notes:

  • Uses the new /issues-timeseries endpoint
    • Adds a new IssuesSeriesResponse type to match the response payload received in the frontend
    • Due to the /issues-timeseries endpoint not sharing query parameters with the /issues endpoint for tables, specialized logic has been added to handle resetting the widget builder state when switching between table and series display types:
      • typeSelector.tsx has been updated to reset the current query state on change
      • generateIssueWidgetFieldOptions updated to accept display type and return results based on table or series display
    • Adds new options to widget dataset configs:
      • defaultSeriesField which represents the default field for a series/chart display widget. Used as the default when adding a new yAxis to an Issue series widget.
      • defaultSeriesWidgetQuery which represents the default widget query for a series/chart display. This is used for Issue widgets when switching between table and series display views to set the default query.
image

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 2, 2025
@edwardgou-sentry edwardgou-sentry force-pushed the egou/feat/issue-timeseries-widget branch from 1bdd043 to 4a62ea1 Compare December 3, 2025 00:12
@edwardgou-sentry edwardgou-sentry changed the title feat(dashboards): adds support for issue timeseries widget feat(dashboards): Adds series display type support for Dashboard Issue Widgets Dec 3, 2025
@edwardgou-sentry edwardgou-sentry requested a review from a team December 3, 2025 00:14
@edwardgou-sentry edwardgou-sentry marked this pull request as ready for review December 3, 2025 00:14
@edwardgou-sentry edwardgou-sentry requested a review from a team as a code owner December 3, 2025 00:14
Copy link
Copy Markdown
Member

@narsaynorath narsaynorath left a comment

Choose a reason for hiding this comment

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

Everything looks good to me. I just had a question about the intervals, but that's for my own understanding

@edwardgou-sentry edwardgou-sentry merged commit 5b25de1 into master Dec 3, 2025
48 checks passed
@edwardgou-sentry edwardgou-sentry deleted the egou/feat/issue-timeseries-widget branch December 3, 2025 16:46
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants