Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project selector on the issues page always defaulting to 1st project in alphabetical order. #86274

Closed
rodolfoBee opened this issue Mar 4, 2025 · 5 comments · Fixed by #86426

Comments

@rodolfoBee
Copy link
Member

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Open an organisation on Team or Developer plan
  2. Go to the issues page
  3. Select a project that is not the 1st alphabetically
  4. Navigate to other pages in Sentry then back to Issues
  5. Or go to sentry.io

Expected Result

The issues page to "remember" the selected project as the other pages do.

Actual Result

The issues page always loads on the 1st project. It also does not take into consideration bookmarked projects. Creating a custom view does not solve the issue.

Screen.Recording.2025-03-04.at.11.53.49.mov

Product Area

Issues

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Mar 4, 2025

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 4, 2025
@mrduncan
Copy link
Member

mrduncan commented Mar 5, 2025

This is the expected and intended behavior for users opted into early-access, issue views now store the project selection in addition to environment, date range, and sort when saved.

@rodolfoBee
Copy link
Member Author

@mrduncan reopening issue because saving the view does not work:

Screen.Recording.2025-03-05.at.17.48.41.mov

@mrduncan
Copy link
Member

mrduncan commented Mar 5, 2025

Sorry, misunderstood!

@MichaelSun48 can you take a look at this today?

@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Mar 5, 2025
MichaelSun48 added a commit that referenced this issue Mar 5, 2025
Fixes #86274 

Fixes an issue where the default view's projects were sometimes being
overwritten with the first alphabetical project. This was caused by both
the issueViewHeader component and the pageFilterContainer both trying to
write a project to the query params simultaneously. I'm not exactly sure
why the pageFilterContainer wins the collision, but we can fix this by
just disabling it from trying to write a project to the query params if
we have the issue stream
@amureki
Copy link

amureki commented Mar 6, 2025

Many thanks for the quick iteration and a fix! That seem to resolve our issue! 🏅

philipphofmann pushed a commit that referenced this issue Mar 6, 2025
Fixes #86274 

Fixes an issue where the default view's projects were sometimes being
overwritten with the first alphabetical project. This was caused by both
the issueViewHeader component and the pageFilterContainer both trying to
write a project to the query params simultaneously. I'm not exactly sure
why the pageFilterContainer wins the collision, but we can fix this by
just disabling it from trying to write a project to the query params if
we have the issue stream
@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2025
@dalnoki dalnoki reopened this Apr 4, 2025
@dalnoki dalnoki closed this as completed Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants