feat(sdk): Logo-Navigation, stabile Versionsnummer V001 + Firmenname im Header
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Failing after 45s
CI / test-python-backend-compliance (push) Successful in 35s
CI / test-python-document-crawler (push) Successful in 25s
CI / test-python-dsms-gateway (push) Successful in 21s

- Logo-Klick fuehrt zurueck zur Startseite (Neues/Bestehendes Projekt)
- Neue projectVersion im SDK State (inkrementiert nur bei explizitem Speichern)
- Header zeigt Firmenname + V001-Format statt auto-inkrementierende Sync-Version
- Sidebar Logo von Link auf Button umgestellt mit customerType-Reset

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-09 08:14:33 +01:00
parent de486aeab0
commit d3fc4cdaaa
6 changed files with 21 additions and 6 deletions

View File

@@ -2105,6 +2105,7 @@ export default function CompanyProfilePage() {
setCompanyProfile(completeProfile)
dispatch({ type: 'COMPLETE_STEP', payload: 'company-profile' })
dispatch({ type: 'SET_STATE', payload: { projectVersion: (state.projectVersion || 0) + 1 } })
// Also persist to dedicated backend endpoint
try {

View File

@@ -102,8 +102,13 @@ function SDKHeader({ sidebarCollapsed }: { sidebarCollapsed: boolean }) {
{/* Session Info Bar */}
<div className="flex items-center gap-4 px-6 py-1.5 bg-gray-50 border-t border-gray-100 text-xs text-gray-500">
{/* Version */}
<span className="font-mono text-gray-400">v{state.version}</span>
{/* Projekt + Version */}
<span className="text-gray-700 font-medium">
{state.companyProfile?.companyName || 'Kein Projekt'}
</span>
<span className="font-mono text-gray-400">
V{String(state.projectVersion || 1).padStart(3, '0')}
</span>
<span className="text-gray-300">|</span>