Skip to content

feat: auth settings set at install - #68

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

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

Conversation

@roble

@roble roble commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • chore: require saucebase/core ^3.0
  • fix: sign-in and sign-up name the app, not Saucebase
  • feat: auth settings set at install
  • 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

  • New Features
    • Login and registration messages now display your configured site name.
  • Bug Fixes
    • Theme persistence tests use more reliable selectors for choosing light and dark modes.
  • Chores
    • Updated showcase demo-data setup and instructions.
    • Added compatibility with the latest core version.

roble and others added 11 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>
Sign-up, modal sign-in, magic link and passkeys carry #[InstallSetting], so a
template or the person installing can set them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The headings said "Login to your Saucebase account" and "Sign up for
Saucebase" in every app. They now use the site name from settings.

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

The changes update showcase seeding names, make login and registration descriptions use the configured site name, add installation-setting labels, update Composer metadata, and change selectors in sidebar theme tests.

Changes: Showcase seeding

Layer / File(s) Summary
Showcase seed command and seeder
README.md, Taskfile.yml, database/seeders/ShowcaseAuthDatabaseSeeder.php, tests/Feature/ShowcaseStaffTest.php
The seed command and auth seeder use showcase naming. The feature tests use the renamed seeder. Existing test assertions remain unchanged.

Configured auth-page descriptions

Layer / File(s) Summary
Login and registration descriptions
resources/js/react/pages/Login.tsx, resources/js/react/pages/Register.tsx, resources/js/vue/pages/Login.vue, resources/js/vue/pages/Register.vue
Login and registration page and modal descriptions use the configured site name in translated messages.

Auth setting labels

Layer / File(s) Summary
Installation-setting labels
src/Settings/AuthSettings.php
Installation-setting metadata is added to registration_enabled, modal_enabled, and magic_link_enabled. The registration_enabled setting also has a hint.

Composer metadata

Layer / File(s) Summary
Branch alias and core requirement
composer.json
A dev-dev branch alias is added, and the saucebase/core requirement changes from ^2.8.1 to ^3.0.

Sidebar theme tests

Layer / File(s) Summary
Theme mode selectors
tests/e2e/tests/sidebar.spec.ts
The dark- and light-theme persistence tests select modes by test ID instead of accessible name.

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

Change: Feature

Merge Risk: Minimal · up to 9ca52

This change moves auth settings to install time, renames the demo seeders to showcase, and uses the configured site name in the login and registration text. No concrete defect was established, so the merge risk is minimal.

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 "feat: auth settings set at install" matches the main change. The PR adds install-time configuration for authentication settings: sign-up, modal sign-in, magic link, and passkeys gain #[Inst…
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 "feat: auth settings set at install" matches the main change. The PR adds install-time configuration for authentication settings: sign-up, modal sign-in, magic link, and passkeys gain #[InstallSetting] labels in AuthSettings.php. The title is specific and short. The other changes (renaming Demo seeders to Showcase, replacing the hard-coded Saucebase name with the site name, and the core ^3.0 bump) are supporting work and are not named, which is acceptable because the title need not cover every detail.

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: 5ef386ec-c56d-4181-ab61-a826aac493a3
Commits

Reviewing files that changed from the base of the PR and between 94ba08a and 9ca526b.

Files selected for processing: 11

  • README.md
  • Taskfile.yml
  • composer.json
  • database/seeders/ShowcaseAuthDatabaseSeeder.php
  • resources/js/react/pages/Login.tsx
  • resources/js/react/pages/Register.tsx
  • resources/js/vue/pages/Login.vue
  • resources/js/vue/pages/Register.vue
  • src/Settings/AuthSettings.php
  • tests/Feature/ShowcaseStaffTest.php
  • tests/e2e/tests/sidebar.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 6bb86dd 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