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

Remove the loader from sidebar navigation screen. #50326

Merged

Conversation

juanfra
Copy link
Member

@juanfra juanfra commented May 4, 2023

What?

Resolves #50224.

Removing the navigation loader as per #50224

Why?

It was reported that the navigation loader was flashing in, and it wasn't following the design patterns of other loaders. I'm removing the code, as it was also reported to be triggered when navigating back and forth, and it wasn't ideal. I could adjust the PR to re-introduce the loader component but empty if that's a better approach for future development (Although, I think having an empty placeholder wouldn't be ideal at this stage).

Testing Instructions

  1. Open the site editor.
  2. Navigate to Navigation, or templates.
  3. Confirm that there's no loading state anymore.

Screenshots or screencast

Screen.Recording.2023-05-04.at.13.36.15.mov

@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels May 4, 2023
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Thank you, @juanfra!

@Mamaduka Mamaduka merged commit ed9be12 into WordPress:trunk May 11, 2023
@github-actions github-actions bot added this to the Gutenberg 15.9 milestone May 11, 2023
@juanfra juanfra deleted the fix/50224-remove-navigation-loading-state branch May 11, 2023 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove weird loading state in navigation panel
2 participants