docs: update CLAUDE.md, ROADMAP.md, SESSION-LOG.md with all session findings
This commit is contained in:
@@ -4,6 +4,71 @@
|
||||
|
||||
---
|
||||
|
||||
## Session — 2026-02-27 evening (GitHub Copilot - Claude Opus 4.6)
|
||||
|
||||
### Context
|
||||
Continued from earlier session (Gemini 3.1 Pro got stuck on Authentik testing). This session focused on fixing deployment pipeline, then implementing Phase 3 visual/UX tasks + infrastructure documentation.
|
||||
|
||||
### Completed
|
||||
|
||||
- **Deployment Pipeline Fixes:**
|
||||
- Fixed Dockerfile: added `npx prisma generate` before build step
|
||||
- Fixed docker-compose.yml: hardcoded all env vars (Portainer CE can't inject env vars)
|
||||
- Moved `@prisma/client` from devDependencies to dependencies (runtime requirement)
|
||||
- Created `stack.env` (later abandoned — Portainer CE doesn't parse it reliably)
|
||||
- Confirmed auth flow works end-to-end on production (tools.beletage.ro)
|
||||
|
||||
- **3.01 ✅ Header & Navigation:**
|
||||
- Added 3 company logos (BTG, US, SDT) with theme-aware variants (light/dark)
|
||||
- Interactive mini-game: click animations (spin/bounce/ping), secret combo BTG→US→SDT triggers confetti
|
||||
- Logo layout: flex-1 centered row with dual-render (both light+dark images, CSS toggle) to fix SSR hydration
|
||||
- "ArchiTools" text centered below logos, links to Dashboard
|
||||
- Created animated theme toggle: Sun/Moon lucide icons in sliding knob, gradient sky background, stars (dark), clouds (light)
|
||||
|
||||
- **3.04 ✅ Authentik Integration:**
|
||||
- Already done by previous session (Gemini) — confirmed working. Marked as done.
|
||||
|
||||
- **3.09 ✅ Address Book Dynamic Types:**
|
||||
- `CreatableTypeSelect` component (dropdown + text input + "+" button)
|
||||
- `ContactType` union type extended with `| string` for custom types
|
||||
- Dynamic `allTypes` derived from existing contacts' types
|
||||
|
||||
- **3.10 ✅ Hot Desk Window:**
|
||||
- Window on left wall (sky-blue, "Fereastră"), door on right wall (amber, "Ușă")
|
||||
|
||||
- **3.11 ✅ Password Vault Email + Link:**
|
||||
- Added `email: string` field to VaultEntry type + form
|
||||
- URLs rendered as clickable `<a>` links with `target="_blank"`
|
||||
|
||||
- **Documentation Updated:**
|
||||
- CLAUDE.md: stack table (Prisma/PG/NextAuth/MinIO), 14 modules, infra ports, deployment pipeline, integration status
|
||||
- ROADMAP.md: marked Phase 2, 3.01, 3.04, 3.09, 3.10, 3.11, Phase 6 (6.01), Phase 7 (7.01, 7.02, 7.04) as done
|
||||
- SESSION-LOG.md: this entry
|
||||
|
||||
### Files Created
|
||||
- `src/shared/components/common/theme-toggle.tsx` — Animated sun/moon theme toggle
|
||||
|
||||
### Files Modified
|
||||
- `Dockerfile` — Added `npx prisma generate`
|
||||
- `docker-compose.yml` — All env vars hardcoded
|
||||
- `package.json` — @prisma/client moved to dependencies
|
||||
- `src/config/companies.ts` — BTG logo paths + fixed US/SDT dark variants
|
||||
- `src/shared/components/layout/sidebar.tsx` — Logo redesign + mini-game
|
||||
- `src/shared/components/layout/header.tsx` — Theme toggle replacement
|
||||
- `src/modules/password-vault/types.ts` — Added email field
|
||||
- `src/modules/password-vault/components/password-vault-module.tsx` — Email + clickable URLs
|
||||
- `src/modules/address-book/types.ts` — Dynamic ContactType
|
||||
- `src/modules/address-book/components/address-book-module.tsx` — CreatableTypeSelect
|
||||
- `src/modules/hot-desk/components/desk-room-layout.tsx` — Window + door landmarks
|
||||
|
||||
### Notes
|
||||
- Portainer CE requires manual "Pull and redeploy" — no auto-rebuild on webhook
|
||||
- "Re-pull image" checkbox only needed for base image updates (node:20-alpine), not for code changes
|
||||
- Logo SVGs have very different aspect ratios (BTG ~7:1, US ~6:1, SDT ~3:1) — using flex-1 min-w-0 to handle this
|
||||
- Theme toggle: `resolvedTheme` from next-themes is `undefined` on SSR first render — must use `mounted` state guard
|
||||
|
||||
---
|
||||
|
||||
## Session — 2026-02-27 (GitHub Copilot - Gemini 3.1 Pro)
|
||||
|
||||
### Completed
|
||||
|
||||
Reference in New Issue
Block a user