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

feat(ui): Semi-fix loading initial data on issue details #18419

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented 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.

The tests introduced in #18452 should cover the changes in this PR.

@billyvg billyvg force-pushed the feat/ui/remove-forceUrlSync-hack-from-issue-details branch from d3e091f to beb0c8c Compare April 23, 2020 22:21
@billyvg billyvg force-pushed the feat/ui/remove-forceUrlSync-hack-from-issue-details branch from beb0c8c to 9bee3f9 Compare April 23, 2020 22:27
@billyvg billyvg force-pushed the feat/ui/remove-forceUrlSync-hack-from-issue-details branch from 9bee3f9 to 7b20583 Compare April 24, 2020 16:57
@billyvg billyvg changed the title Feat/ui/remove force url sync hack from issue details feat(ui): Semi-fix loading initial data on issue details Apr 24, 2020
@billyvg billyvg marked this pull request as ready for review April 24, 2020 17:22
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 billyvg force-pushed the feat/ui/remove-forceUrlSync-hack-from-issue-details branch from 863c425 to b13d208 Compare April 26, 2020 21:49
@billyvg billyvg requested review from markstory and a team and removed request for markstory April 27, 2020 17:13
Copy link
Member

@dashed dashed left a comment

Choose a reason for hiding this comment

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

🌮

@billyvg billyvg merged commit 5454cbc into master Apr 27, 2020
@billyvg billyvg deleted the feat/ui/remove-forceUrlSync-hack-from-issue-details branch April 27, 2020 19:05
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 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.

2 participants