Commit graph

372 commits

Author SHA1 Message Date
Builder.io
3292391522 Fix Setup Profile routing and import Layout in Network
cgen-6cbac708699d4ab5a2dfe020e831824c
2025-09-27 22:04:37 +00:00
Builder.io
8fbff6efb1 Call achievement awarding after creating a project
cgen-dd49b9846f8c48deb404c269b5561416
2025-09-27 22:00:59 +00:00
Builder.io
54b80b0992 Award achievements on project creation
cgen-0a048673c8004290a7b41cc56ac434bc
2025-09-27 22:00:55 +00:00
Builder.io
22b8009ceb Include planning as active projects and award achievements on dashboard load
cgen-fc66386207d4407e9977fc3b529c4264
2025-09-27 22:00:51 +00:00
Builder.io
38367daebe Make project service resilient with timeout and localStorage fallback
cgen-0a88274abfc64dc5b2fc449daf876ffe
2025-09-27 21:57:41 +00:00
Builder.io
85340a094f Add projects new route import and path
cgen-42d9850d06c148e9b9a1f857d948dfea
2025-09-27 21:53:42 +00:00
Builder.io
f193768eb2 Add imports and settings section with save to Dashboard
cgen-ed1334db17f64eea99ee7cb70b9fcb5e
2025-09-27 21:51:22 +00:00
Builder.io
ef56ff44fd Prettier format pending files 2025-09-27 21:48:02 +00:00
Builder.io
d28c0e3937 Add Network link to user nav
cgen-3e988f1159a047b09f4d2b93a334375c
2025-09-27 21:44:38 +00:00
Builder.io
12f627ccf2 Wire /network route and redirect /profile to /network; add nav link
cgen-3015b4483249406ea4a639c21e93c932
2025-09-27 21:44:30 +00:00
Builder.io
9466c701c7 Create Network page with public profile, recommendations, follow button
cgen-7112ecc6a7664fcfbcd9d6c52efc10ac
2025-09-27 21:44:20 +00:00
Builder.io
adf11251ec Add social/network service
cgen-f0b222929f3e49439a3424259ec71d18
2025-09-27 21:43:13 +00:00
Builder.io
10c70394b7 Refine homepage copy to remove computing/IT wording while keeping layout
cgen-84a6f27f9dc048fe8e921ffd4b896aaf
2025-09-27 21:37:53 +00:00
Builder.io
3700aaa0f2 Inject offerings section before technology showcase
cgen-3a217418531048369941ac74a0524ee7
2025-09-27 21:34:24 +00:00
Builder.io
6a97cee726 Update Layout user nav to remove Profile and fix dropdown link
cgen-0d9c4c0f94354a4fa626b959075f012c
2025-09-27 21:33:32 +00:00
Builder.io
1eb001e417 Redirect /profile to /dashboard and adjust header nav links
cgen-22e4b41b4e484d14a95d047c92359474
2025-09-27 21:33:24 +00:00
Builder.io
9d5ae6fb8f Seed owner roles at runtime if missing
cgen-4bb3c3aaa69a4245863ca5a89c430237
2025-09-27 21:13:26 +00:00
Builder.io
18beba397c Admin page uses roles for access check
cgen-db82ea16b8f14c648ecf2528bd47dc9c
2025-09-27 21:10:15 +00:00
Builder.io
f3581dc8d0 Import roles from auth context in Layout
cgen-f68fb9181f46415bad588c963da96446
2025-09-27 21:10:11 +00:00
Builder.io
9c982aec7c Use roles instead of email check for Admin link
cgen-775ad93039114a03b56dd9e2b2d28bde
2025-09-27 21:10:07 +00:00
Builder.io
ba68ae0e79 Add roles state and service usage in AuthContext
cgen-4783ff0f81ed4c5594720d9ace98238b
2025-09-27 21:09:56 +00:00
Builder.io
96361e7852 Restore full adapter and add role service
cgen-fbbed0f2f74845869a52e41fb6d2ec6a
2025-09-27 21:09:10 +00:00
Builder.io
230997cd86 Append role service to adapter
cgen-f3c6ce75f0074dc293666da343e307ab
2025-09-27 21:08:31 +00:00
Builder.io
59f79cc62e Import Admin page component
cgen-5b61ce8c6bf544bd9fd769f2d5e311b6
2025-09-27 21:06:09 +00:00
Builder.io
0fd30912c9 Register /admin route
cgen-fbb3cfdca4f94729a8b82046e52d41eb
2025-09-27 21:05:57 +00:00
Builder.io
53f2a43181 Add Admin page with access control for owner email
cgen-023d7e5b8be94c318cf20d26d11af67c
2025-09-27 21:05:42 +00:00
Builder.io
b8dbf10fa5 Inject Admin link to nav when owner logged in
cgen-5fdcc739331d424e91bf2f4ce9fa4aba
2025-09-27 21:04:52 +00:00
Builder.io
a25fca38c7 Show Dashboard access in header for all logged-in users and adjust nav to show dashboard even without profile
cgen-51604ca2010544319a70d32a19c8fd1e
2025-09-27 21:02:04 +00:00
Builder.io
385536e3ad Prettier format pending files 2025-09-27 20:58:59 +00:00
Builder.io
191460bf71 Simplify post-login navigation to avoid being blocked by profile fetch
cgen-ead2d99e015d4fc590cedb48e8b056ad
2025-09-27 20:57:27 +00:00
Builder.io
793b437730 Make mock query builder thenable so await returns {data,error}
cgen-40d5853fd30140b8a14188a749884247
2025-09-27 20:57:01 +00:00
Builder.io
b1021f0b1b Return object instead of null from mock single() to avoid spread errors
cgen-c16ce148051f49a397aa0953934fffb6
2025-09-27 20:56:46 +00:00
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