T07b: frontend feature pages — companies + contacts + settings + audit + dashboard + search

- 11 new feature pages (CompaniesList/Detail/Form, ContactsList/Detail/Form,
  SettingsProfile/Roles/Users, AuditLog, GlobalSearchResults)
- 3 page updates (Dashboard with StatCard+ActivityFeed, Settings with tree nav+Outlet,
  TopBar with SearchDropdown)
- 13 new routes in routes/index.tsx
- i18n updates (de.json + en.json) with companies/contacts/settings/audit/search keys
- 12 new test files + 2 existing test fixes (TopBar, AppShell)
- 7 shared components (DataGrid, Tabs, SearchDropdown, CsvImportDialog, StatCard,
  ActivityFeed, UnsavedChangesGuard)
- 16 new API hooks in hooks.ts
- Verification: 141 tests pass, build succeeds, tsc --noEmit clean
This commit is contained in:
leocrm-bot
2026-06-29 11:01:39 +02:00
parent 22976abe92
commit 700b7a71ad
47 changed files with 4089 additions and 157 deletions
+16
View File
@@ -84,3 +84,19 @@
- Pushed to Forgejo: 7a5a48f..14bd4e3
### Next: T07a (Frontend SPA Shell — React 18)
## 2026-06-29 08:03 — T07a Complete
- **Task**: T07a — Frontend Core SPA (Shell, Auth, Routing, i18n, UI Library, Accessibility)
- **Commit**: 22976ab (pushed to Forgejo)
- **Tests**: 111/111 passing (20 test files)
- **tsc**: 0 errors
- **Build**: Success (471KB JS, 24KB CSS gzipped)
- **Files**: 66 files, 8598 insertions
- **Fixes applied by orchestrator**:
- Login form aria-label for role=form accessibility
- Avatar img alt="" to prevent duplicate role=img
- Avatar test null-safety with non-null assertion
- index.css border-border → border-secondary-200 (Tailwind class missing)
- .gitignore created to exclude node_modules/dist
- Remote URL fixed from agent-zero to Forgejo leocrm repo
- **Subagent**: implementation_engineer (hit context cap at ~90%, orchestrator completed remaining fixes)