Skip to content

Modernize FOSSE admin screens#149

Open
RCowles wants to merge 1 commit into
trunkfrom
fosse-admin-visual-overhaul
Open

Modernize FOSSE admin screens#149
RCowles wants to merge 1 commit into
trunkfrom
fosse-admin-visual-overhaul

Conversation

@RCowles
Copy link
Copy Markdown
Contributor

@RCowles RCowles commented May 14, 2026

Summary

  • Adds no-build Gutenberg-like primitives for FOSSE admin cards, fields, badges, detail lists, callouts, actions, and wizard surfaces.
  • Modernizes Settings, Status, ActivityPub, Bluesky, and onboarding wizard markup while preserving existing actions, input names, nonces, and fragment targets.
  • Updates PHP/e2e markup contracts and refreshes the wizard screenshot.

Testing

  • composer run-script test-php
  • composer run-script lint-php
  • pnpm test
  • pnpm run lint
  • pnpm run format:check
  • pnpm run test:e2e

Copilot AI review requested due to automatic review settings May 14, 2026 23:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread tests/php/Admin/Setup_PageTest.php
Comment thread src/Admin/class-bluesky-provider.php Outdated
@RCowles RCowles force-pushed the fosse-admin-visual-overhaul branch from a6e0b09 to 918add1 Compare May 14, 2026 23:43
@RCowles RCowles force-pushed the fosse-admin-visual-overhaul branch from 918add1 to 888a265 Compare May 14, 2026 23:59
@RCowles RCowles requested a review from kraftbj May 15, 2026 00:07
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