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:
Oliver Kieselbach
2026-08-03 15:50:56 +02:00
parent 3628c7bc79
commit f3028041af
@@ -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