Commit graph

23 commits

Author SHA1 Message Date
AeThex
7fec93e05c feat: Authentik SSO, nav systems, project pages, and schema fixes
Some checks are pending
Build / build (push) Waiting to run
Deploy / deploy (push) Waiting to run
Lint & Type Check / lint (push) Waiting to run
Security Scan / dependency-check (push) Waiting to run
Security Scan / semgrep (push) Waiting to run
Test / test (18.x) (push) Waiting to run
Test / test (20.x) (push) Waiting to run
Auth & SSO
- Wire Authentik (auth.aethex.tech) as OIDC PKCE SSO provider
- Server-side only flow with HMAC-signed stateless state token
- Account linking via authentik_sub in user metadata
- AeThex ID connection card in Dashboard connections tab
- Unlink endpoint POST /api/auth/authentik/unlink
- Fix node:https helper to bypass undici DNS bug on Node 18
- Fix resolv.conf to use 1.1.1.1/8.8.8.8 in container

Schema & types
- Regenerate database.types.ts from live Supabase schema (23k lines)
- Fix 511 TypeScript errors caused by stale 582-line types file
- Fix UserProfile import in aethex-database-adapter.ts
- Add notifications migration (title, message, read columns)

Server fixes
- Remove badge_color from achievements seed/upsert (column doesn't exist)
- Rename name→title, add slug field in achievements seed
- Remove email from all user_profiles select queries (column doesn't exist)
- Fix email-based achievement target lookup via auth.admin.listUsers
- Add GET /api/projects/:projectId endpoint
- Fix import.meta.dirname → fileURLToPath for Node 18 compatibility
- Expose VITE_APP_VERSION from package.json at build time

Navigation systems
- DevPlatformNav: reorganize into Learn/Build grouped dropdowns with descriptions
- Migrate all 11 dev-platform pages from main Layout to DevPlatformLayout
- Remove dead isDevMode context nav swap from main Layout
- EthosLayout: purple-accented tab bar (Library, Artists, Licensing, Settings)
  with member-only gating and guest CTA — migrate 4 Ethos pages
- GameForgeLayout: orange-branded sidebar with Studio section and lock icons
  for unauthenticated users — migrate GameForge + GameForgeDashboard
- SysBar: live latency ping, status dot (green/yellow/red), real version

Layout dropdown
- Role-gate Admin (owner/admin/founder only) and Internal Docs (+ staff)
- Add Internal section label with separator
- Fix settings link from /dashboard?tab=profile#settings to /dashboard?tab=settings

Project pages
- Add ProjectDetail page at /projects/:projectId
- Fix ProfilePassport "View mission" link from /projects/new to /projects/:id

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 05:01:10 +00:00
AeThex
c67ee049b6 fix: resolve broken auth imports and JSX tag mismatches
Some checks are pending
Build / build (push) Waiting to run
Deploy / deploy (push) Waiting to run
Lint & Type Check / lint (push) Waiting to run
Security Scan / semgrep (push) Waiting to run
Security Scan / dependency-check (push) Waiting to run
Test / test (18.x) (push) Waiting to run
Test / test (20.x) (push) Waiting to run
- Fix 14 files importing useAuth from nonexistent @/lib/auth or @/hooks/useAuth → @/contexts/AuthContext
- Fix ClientReports: Button wrapping Card content, add proper Tabs/TabsContent structure
- Fix ClientInvoices, ClientContracts: </div> → </section> tag mismatch
- Fix ClientSettings: orphaned </TabsContent>, add missing Tabs wrapper and profile tab
- Re-enable 12 disabled pages in App.tsx (hub + staff routes)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 01:39:46 +00:00
MrPiglr
f2823e2cd1
Merge branch 'main' into claude/find-unfinished-flows-vKjsD 2026-01-26 15:50:36 -07:00
Claude
b640b0d2ad
Mobile optimization pass for responsive layouts
- TabsList: Add responsive grid columns (grid-cols-2/3 on mobile)
- Headers: Stack vertically on mobile with responsive text sizes
- Dialogs: Use viewport-relative heights (70-80vh on mobile)
- Grids: Add sm: breakpoints for single-column mobile layouts
- Tables: Add overflow-x-auto for horizontal scrolling
- Buttons: Full-width on mobile with flex-1 sm:flex-none
- Select triggers: Full-width on mobile

Files updated: 21 component and page files across admin,
staff, dashboards, and hub sections.
2026-01-26 22:46:26 +00:00
Claude
9c3942ebbc
Build complete Client Portal pages
Replaced 4 placeholder pages with full implementations:

- ClientContracts.tsx (455 lines)
  - Contract list with search/filter
  - Contract detail view with milestones
  - Document management
  - Amendment history
  - Status tracking (draft/active/completed/expired)

- ClientInvoices.tsx (456 lines)
  - Invoice list with status filters
  - Invoice detail with line items
  - Payment processing (Pay Now)
  - PDF download
  - Billing stats dashboard

- ClientReports.tsx (500 lines)
  - Project reports with analytics
  - Budget analysis by project
  - Time tracking summaries
  - Export to PDF/CSV
  - 4 tab views (overview/projects/budget/time)

- ClientSettings.tsx (695 lines)
  - Company profile management
  - Team member invites/management
  - Notification preferences
  - Billing settings
  - Security settings (2FA, password, danger zone)

All pages match ClientHub styling and use existing APIs.
2026-01-26 21:10:00 +00:00
MrPiglr
0623521374
feat: complete Phase 2 design system rollout
Applied max-w-6xl standard across all remaining pages:

**Internal Tools & Admin (6 files):**
- Teams.tsx, Squads.tsx, Network.tsx, Portal.tsx
- Admin.tsx, BotPanel.tsx, Arms.tsx

**Hub/Client Pages (6 files):**
- ClientHub.tsx, ClientProjects.tsx (all 3 instances)
- ClientDashboard.tsx, ClientSettings.tsx
- ClientContracts.tsx, ClientInvoices.tsx, ClientReports.tsx

**Dashboard Pages (5 files):**
- FoundationDashboard.tsx, GameForgeDashboard.tsx
- StaffDashboard.tsx, NexusDashboard.tsx, LabsDashboard.tsx

**Community & Creator Pages (6 files):**
- Directory.tsx, Projects.tsx
- CreatorDirectory.tsx, MentorProfile.tsx, EthosGuild.tsx
- FoundationDownloadCenter.tsx, OpportunitiesHub.tsx

**Result:** Zero instances of max-w-7xl remaining in client/pages
All pages now use consistent max-w-6xl width for optimal readability
2026-01-11 01:57:16 +00:00
Builder.io
e2efadff2d Prettier format pending files 2025-11-17 08:47:57 +00:00
Builder.io
d909ec687c Comprehensive CORP/ClientDashboard with projects, contracts, team management
cgen-e5694138270d4a94b40174722f7c9250
2025-11-17 08:27:54 +00:00
Builder.io
8a94eb1785 Prettier format pending files 2025-11-15 16:38:40 +00:00
Builder.io
ee5df3fd90 completionId: cgen-3cb6f0c6b9a44d5e8a9ccfb14e71544f
cgen-3cb6f0c6b9a44d5e8a9ccfb14e71544f
2025-11-15 09:27:49 +00:00
Builder.io
8f201df594 completionId: cgen-b2348a15f2b147bc9215f4ed37288d48
cgen-b2348a15f2b147bc9215f4ed37288d48
2025-11-15 09:27:23 +00:00
Builder.io
ecd739d428 Implement CORP Dashboard (Priority #2) with all widgets
cgen-a56866234b0e4695a35ed6f59f85f0c9
2025-11-15 09:14:15 +00:00
Builder.io
733f0b93a0 completionId: cgen-4cd2fbd543854c3795e9222f485a9a56
cgen-4cd2fbd543854c3795e9222f485a9a56
2025-11-15 08:55:30 +00:00
Builder.io
d09a7b93e2 completionId: cgen-a65e2d2900d4481f9eea435595eae2fc
cgen-a65e2d2900d4481f9eea435595eae2fc
2025-11-15 08:55:26 +00:00
Builder.io
fc0e850b71 CORP Client Hub - Enterprise Portal
cgen-fd31278d3ed841b9b74278b06af9b5bb
2025-11-15 08:52:39 +00:00
Builder.io
159063a0aa Prettier format pending files 2025-11-12 05:06:07 +00:00
Builder.io
1a5a52e3f5 Create CORP Client Settings placeholder
cgen-0931ef886b9c4319b64ec0afc91e6cef
2025-11-12 04:54:02 +00:00
Builder.io
04f1b705cf Create CORP Client Reports placeholder
cgen-e341f6d26d054430818e5a5190bc9cd8
2025-11-12 04:53:55 +00:00
Builder.io
d7dfc4feb7 Create CORP Client Dashboard placeholder
cgen-f88272700a5d402cb6c991d7c802cac2
2025-11-12 04:53:50 +00:00
Builder.io
ffffc53b6b Create CORP Client Contracts placeholder page
cgen-b729d2ffb46a464f8f72837e8d70db91
2025-11-12 04:53:45 +00:00
Builder.io
ced1f428e5 Create CORP Client Invoices placeholder page
cgen-352d5592364e4266abdd9a1ec9f2bf59
2025-11-12 04:53:40 +00:00
Builder.io
830f4e2c33 Create CORP Client Projects page
cgen-da5d730529ed4af48c8ac7f7dd2a5f3b
2025-11-12 04:53:22 +00:00
Builder.io
cd629d7db4 Create CORP Client Hub landing page
cgen-bba3ae86a0774846bdc466d386c519e9
2025-11-12 04:53:02 +00:00