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

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

Merged
merged 16 commits into from
Oct 1, 2019

Conversation

iProgramStuff
Copy link
Contributor

@iProgramStuff iProgramStuff commented Sep 16, 2019

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
Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

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

Thoughts?

Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

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

🎉

@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