Skip to content

feat: add tenancy module card to the index grid - #379

Merged
roble merged 2 commits into
mainfrom
renanroble/index-tenancy-coming-soon
Sep 6, 2026
Merged

roble merged 2 commits into
mainfrom
renanroble/index-tenancy-coming-soon

Conversation

@roble

@roble roble commented Sep 5, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a tenancy card to the module grid on the index page, marked SOON like the other unreleased modules.

The grid lost a card when the settings module was retired in #376. Tenancy is the next module in the pipeline (v0.3.1 exists), so it fills the slot with something real rather than leaving the row short.

The entry

Follows the existing BADGE_SOON shape used by webhooks / integrations / notifications / analytics — color: '--color-gray-500', href: null, four feature chips — and is inserted directly before webhooks, ahead of the modules that don't exist yet.

Field Value
title Tenancy
description Subdomain-based workspaces with isolated data, member roles, email invitations, and joining by email domain.
icon Building2
features Workspaces · Data Isolation · Roles & Invites · Custom Domains

Copy is drawn from the module's own README and composer.json in modules/.disable/tenancy/ ("Subdomain-based multi-tenancy for Saucebase"), specifically its Features list: separate workspaces on their own subdomains or customer-owned domains, secure separation of workspace data, owners/members/roles, email invitations, and joining by email domain.

One deliberate difference from its SOON siblings: frameworks is ['vue', 'react'] rather than ['vue'], because the module genuinely ships both (extra.saucebase.frameworks in its composer.json). The field isn't read anywhere in resources/js, so this is metadata accuracy only — no rendering impact.

Applied to both stacks: resources/js/vue/components/ui/saucebase/index.ts and resources/js/react/components/ui/saucebase/index.ts.

Verification

npx prettier --check passes on both files. The build and e2e for both stacks run in CI.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a Tenancy module to the module catalog.
    • Highlights upcoming workspace capabilities, including data isolation, member roles, invitations, and custom domains.
    • Includes support information for Vue and React applications.
    • Marked the module as “Coming Soon” and not currently available for direct access.

Marked SOON, following the same shape as the other unreleased module cards
(gray, no href, four feature chips), inserted before webhooks.

Copy comes from modules/.disable/tenancy: subdomain-based workspaces with
isolated data, member roles, email invitations, and joining by email domain.

frameworks is ['vue', 'react'] rather than ['vue'] like its SOON siblings,
because the module ships both per its composer.json. The field is not read in
resources/js, so this is metadata only.

Applied to both the vue and react module lists.

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

coderabbitai Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 48360497-1c06-482d-8210-780011aa9261

📥 Commits

Reviewing files that changed from the base of the PR and between 95d7e6f and ecbdd2e.

📒 Files selected for processing (2)
  • resources/js/react/components/ui/saucebase/index.ts
  • resources/js/vue/components/ui/saucebase/index.ts

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


📝 Walkthrough

Walkthrough

The React and Vue Saucebase module catalogs now include a Tenancy entry. The entry uses the Building2 icon, shows a BADGE_SOON badge, has no link, supports both frameworks, and lists tenancy-related features.

Changes

Tenancy module

Layer / File(s) Summary
Add Tenancy catalog entry
resources/js/react/components/ui/saucebase/index.ts, resources/js/vue/components/ui/saucebase/index.ts
Both catalogs import Building2 and add a Tenancy module with workspace, data isolation, roles and invites, and custom domains features.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 1caf0

This adds a non-clickable upcoming Tenancy card to both index-page module grids with consistent metadata and feature copy. No current merge-readiness risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding a tenancy module card to the index grid.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renanroble/index-tenancy-coming-soon

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

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Sep 6, 2026

Copy link
Copy Markdown

@roble
roble merged commit f95ad36 into main Sep 6, 2026
11 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