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

Migrate Status Report to SettingsScreenProvider. #3662

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

JakePT
Copy link
Contributor

@JakePT JakePT commented Sep 27, 2023

Description of the Change

Migrates the Status Report screen to use the SettingsScreenProvider added for 5.0.0. This gives the screen a layout and notification behaviour that's consistent with the new sync screen.

elasticpress test_wp-admin_admin php_page=elasticpress-status-report

Since this involves moving the Download and Copy buttons into the React app, I was also able to fix an issue with encoded HTML entities in the download version of the report so that the Downloaded and Copied versions should match.

How to test the Change

The Status Report screen should now be centered with the same width as the new Sync page. Pressing the Copy button should now display a snackbar notice in the same style as the Copy log button on the sync page.

Changelog Entry

Changed - Tweaked layout and notifications style on the Status Report screen for consistency with the updated Sync page.

Credits

Props @JakePT

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@JakePT JakePT added this to the 5.0.0 milestone Sep 27, 2023
@JakePT JakePT self-assigned this Sep 27, 2023
@felipeelia felipeelia merged commit 533a94b into 5.0.0 Sep 28, 2023
8 of 9 checks passed
@felipeelia felipeelia deleted the feature/status-report-screen branch September 28, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants