mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
feat(web): tenant list shows plan badge (Community/Pro) instead of Preview
The green "Preview" badge was the activation-gate whitelist marker from the preview era. With public availability + auto-approve live it carried no information. Rows now show the plan tier (legacy "enterprise" resolves to Pro, everything else Community); the amber "Waitlist" badge still appears for unapproved tenants. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -576,15 +576,20 @@ function TenantManagementSectionInner({
|
||||
Suspended
|
||||
</span>
|
||||
)}
|
||||
{previewApproved.has(tenant.tenantId) ? (
|
||||
<span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">
|
||||
Preview
|
||||
</span>
|
||||
) : (
|
||||
{!previewApproved.has(tenant.tenantId) && (
|
||||
<span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-amber-100 text-amber-800">
|
||||
Waitlist
|
||||
</span>
|
||||
)}
|
||||
{tenant.planTier === "pro" || tenant.planTier === "enterprise" ? (
|
||||
<span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800">
|
||||
Pro
|
||||
</span>
|
||||
) : (
|
||||
<span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">
|
||||
Community
|
||||
</span>
|
||||
)}
|
||||
{tenant.validateAutopilotDevice && (
|
||||
<span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
|
||||
Ready
|
||||
|
||||
Reference in New Issue
Block a user