🐛 Sentry: Sentry issues stats for "All" crash frontend.
Workspace
sentry
📜 Description
The bug occurs when you choose from selectable time range. This is the result.
- Not refresh issues time.
- When select "All" front crash.
👍 Expected behavior
- Change on selctable time range must be refresh the label that shows this info.
- Select "All" issues not must be crash the app.
👎 Actual Behavior with Screenshots
- Not refresh issues time (Image 1).
- When select "All" front crash (Image 2).
👟 Reproduction steps
- Go to my backstage instance.
- Go to my App mobile component.
- Go to Sentry banner, information loads without problems.
- Select another time range for issues and the label not change the selected.
- 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?
- [x] I have read the Code of Conduct
Are you willing to submit PR?
None
Thanks for logging this issue @miguel258, looking for help from the community for a fix 👍
@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)
@miguel258 can you advise more about how to reproduce the issue? Perhaps we need to retrieve issues in a particular state?
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!