Skip to content

Conversation

@malwilley
Copy link
Member

When viewing a metric issue that counts the number of errors, this will now display a "contributing issues" section that queries for the issues that occurred during the given timeframe.

There are a couple issues with this that will need to be addressed later:

  1. We don't have a good way to find the matching open period, so there isn't a good way to set an "end" date to the query. The event only gives us the start time. So for now it uses the current time as the end
  2. There is a bug with the GroupList component which renders the currently loaded issues in addition to the fetched issues. Will need to fix this separately in that component.
CleanShot 2025-12-04 at 10 55 51@2x

@malwilley malwilley requested a review from a team December 4, 2025 19:19
@malwilley malwilley requested a review from a team as a code owner December 4, 2025 19:19
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 4, 2025
timeWindow,
}).toISOString();
// TODO: When we can link events to open periods, use the end date from the open period
const endDate = new Date().toISOString();
Copy link
Member

Choose a reason for hiding this comment

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

end date will change on every state change, making a new request

Copy link
Member

Choose a reason for hiding this comment

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

oh its the discover url

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch - put it in a useState

@malwilley malwilley merged commit 984a288 into master Dec 5, 2025
48 checks passed
@malwilley malwilley deleted the malwilley/feat/add-related-issues-section-to-metric-issue branch December 5, 2025 21:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 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.

3 participants