feat: vendor sidebar section, remove example tenant, add Logto link
All checks were successful
CI / build (push) Successful in 1m4s
CI / docker (push) Successful in 48s

- Sidebar: Tenants moved into expandable "Vendor" section with
  sub-items for Tenants and Identity (Logto console link)
- Bootstrap: removed example organization creation (Phase 6 org)
  — tenants are now created exclusively via the vendor console
- Removed BootstrapDataSeeder (no auto-seeded tenant/license)
- Bootstrap log updated to reflect clean-slate approach

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-10 08:19:46 +02:00
parent f5ef8e6488
commit aa663a9c9e
3 changed files with 24 additions and 145 deletions

View File

@@ -4,7 +4,7 @@ import {
Sidebar,
TopBar,
} from '@cameleer/design-system';
import { LayoutDashboard, ShieldCheck, Server, Users, Settings, KeyRound, Building } from 'lucide-react';
import { LayoutDashboard, ShieldCheck, Server, Users, Settings, KeyRound, Building, Fingerprint } from 'lucide-react';
import { useAuth } from '../auth/useAuth';
import { useScopes } from '../auth/useScopes';
import { useOrgStore } from '../auth/useOrganization';
@@ -62,12 +62,25 @@ export function Layout() {
{isVendor && (
<Sidebar.Section
icon={<Building size={16} />}
label="Tenants"
open={false}
active={isActive(location, '/vendor/tenants')}
label="Vendor"
open={onVendorRoute}
active={isActive(location, '/vendor')}
onToggle={() => navigate('/vendor/tenants')}
>
{null}
<div
style={{ padding: '6px 12px 6px 36px', fontSize: 13, cursor: 'pointer',
color: isActive(location, '/vendor/tenants') ? 'var(--text-primary)' : 'var(--text-muted)' }}
onClick={() => navigate('/vendor/tenants')}
>
Tenants
</div>
<div
style={{ padding: '6px 12px 6px 36px', fontSize: 13, cursor: 'pointer', color: 'var(--text-muted)' }}
onClick={() => window.open('/console', '_blank', 'noopener')}
>
<Fingerprint size={13} style={{ verticalAlign: 'middle', marginRight: 6 }} />
Identity (Logto)
</div>
</Sidebar.Section>
)}