Skip to content

refactor: demo seeders become the showcase state - #24

Merged
roble merged 7 commits into
mainfrom
dev-2026-11-15
Nov 15, 2026
Merged

roble merged 7 commits into
mainfrom
dev-2026-11-15

Conversation

@roble

@roble roble commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • chore: require saucebase/core ^3.0
  • refactor: demo seeders become the showcase state

Release

Requires saucebase/core: ^3.0 (named states, install settings). Release after core v3.0.0, which is out.

Checks

Module CI against core main (v3.0.0).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated the theme-seeding instructions to use the showcase state instead of the --demo option.
  • Tests

    • Updated the save-as failure check to recognize the displayed error notification. This changes how the failure is verified, not the app’s behavior.

roble and others added 7 commits November 10, 2026 11:24
Customers translate, reword and restyle a starter kit; tests now check
test ids, data-state, URLs, counts and the data they create.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Demo*Seeder is now Showcase*, run by modules:seed --state=showcase.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Composer metadata now requires saucebase/core ^3.0 and defines a branch alias. Showcase seeding uses the renamed seeder and showcase state. The end-to-end server-failure test checks for a visible error toast.

Changes: Composer Metadata

Layer / File(s) Summary
Core requirement and branch alias
composer.json
The required saucebase/core version changes to ^3.0. The dev-dev branch alias maps to 3.6.x-dev.

Showcase Seeding

Layer / File(s) Summary
Showcase seed command and tests
README.md, database/seeders/ShowcaseThemesDatabaseSeeder.php, tests/Feature/ShowcaseStaffTest.php
The documented seed command selects --state=showcase. The seeder and staff feature test use the Showcase name.

End-to-End Error Assertion

Layer / File(s) Summary
Error toast assertion
tests/e2e/index.spec.ts
The server-failure test checks for a visible Sonner error toast instead of matching specific error text.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Refactor

Merge Risk: Minimal · up to 84339

This change renames the demo seeders to the showcase state, updates the documented seed command, and requires core ^3.0. The documented command matches core v3's behavior, so no actionable merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "refactor: demo seeders become the showcase state" matches the main change. The PR renames the DemoSeeder classes to Showcase, runs them as a named showcase state via modules:seed --state=…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "refactor: demo seeders become the showcase state" matches the main change. The PR renames the DemoSeeder classes to Showcase, runs them as a named showcase state via modules:seed --state=showcase, and updates the tests and README to match. It also raises the saucebase/core requirement to ^3.0, which the title does not mention but which is secondary to the main refactor.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 95429288-bb0d-41bb-aac0-ad989d0fcc16
Commits

Reviewing files that changed from the base of the PR and between a6cbf5f and 84339ef.

Files selected for processing: 5

  • README.md
  • composer.json
  • database/seeders/ShowcaseThemesDatabaseSeeder.php
  • tests/Feature/ShowcaseStaffTest.php
  • tests/e2e/index.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

@roble
roble merged commit 657882b into main Nov 15, 2026
7 checks passed
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.

1 participant