Modernize FOSSE admin screens#149
Open
RCowles wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes FOSSE’s WordPress admin UI (Settings, Status, providers, and onboarding wizard) by introducing shared “Gutenberg-like” UI primitives (cards, fields, badges, detail lists, callouts, action bars) and updating markup/tests to match.
Changes:
- Reworks admin screen markup to use shared card/field/detail-list primitives while preserving existing actions/nonces/targets.
- Updates onboarding wizard step layouts (including completion messaging/actions) to use consistent card surfaces.
- Refreshes PHPUnit + Playwright contracts to assert the new classnames/structure and visual/layout invariants.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/php/Admin/Setup_PageTest.php | Adds/updates render assertions for guided setup callout, footer wizard link, and new card/field primitives. |
| tests/php/Admin/Onboarding_WizardTest.php | Updates wizard markup expectations (choice cards, detail list summary, completion copy). |
| tests/php/Admin/Bluesky_ProviderTest.php | Updates provider panel/status card expectations to card/detail-list primitives and new token classes. |
| tests/php/Admin/AP_ProviderTest.php | Updates ActivityPub setup/status expectations for field-stack + detail-list markup. |
| tests/e2e/status-page.spec.ts | Adjusts status page polish checks from table-based markup to detail-list markup; adds footer wizard-link placement coverage. |
| tests/e2e/onboarding-wizard.spec.ts | Updates wizard E2E assertions for card primitives and adds layout checks for actions/completion card alignment. |
| tests/e2e/bluesky-provider.spec.ts | Updates setup/status UI expectations for new primitives and adds guided-setup + footer-link checks. |
| src/Admin/templates/status-page.php | Converts Status page shell/summary/actions to admin card primitives and adds footer “Run the wizard” link. |
| src/Admin/templates/setup-page.php | Converts Settings page sections to admin card + field-stack primitives; replaces notice with guided-setup callout; adds footer wizard link. |
| src/Admin/class-onboarding-wizard.php | Refactors wizard steps to shared card header/body/footer structure; updates destination/appearance/content/bluesky/complete markup and completion messaging. |
| src/Admin/class-bluesky-provider.php | Converts Bluesky connection actions and status card to admin card + detail-list primitives; updates domain-handle panel styling hooks. |
| src/Admin/class-ap-provider.php | Converts ActivityPub setup/connection/status rendering to field-stack + detail-list primitives and adds connection badge. |
| src/Admin/assets/css/admin.css | Introduces shared admin-shell/card/field/detail-list/callout/action-bar styles and updates wizard styles to match new surfaces. |
a6e0b09 to
918add1
Compare
918add1 to
888a265
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Testing