fix(issue-views): Load in default view by default if issue views enabled) #78278
+19
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes a bug where you'd see the default query flash in the search bar breifly when loading
/issues/
, or when clicking the issues tab. Does this by hijacking the saved searches HOC, and returning the default issue view instead of the default search view if the organization has the feature enabled.This might also help the views load in faster, since the fetch request occurs earlier in the rendering cycle.
I could not figure out how to stop the page filters from flashing some values, but I will continue to look into this:
Before:
Screen.Recording.2024-09-27.at.12.08.09.PM.mov
After
Screen.Recording.2024-09-27.at.12.09.32.PM.mov
notice how in the After video, the search query remains static even after clicking the issues tab