Skip to content

fix(ui): Adds locked project id to the URL on issue details page if it does not exist.#14731

Merged
iProgramStuff merged 16 commits into
masterfrom
fix/SEN-1024
Oct 1, 2019
Merged

fix(ui): Adds locked project id to the URL on issue details page if it does not exist.#14731
iProgramStuff merged 16 commits into
masterfrom
fix/SEN-1024

Conversation

@iProgramStuff

@iProgramStuff iProgramStuff commented Sep 16, 2019

Copy link
Copy Markdown
Contributor

Adds the project parameter to the URL (based on the project we autoselect and lock a user to) when browsing to an issue that does not have it.

Drawback: When browsing to an issue from the issue list page, with no project filter (i.e. all projects 'selectedl'), the filter gets added and going back can feel like a poor user experience. Will look into solving this later - Billy recommended pushing this fix in the meantime, though.

Fixes SEN-1024

@iProgramStuff iProgramStuff changed the title Fix/sen 1024 fix(ui): Adds locked project id to the URL on issue details page if it does not exist. Sep 16, 2019
Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated
Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated
Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated

@billyvg billyvg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thoughts?

Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated
Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated
Comment thread src/sentry/static/sentry/app/components/eventOrGroupHeader.jsx Outdated
Comment thread src/sentry/static/sentry/app/components/eventOrGroupHeader.jsx Outdated
Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated

@billyvg billyvg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🎉

Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated
Comment thread src/sentry/static/sentry/app/views/organizationGroupDetails/groupDetails.jsx Outdated
@iProgramStuff
iProgramStuff deleted the fix/SEN-1024 branch October 1, 2019 16:55
@iProgramStuff
iProgramStuff restored the fix/SEN-1024 branch October 1, 2019 16:55
@iProgramStuff
iProgramStuff deleted the fix/SEN-1024 branch October 1, 2019 16:56
billyvg added a commit that referenced this pull request Apr 22, 2020
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731).

This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env.
There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately.

This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.
billyvg added a commit that referenced this pull request Apr 23, 2020
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731).

This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env.
There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately.

This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.
billyvg added a commit that referenced this pull request Apr 26, 2020
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731).

This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env.
There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately.

This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.
billyvg added a commit that referenced this pull request Apr 27, 2020
This basically re-implements #13689 in a more simple way. This is possible due to other changes that we have done to issue details (#13875, #14731).

This also (semi) fixes an issue with loading Issue Details with an environment in the URL. Previously, it would fetch details API serially: 1) without env and 2) with env.
There would be a slight flicker between loading -> finished req #1 -> loading -> finished req #2. Now this seems to fire both at near the same time and cancels the initial request almost immediately.

This is still not ideal but is an interim-fix as the ideal solution is a bit more involved, but will be on its way.

The tests introduced in #18452 should cover the changes in this PR.
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants