Commit graph

340 commits

Author SHA1 Message Date
Builder.io
d35c4bbeea Provide chainable mock for supabase.from when not configured to avoid loading hangs
cgen-515a21feaa744d9990d68533b41ebbe8
2025-09-27 20:56:31 +00:00
Builder.io
118f94e221 Make onboarding finish resilient: don't block on interests/achievements; navigate on profile success
cgen-f3adfc2c253f4b4d83ace9bd06157900
2025-09-27 20:52:03 +00:00
Builder.io
9fb5ec70f4 Refine Dashboard loading/render conditions to avoid persistent overlay
cgen-486add7947fb4118a8f67dc0e739f1f7
2025-09-27 20:47:55 +00:00
Builder.io
d9d1e1ae44 Guard render against premature redirect; show nothing only when redirecting condition met
cgen-0f1c083ad7784113b586659a13c98789
2025-09-27 20:45:16 +00:00
Builder.io
dfebb544cf Avoid redirect loop: wait for auth to resolve before redirecting from Dashboard
cgen-4ecde8665964461e8ddcaaf052e7b577
2025-09-27 20:45:10 +00:00
Builder.io
7362145c0f Remove unused import for achievement service
cgen-0208996e560749ff97f5735e1e8eab14
2025-09-27 20:35:56 +00:00
Builder.io
6d81390ea9 Remove automatic profile creation to allow onboarding to handle it
cgen-99bb0668319e45f58c8d6e1a566349da
2025-09-27 20:35:41 +00:00
Builder.io
cc7bd12a0d Stop auto-redirect on /login and navigate after successful sign-in
cgen-68ff003f276c402782db62ac80b4d144
2025-09-27 20:35:07 +00:00
Builder.io
f34a6495d5 OAuth callback should return to login so effect handles routing
cgen-c4029dcaa501418fb84b22c2af88fc9d
2025-09-27 20:32:21 +00:00
Builder.io
a4509d2e90 Adjust routing: show login page, redirect after successful auth; OAuth returns to login
cgen-1fddf1bb6b9042ecaf51edccfb75f069
2025-09-27 20:32:15 +00:00
Builder.io
9d8d6da61b Update OAuth redirect to onboarding
cgen-72dca716125848628a0eb5acf4b5901d
2025-09-27 20:29:26 +00:00
Builder.io
e8b5b119d9 Force routing to onboarding after sign-in and OAuth
cgen-340a88b341a541ada5c84609bbd76330
2025-09-27 20:29:22 +00:00
Builder.io
d9c749a328 Improve onboarding error logging and toast
cgen-2d9f0c54d8f44dc3be0c69a86e99189a
2025-09-27 20:27:17 +00:00
Builder.io
9c46918d94 Prettier format pending files 2025-09-27 20:24:47 +00:00
Builder.io
037b5f2e42 Avoid duplicate profile insert by updating when profile exists
cgen-457c85dadc6f44d597ff623fcd8a1d1a
2025-09-27 20:22:06 +00:00
Builder.io
4d10efa5df Only pass finish props on final step to avoid TS excess props
cgen-60357f089d224893b45f77257192e804
2025-09-27 20:21:48 +00:00
Builder.io
bea18b6fbd Replace placeholder routes with real pages
cgen-71c1ab8111aa4c508834bdb12e28ff9d
2025-09-27 20:20:44 +00:00
Builder.io
343b60770f Add Terms of Service page
cgen-a04282b3fa1946448990006de30c399c
2025-09-27 20:20:39 +00:00
Builder.io
f6ac350a09 Add Privacy Policy page
cgen-4812659abfe74f889cfa79452b6ad87b
2025-09-27 20:20:32 +00:00
Builder.io
c5e59e5b77 Add Get Started page
cgen-0df4b16c9e8749f7b232e8c20fe010fd
2025-09-27 20:20:26 +00:00
Builder.io
5abb43ccd7 Add Contact page
cgen-610870d988534a65afc204938fab2d46
2025-09-27 20:20:22 +00:00
Builder.io
8664b8612d Add About page
cgen-66f8620f6d074eb78d420a9a40de7386
2025-09-27 20:20:17 +00:00
Builder.io
8fce2580ca Enable finish action from Welcome step
cgen-d1b9da83542540fa95b5b366e868f6dc
2025-09-27 20:20:10 +00:00
Builder.io
ce8ff10c94 Integrate onboarding completion with Supabase and profile saving
cgen-62935a2957bb4c448d10c75056e63a33
2025-09-27 20:19:56 +00:00
Builder.io
db14907a2a Route users through onboarding and finalize profile; replace placeholders with full pages
cgen-b0a06a29a635458ba758b8f3b9b25372
2025-09-27 20:19:01 +00:00
Builder.io
76720abb34 Fix supabase proxy to not mock database queries when configured
cgen-c1a3ddaf730745ff8dd4057dc69ebd1f
2025-09-27 00:36:41 +00:00
Builder.io
ff06e4600d Add fallbacks to mock storage for missing tables/unreachable DB; improve resilience
cgen-e7f42cd055f94d6d91d75ade377027ed
2025-09-27 00:35:40 +00:00
Builder.io
5f15ef410b Add reduced-motion media query to decrease animations on low-power devices
cgen-a753a86e08784c10afa22ddc327f2e86
2025-09-26 21:50:20 +00:00
Builder.io
8533b20675 Simplify PageTransition to fast fade without overlay
cgen-090757e34c764632ac3dfca36ace0c37
2025-09-26 21:49:39 +00:00
Builder.io
a285036b20 Remove duplicate Sonner toaster for stability
cgen-f6af202dd03b4e3c977368a95ef885b6
2025-09-26 21:49:21 +00:00
Builder.io
298ca78620 Optimize toast viewport and animations
cgen-67a6122e466f4f508ef45d98356ad6ca
2025-09-26 21:49:05 +00:00
Builder.io
7484d66959 Throttle and dedupe toasts; reduce duration
cgen-558a229471864edaae7048c0c8d3e756
2025-09-26 21:48:47 +00:00
Builder.io
f1c849b472 Fix initialization order of isSupabaseConfigured
cgen-c0bd5b2bddf64725b7b6386bb5e6f48c
2025-08-17 01:14:35 +00:00
Builder.io
63ee6e6dd1 Add environment variable debugging
cgen-66cce74d49f54619af3377dbe56a34fc
2025-08-17 00:18:50 +00:00
Builder.io
e22e74f647 Add global Supabase test function
cgen-e4718614a9e8400c9c01122f80dbbdee
2025-08-17 00:18:17 +00:00
Builder.io
d393a34157 Add direct Supabase connection test
cgen-6956b0a4c52e4ea984b68a4102aff0b5
2025-08-17 00:18:06 +00:00
Builder.io
a8a0cf7d1a Update profile save to work with mock auth
cgen-eb29c0c13568447782a2007c6bfa8b97
2025-08-17 00:16:28 +00:00
Builder.io
491f6eaf06 Update signOut to notify auth state changes
cgen-7b6080a47fe74da1a173a231cd272f7b
2025-08-17 00:16:03 +00:00
Builder.io
04f4418803 Update signIn and signOut to notify auth state changes
cgen-45a41023af394c5195abf123501266df
2025-08-17 00:15:56 +00:00
Builder.io
cd3ebd8852 Improve mock auth session management
cgen-c34330c73eeb4aa8873011c6f6e86489
2025-08-17 00:15:45 +00:00
Builder.io
d524f128f1 Fix onAuthStateChange in proxy
cgen-10faf35cf70944daacd95863cd6801f3
2025-08-17 00:15:34 +00:00
Builder.io
01bec84abb Improve other auth methods in proxy
cgen-322a0a56df934064950e20a7a07ef977
2025-08-17 00:15:26 +00:00
Builder.io
3d50af82cd Fix Supabase proxy to properly handle connection failures
cgen-4d110997bc7a4d9bbd0b8c087b10faae
2025-08-17 00:15:11 +00:00
Builder.io
f6896a7d5d Fix createInitialProfile to work with existing database schema
cgen-136270cd5c4648229b59ae6f94aabc30
2025-08-17 00:14:27 +00:00
Builder.io
8f3f762bcf Update user service to work with existing database structure
cgen-06b007030c664654bfa74178ccd60caa
2025-08-17 00:13:53 +00:00
Builder.io
e0f939c4e5 Update database adapter to work with existing shared database
cgen-94d8dbc08c204cf28de7ddc58f1b3f3d
2025-08-17 00:13:42 +00:00
Builder.io
fdffadc7f0 Remove duplicate export declarations
cgen-417785668e2b46429c446d82ad2d3ab1
2025-08-17 00:12:12 +00:00
Builder.io
72dd012296 Simplify Supabase config with working credentials
cgen-bcae1e70e5f14f7ebc523b18f63cf929
2025-08-17 00:10:30 +00:00
Builder.io
892139829a Add fallback to mock authentication when Supabase fails
cgen-b104e9d8751642338d83d1384d6df9db
2025-08-17 00:06:30 +00:00
Builder.io
9b7033d32f Create mock authentication service for development
cgen-a96f3a61be7644c1ab9f1aeda2649ec7
2025-08-17 00:05:56 +00:00
Builder.io
778bf63d09 Add better error handling for network failures in signIn
cgen-de39d44d0f384b259edd22ab96568a22
2025-08-17 00:05:20 +00:00
Builder.io
117850501b Fix Supabase configuration and add proper connection testing
cgen-273c48e01e314dc392022b241ace8cee
2025-08-17 00:04:37 +00:00
Builder.io
478dc8836b Add connection testing and fallback for Supabase
cgen-d3c88383855e49db8dd63e0d326a1cad
2025-08-17 00:04:19 +00:00
Builder.io
0711621b19 Add supabase import to Profile.tsx
cgen-c780b35ddb70458a8d3988f1646e8b56
2025-08-16 04:52:25 +00:00
Builder.io
fa8a90535a Add debugging and fix profile save function
cgen-b56ce53a36f14bb09b42cd6849c42432
2025-08-16 04:51:56 +00:00
Builder.io
b30fd94826 Add fallback content for empty projects and achievements arrays
cgen-624c92d2eb4a4dcba723087dc163a93d
2025-08-16 04:30:18 +00:00
Builder.io
c3a685403f Add error handling for database operations
cgen-dd6458c3fa9940209cafe1776735456b
2025-08-16 04:29:40 +00:00
Builder.io
1aa30b6ca7 Fix achievements mapping to use proper icon resolution
cgen-653936a90a2c492aac47017b234a51c3
2025-08-16 04:29:23 +00:00
Builder.io
6cc97828e7 Fix Dashboard errors - missing onClick handlers and achievement icon issues
cgen-61821de891e64bf9a9adc6e31033f692
2025-08-16 04:29:05 +00:00
Builder.io
16a9c5c69d Add profile setup banner when no profile exists
cgen-5667af6f9aa74d9b984dbf046cd2f6fa
2025-08-16 04:25:40 +00:00
Builder.io
1b93f87906 Temporarily simplify Dashboard to always show content for debugging
cgen-eb8f309ea94f45cba9cab9fb7852c4f4
2025-08-16 04:25:17 +00:00
Builder.io
df6c15511e Add debugging console logs to Dashboard
cgen-f95480f2f74c4f7b872708def548d047
2025-08-16 04:24:21 +00:00
Builder.io
b2d984770e Create profile for all authenticated users, not just OAuth users
cgen-73f85d66299a42b3b9994ce907b7b0b7
2025-08-16 04:24:06 +00:00
Builder.io
cc5469a7dc Fix Dashboard to show profile setup instead of null when no profile exists
cgen-ff17344e1fe040a794ee6bfb00d22f82
2025-08-16 04:23:36 +00:00
Builder.io
9efe4170ef Fix fetchUserProfile to ensure loading state clears
cgen-2304fa8b229249d49b8154f21330cb30
2025-08-16 04:21:31 +00:00
Builder.io
cce06096d8 Add timeout to prevent infinite loading in AuthContext
cgen-7304cc13c3ae495c975e04fda449cf3b
2025-08-16 04:21:23 +00:00
Builder.io
03ca1fa22f Fix Login loading state check to prevent infinite loading
cgen-25a68a3457824b3394a0d914af3b0f4e
2025-08-16 04:21:10 +00:00
Builder.io
9a99b23ca7 Fix toast usage in Login component
cgen-e1c8f88d294244e0a2add4499ee11438
2025-08-16 04:20:40 +00:00
Builder.io
ba86ca54b0 Initialize toast hook in Login component
cgen-cfdbdd13eb7e4e868bd6115aae22845b
2025-08-16 04:20:33 +00:00
Builder.io
e9fb43706b Fix Login.tsx toast import and usage
cgen-bdc7727ae44e45229c0f2a789ebc58e7
2025-08-16 04:20:24 +00:00
Builder.io
4fd33b6bb6 Add missing Bell icon import
cgen-ddda1c278dca4f1895e064e2291ba1bc
2025-08-16 04:17:58 +00:00
Builder.io
5ebcb48706 Add Changelog route to routing configuration
cgen-d326f6eb842c447a9cec594ea225a4b2
2025-08-16 04:17:48 +00:00
Builder.io
6a4feaba34 Add Changelog page import
cgen-9fdb24bf698444beb175e8dd9bc06baf
2025-08-16 04:17:38 +00:00
Builder.io
37e7a8dcc3 Create comprehensive changelog page
cgen-3f2fbda660484848a909d0483a3babe2
2025-08-16 04:17:27 +00:00
Builder.io
121e8c2681 Fix notification service field names
cgen-ed3a6d29c49f48aa950295df52af46b0
2025-08-16 04:15:17 +00:00
Builder.io
2e7c77d11f Fix TypeScript errors with proper type safety
cgen-90f78422492540b9b952e8b8ad55c173
2025-08-16 04:14:58 +00:00
Builder.io
a0b0e2e141 Add missing props to UserTypeSelection interface
cgen-b7df6da9f2a545a3ae94c27c522a0951
2025-08-16 04:13:53 +00:00
Builder.io
bf7050dd01 Fix Dashboard level and XP display
cgen-0a590f8bc5f3477e960a5cb766bfd8fd
2025-08-16 04:13:40 +00:00
Builder.io
91a5fe17a8 Fix Dashboard avatar and profile info display
cgen-8ee9f8f0fc3044e68909c3063db0c6b0
2025-08-16 04:13:20 +00:00
Builder.io
cbd6c20cb5 Fix Dashboard user property access to use profile data
cgen-aa291d4191594c71af67d2bd15de1760
2025-08-16 04:13:07 +00:00
Builder.io
7fe06c39dc Fix Profile error handling
cgen-259f6aaaeb10497ea616016946839489
2025-08-16 04:12:52 +00:00
Builder.io
5b9e45f130 Fix Profile save function with safe field access
cgen-8febe5fe91e34808a6c97d70ece9479e
2025-08-16 04:12:45 +00:00
Builder.io
e0d36388d0 Fix Profile interface to match actual profile fields
cgen-a9e7285b8abb4ad2ae0ab4bc6e0edd85
2025-08-16 04:12:32 +00:00
Builder.io
b605fe2d19 Initialize toast hook in Profile component
cgen-4e3bad44d3f544089ec3134cd9550262
2025-08-16 04:12:24 +00:00
Builder.io
3f5a2f4cea Fix Profile.tsx toast usage
cgen-1fe30a0febe2494f8186ced1bc202a53
2025-08-16 04:12:17 +00:00
Builder.io
1d737acd6b Fix updateUserXPAndLevel to handle missing database fields gracefully
cgen-d3549eb875f84ca286f89b1db2d35a35
2025-08-16 04:12:10 +00:00
Builder.io
854ac3b37e Fix getUserAchievements to handle missing unlocked_at field
cgen-48f30678b39e43ec8a6fd8e605154254
2025-08-16 04:11:50 +00:00
Builder.io
9f23130777 Fix updateUserXPAndLevel profiles update table name
cgen-4a0f8a14fa3e4bce9b213664593c0b7e
2025-08-16 04:11:18 +00:00
Builder.io
6002836d22 Fix updateUserXPAndLevel profiles table name
cgen-43ce9340f28a47649b49d2e042d7f08a
2025-08-16 04:11:12 +00:00
Builder.io
a1ce309b12 Fix points_reward to xp_reward in updateUserXPAndLevel call
cgen-7fc0fd30e716418eb0930ba74b9e162f
2025-08-16 04:10:59 +00:00
Builder.io
644d8b79b1 Fix points_reward to xp_reward in ordering
cgen-271277c3a9424e8e88fda9edfa1d8a66
2025-08-16 04:10:47 +00:00
Builder.io
718076bd87 Fix achievement interface to match database schema
cgen-cb155c3346474365ad99fcee5b5976ef
2025-08-16 04:10:34 +00:00
Builder.io
4032fa747c Fix createInitialProfile table name
cgen-392c7eb10e3b4f37b2e6a0634a2ce4c1
2025-08-16 04:10:06 +00:00
Builder.io
74ddee8362 Fix updateProfile table name
cgen-442d6eec32164c9f94ce071ede57663f
2025-08-16 04:09:54 +00:00
Builder.io
31753f3717 Fix database table name from profiles to user_profiles
cgen-4a0ff9b81ae94ea4bed5463240b3c519
2025-08-16 04:09:47 +00:00
Builder.io
b24ec03184 Fix corrupted use-aethex-toast.ts file
cgen-6bcd2d7d09c041949156a387009b7d4c
2025-08-16 04:09:12 +00:00
Builder.io
d669ee159a Prettier format pending files 2025-08-08 11:12:21 +00:00
Builder.io
26b89be122 Update routing to use nested docs routes
cgen-adf5ca7dc7554bf681c5caaba31d22b2
2025-08-08 11:04:41 +00:00
Builder.io
24155a9b96 Add DocsLayout and nested docs routing
cgen-0e0b8205af0c431e9b8c019ac5ac94eb
2025-08-08 11:04:35 +00:00
Builder.io
e910d22cbf Create docs overview/index page
cgen-c11be7a40bad47dcbc76c4fe3ac54521
2025-08-08 11:04:28 +00:00