Commit graph

169 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
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
MrPiglr
f8c3027428
refactor: standardize content widths on GameForge, Dashboard, and Blog pages
- Reduced all max-w-7xl containers to max-w-6xl for better readability
- Applied design system standards to GameForge (hero, stats, features, team sections)
- Updated Dashboard main container width
- Normalized Blog page section widths (filter, insights, posts, newsletter)
- Improved visual consistency across high-traffic pages
2026-01-11 01:49:59 +00:00
MrPiglr
4f89366d77
feat: Improve developer platform navigation and discoverability
- Add breadcrumbs to all developer platform pages for better navigation context
- Add 'Main Dashboard' link to developer mode navigation for easy exit
- Add prominent developer CTA card to main dashboard to increase discovery
- Wrap developer dashboard route with RequireAccess for authentication

User Flow Improvements:
✓ Users can now easily navigate back to main dashboard from dev platform
✓ Breadcrumbs show clear path: Home > Developer Platform > Current Page
✓ New users see attractive CTA with API keys, docs, and templates links
✓ Authentication enforced on /dev-platform/dashboard

Files changed: 9 (Layout, Dashboard, and 7 dev-platform pages)
2026-01-10 02:29:14 +00:00
MrPiglr
25d584fd46
feat: Complete database migration and developer platform
- Applied all 31 pending Supabase migrations successfully
- Fixed 100+ policy/trigger/index duplication errors for shared database
- Resolved foundation_contributions schema mismatch (added user_id, contribution_type, resource_id, points columns)
- Added DROP IF EXISTS statements for all policies, triggers, and indexes
- Wrapped storage.objects operations in permission-safe DO blocks

Developer Platform (10 Phases Complete):
- API key management dashboard with RLS and SHA-256 hashing
- Complete API documentation (8 endpoint categories)
- 9 template starters + 9 marketplace products + 12 code examples
- Quick start guide and SDK distribution
- Testing framework and QA checklist

Database Schema Now Includes:
- Ethos: Artist/guild tracking, verification, tracks, storage
- GameForge: Games, assets, monetization
- Foundation: Courses, mentorship, resources, contributions
- Nexus: Creator marketplace, portfolios, contracts, escrow
- Corp Hub: Invoices, contracts, team management, projects
- Developer: API keys, usage logs, profiles

Platform Status: Production Ready 
2026-01-10 02:05:15 +00:00
sirpiglr
2e6de6e57c Remove references to Dev-Link across the application
Removes the "Dev-Link" identifier and associated configurations from various UI components and navigation elements, consolidating its functionality into the "Nexus" realm.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: c78d9734-c653-46ad-a86e-c692f7d13621
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/aPpJgbb
Replit-Helium-Checkpoint-Created: true
2025-12-13 02:36:31 +00:00
sirpiglr
f0e5f40100 Add authentication to profile updates and dashboard requests
Introduce Bearer token authentication for the /api/profile/update endpoint, ensuring users can only modify their own profiles. Update the Dashboard to include the authentication token in all API requests, enhancing security and data integrity.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 35bff579-2fa1-4c42-a661-d861f25fa2b6
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/AJbgVVq
Replit-Helium-Checkpoint-Created: true
2025-12-04 09:19:42 +00:00
sirpiglr
aa47015dbd Update user profile settings and creator directory features
Refactors API base URL handling, modifies toast notification parameters from `message` to `description`, and introduces new UI components and logic for managing realm preferences in the Dashboard and creating creator profiles in the Creator Directory.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: d2c019e3-5d76-487b-9be0-1ca441f25a69
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/cjJvaG9
Replit-Helium-Checkpoint-Created: true
2025-12-03 21:28:41 +00:00
Builder.io
539826ea97 Update Discord provider to use DiscordIcon instead of MessageCircle
cgen-773a651a9e43433dab5e5baa75d45fb8
2025-11-17 08:27:08 +00:00
Builder.io
1025346302 Add DiscordIcon component and remove MessageCircle import from Dashboard
cgen-991a176c023140048b65062a96c19f88
2025-11-17 08:27:05 +00:00
Builder.io
6c178cc163 Update Dashboard arm click to support external links
cgen-b5977d1e08ea4fb6bd9a796ecc711d4f
2025-11-17 04:56:11 +00:00
Builder.io
58e1c7f1d9 Update Arms.tsx to support external links
cgen-4e1132d780184431ab11397a7a4ee7e7
2025-11-17 04:55:51 +00:00
Builder.io
776caea57a Remove Foundation from Dashboard.tsx
cgen-06c7115a24754eee96285e79c63bb03f
2025-11-17 03:23:36 +00:00
Builder.io
35133d884b Prettier format pending files 2025-11-15 17:16:51 +00:00
Builder.io
bdd221f1a6 completionId: cgen-23dae62dfe874128a6a29c6ae089213c
cgen-23dae62dfe874128a6a29c6ae089213c
2025-11-15 16:55:49 +00:00
Builder.io
fa2cee3a91 completionId: cgen-900ca33e56fc4897a91d76b896949814
cgen-900ca33e56fc4897a91d76b896949814
2025-11-15 16:55:45 +00:00
Builder.io
1566a83bc4 completionId: cgen-758726f374204b0f90ea8cc6aa3f468a
cgen-758726f374204b0f90ea8cc6aa3f468a
2025-11-15 16:55:37 +00:00
Builder.io
f4c57a4f2b completionId: cgen-6101ea3e3ad6469e905930d77158ae7a
cgen-6101ea3e3ad6469e905930d77158ae7a
2025-11-15 16:40:52 +00:00
Builder.io
502d9bdef7 completionId: cgen-03cf87fe534544b2813a58084a2ad224
cgen-03cf87fe534544b2813a58084a2ad224
2025-11-15 16:40:46 +00:00
Builder.io
944d8424d0 completionId: cgen-2a866028865e42369a143a03fa7385a6
cgen-2a866028865e42369a143a03fa7385a6
2025-11-15 16:40:41 +00:00
Builder.io
eecfb8c44c completionId: cgen-39e9a11d5c8a4d90a03fd67e69db9385
cgen-39e9a11d5c8a4d90a03fd67e69db9385
2025-11-15 16:40:38 +00:00
Builder.io
8a94eb1785 Prettier format pending files 2025-11-15 16:38:40 +00:00
Builder.io
7f9fc7b988 Update dashboard arm links to subdashboards
cgen-13331280b93e4bc0b6f970fc3a3d58ce
2025-11-15 08:53:19 +00:00
Builder.io
e5f7b7fbf4 Redesigned Dashboard with Arm-Centric Layout and Improved UI Stability
cgen-bf516ddb20f44a0a892d89ce95c959d1
2025-11-15 08:27:40 +00:00
Builder.io
2abb46a303 Remove pointer-events workarounds and fix Settings section
cgen-2b5dde52fd684cc383804430582af8fb
2025-11-15 04:38:33 +00:00
Builder.io
f0984ed516 completionId: cgen-9f804775057f43ec93ca14cc3158896c
cgen-9f804775057f43ec93ca14cc3158896c
2025-11-15 04:33:30 +00:00
Builder.io
05e4271f9c completionId: cgen-e054a90c32b345f5a9c73c099aa2e20a
cgen-e054a90c32b345f5a9c73c099aa2e20a
2025-11-15 04:33:26 +00:00
Builder.io
dd60c09671 completionId: cgen-85bea473ff9b4e0a98402602f60337fe
cgen-85bea473ff9b4e0a98402602f60337fe
2025-11-15 04:33:21 +00:00
Builder.io
ced19a22e1 completionId: cgen-9fb50027b987490ea4a28c5367279f1a
cgen-9fb50027b987490ea4a28c5367279f1a
2025-11-15 04:33:14 +00:00
Builder.io
5485386f7f completionId: cgen-dd2f0581e0c24cd482615ee2592c30d4
cgen-dd2f0581e0c24cd482615ee2592c30d4
2025-11-15 04:28:37 +00:00
Builder.io
452e79a1c3 completionId: cgen-51499379e5fe44019f7d7ea121f32f04
cgen-51499379e5fe44019f7d7ea121f32f04
2025-11-15 04:28:33 +00:00
Builder.io
d616f12339 completionId: cgen-b67cd6dad0cd47e0bfc0ba230944c737
cgen-b67cd6dad0cd47e0bfc0ba230944c737
2025-11-15 04:28:28 +00:00
Builder.io
83983540c8 completionId: cgen-b356f78fb7bb4bdbafb732b3681b32bb
cgen-b356f78fb7bb4bdbafb732b3681b32bb
2025-11-15 04:28:23 +00:00
Builder.io
9363bab408 completionId: cgen-d2c1f87f03a04671b5a98a11287f3043
cgen-d2c1f87f03a04671b5a98a11287f3043
2025-11-15 04:25:44 +00:00
Builder.io
aaac82137c Prettier format pending files 2025-11-15 02:11:47 +00:00
Builder.io
329c2841c9 Add WalletVerification component to connections tab
cgen-32d30adbb670493b8bad9fb5d234adf7
2025-11-15 01:35:22 +00:00
Builder.io
54e87c925b Import WalletVerification component
cgen-f5ab9a02bab24a4dbdaa4c17cb268424
2025-11-15 01:35:17 +00:00
Builder.io
51516559ba completionId: cgen-ddc7ab8a4830422292d13ed4d6d01fad
cgen-ddc7ab8a4830422292d13ed4d6d01fad
2025-11-13 06:04:43 +00:00
Builder.io
f62aee8d08 completionId: cgen-737b095c6e4540e3992cd01530a793e4
cgen-737b095c6e4540e3992cd01530a793e4
2025-11-13 06:04:36 +00:00
Builder.io
3c686c1793 completionId: cgen-baf1a006d8b54f5a8be57dff8be7a06d
cgen-baf1a006d8b54f5a8be57dff8be7a06d
2025-11-13 06:04:28 +00:00
Builder.io
af5a15ffce completionId: cgen-5b2d1fdd81214e49a7bd5950cb581da2
cgen-5b2d1fdd81214e49a7bd5950cb581da2
2025-11-13 06:04:24 +00:00
Builder.io
ed32245155 completionId: cgen-0b7dcb28b98f4199add6c7c08d8f8a02
cgen-0b7dcb28b98f4199add6c7c08d8f8a02
2025-11-13 06:04:13 +00:00
Builder.io
aa698e7e98 Update Dashboard consulting link to /corp
cgen-c5f5f3d8d1954a999412372893956eb2
2025-11-13 04:35:45 +00:00
Builder.io
ccc280001e Prettier format pending files 2025-11-13 03:58:48 +00:00
Builder.io
e28203cd19 completionId: cgen-e0186868ef1f49b297847127158a8df3
cgen-e0186868ef1f49b297847127158a8df3
2025-11-13 03:56:25 +00:00
Builder.io
3d75207389 completionId: cgen-5802fba3175c469394af3c1863ead0d3
cgen-5802fba3175c469394af3c1863ead0d3
2025-11-13 03:56:13 +00:00
Builder.io
b3bf21e0cf completionId: cgen-c4f91b123ed145d8bd120602ae8059c3
cgen-c4f91b123ed145d8bd120602ae8059c3
2025-11-13 03:56:04 +00:00
Builder.io
381a7dff27 Prettier format pending files 2025-11-13 03:24:02 +00:00
Builder.io
9aa32cac83 Fix both /api/storage/ensure-buckets in Dashboard.tsx
cgen-f5ce3bc0c49e4520b394d727263b306b
2025-11-13 03:00:11 +00:00