community-plugins icon indicating copy to clipboard operation
community-plugins copied to clipboard

🐛 Sentry: Sentry issues stats for "All" crash frontend.

Open miguel258 opened this issue 8 months ago • 2 comments

Workspace

sentry

📜 Description

The bug occurs when you choose from selectable time range. This is the result.

  1. Not refresh issues time.
  2. When select "All" front crash.

👍 Expected behavior

  1. Change on selctable time range must be refresh the label that shows this info.
  2. Select "All" issues not must be crash the app.

👎 Actual Behavior with Screenshots

  1. Not refresh issues time (Image 1).
  2. When select "All" front crash (Image 2).
Image Image

👟 Reproduction steps

  1. Go to my backstage instance.
  2. Go to my App mobile component.
  3. Go to Sentry banner, information loads without problems.
  4. Select another time range for issues and the label not change the selected.
  5. When select from time range "All" the fronend crash.

📃 Provide the context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

miguel258 avatar Mar 30 '26 23:03 miguel258

Thanks for logging this issue @miguel258, looking for help from the community for a fix 👍

awanlin avatar Apr 07 '26 14:04 awanlin

@awanlin @miguel258 Hi! I'm a student that is new to opensource projects, and I'd like to work on this issue. Please let me know if this is a good issue to work on. I've start by reproducing the problem locally, and I do see the problem of Not refresh issues time (Image 1).

However, I don't see this issue When select "All" front crash (Image 2).. Could you share a bit more about the crash or some pointers so I can pin it down as I am not seeing this issue with the mock data, selecting "All" renders all rows fine. (This is what I'm seeing for the ALL dropdown)

Image

Grace-Shao avatar Jun 06 '26 07:06 Grace-Shao

@miguel258 can you advise more about how to reproduce the issue? Perhaps we need to retrieve issues in a particular state?

vinzscam avatar Jun 16 '26 13:06 vinzscam

Hello, I raised a PR to address the first part of the issue (the label error ONLY). Basically I believe that the subtitle listed in the image actually describes the Graph time period as only statsPeriod from production-api.ts:53-54 uses it to generate the graph, it doesn't seem to have any relation with the drop down UI filtering.

Also I believe the When select "All" front crash (Image 2).. is already addressed by a previous commit on main "fix(sentry): use useMemo for issue filtering to sync with async data (#7523)" Please let me know if I am on track with my PR, thank you!

Grace-Shao avatar Jun 17 '26 08:06 Grace-Shao