- Add ProofStorageService for uploading proof images to Supabase Storage
- Update ProofUploadForm with drag & drop file upload
- Add proofs storage bucket migration
- Add setup scripts for bucket and policies
- Storage policies: public read, authenticated insert/delete
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Scripts now read from .env.local using dotenv instead of
having hardcoded values or placeholders.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Major features:
- AI Chat: Add AI assistant conversations with credit system and ratings
- Wishlists: Complete wishlist feature with tiers, proofs, and feedback
- Notifications: Full notification system with preferences
- Research entities: Research entity framework
Project Page UX fixes:
- SupportModal: Auto-fill logged-in user's name from profile
- SupportModal: Improved anonymous toggle UX (top of form, hide name when on)
- ProjectHeader: Share button now visible to all users, not just owners
- ProjectHeader: Added Contact button for non-owners to message creator
- RLS: Fixed projects policy to allow public viewing of active projects
Infrastructure:
- Claude Code configuration (.claude/ directory with rules, hooks, commands)
- Sidebar improvements with flyout tooltips
- Actor-based messaging support
- Various entity config and navigation updates
Note: Pre-existing ESLint errors (1300+) need cleanup in separate commit
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix currency defaults (SATS → CHF) across forms, configs, and API routes
- Remove @ts-nocheck from socialService.ts and improve type safety
- Replace console.log statements with proper logger utility in production code
- Additional type safety improvements and code quality enhancements
- Documentation updates for improved maintainability
All changes follow DRY, SSOT, and separation of concerns principles.
- Fixed messaging service Supabase insert/update type errors
- Fixed profile hooks (useProfileForm, useAuth, useActiveRoute, useMobileMenu)
- Added missing type exports (UserProduct, UserService, UserCause, Profile with email)
- Fixed messaging API route type errors
- Updated Database types for proper Supabase type safety
Note: Some TypeScript errors remain in non-critical areas (commerce, entity configs, tests) but core messaging and profile functionality is type-safe.
- Refactor wallet components from old structure to new wallets/
- Add contact email column and migrations
- Fix location implementation and integration
- Update profile editing and dashboard components
- Add comprehensive testing and validation
- Update documentation and architecture guides
- Add performance indexes and audit logging
- Fix various bugs and improve UX
- Replace console.error with structured logging using logger utility
- Extract duplicate error handling into centralized utilities
- Add constants for magic numbers and timeouts
- Improve type safety by eliminating any types and adding proper interfaces
- Standardize error response format across all wallet API endpoints
- Fix timeout cleanup issues and memory leaks
- Add comprehensive error handling for wallet operations
- Comprehensive profile management improvements
- Timeline composer enhancements with mobile support
- Wallet architecture fixes and data migrations
- Header navigation and dashboard layout updates
- Project favorites and social features
- Performance optimizations and security fixes
- Updated documentation and migration scripts
## Problem
- ProfilePeopleTab showed "Profile Not Found" when clicking on followed users
- Server logs showed requests to `/profiles/adelina1996gry@gmail.com`
- Root cause: `handle_new_user()` function set username to full email instead of email prefix
## Solution
1. Created migration to fix `handle_new_user()` function:
- Changed from `COALESCE(NEW.email, ...)` to `COALESCE(SPLIT_PART(NEW.email, '@', 1), ...)`
- This extracts username from email (part before @)
2. Created and ran script to fix existing profiles:
- Fixed profile: adelina1996gry@gmail.com → adelina1996gry
- Ensures uniqueness by adding numeric suffix if needed
## Files
- supabase/migrations/20251119_fix_username_email_issue.sql - Migration for function fix
- scripts/fix-username-emails.js - Script to update existing profiles
- scripts/fix-handle-new-user-function.sql - Manual SQL if needed
- scripts/apply-function-fix.js - Attempted API approach
## Testing
✓ Profile links now work: `/profiles/adelina1996gry` instead of 404
✓ No more `/profiles/undefined` requests
✓ ProfilePeopleTab displays correctly
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major consistency improvements:
- Renamed "My Journey" → "My Timeline" in sidebar
- Added "My" prefix to sidebar items (My Wallets, My Info)
- Added People tab to public profiles
- Renamed /journey route to /timeline
- Updated all code references from journey to timeline
Sidebar Navigation (My View):
- Dashboard
- My Timeline (was: My Journey)
- My Projects
- My People
- My Wallets (was: Wallets)
- My Info (new)
Public Profile Tabs:
- Overview (matches Dashboard)
- Timeline
- Projects
- People (new)
- Wallets
- Info
Route Changes:
- /journey → /timeline
Files Changed:
- src/config/navigationConfig.ts - Updated sidebar nav
- src/components/profile/PublicProfileClient.tsx - Added People tab
- src/components/profile/ProfilePeopleTab.tsx - New component
- src/components/timeline/SocialTimeline.tsx - journey → timeline
- src/app/(authenticated)/timeline/ - Renamed from journey
- src/app/(authenticated)/timeline/page.tsx - Updated references
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Changes:
- Add WalletManager to ModernProfileEditor for wallet management
- Display categorized wallets on public profile pages with goals
- Fetch wallets via /api/wallets endpoint
- Add CRUD handlers (add, update, delete, refresh)
- Keep legacy Bitcoin address display for backward compatibility
- Install bitcoin-address-validation and bs58check for validation
- Fix missing Clock import in TimelineComponent
Features:
- Users can manage up to 10 wallets per profile
- Each wallet has category (🏠 Rent, 🍔 Food, etc.)
- Goal tracking with progress bars
- Balance display with refresh capability
- Copy address to clipboard
- Empty state prompts users to add wallets
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Clean up analysis and documentation files
- Remove temporary migration and testing files
- Update component structure for social features
- Prepare wallet system integration
- Optimize performance and remove unused code
- Ready for timeline posts and private messaging implementation
- Add public profile route at /profiles/[username] with server-side rendering
- Convert project pages to Server Components with generateMetadata for SEO
- Add Open Graph and Twitter Card metadata for social media previews
- Fix middleware to allow public access to /profiles/ and /projects/ routes
- Add PublicProfileClient and ProjectPageClient components for interactivity
- Update route constants with PROFILES.VIEW(username) for public profiles
- Add 404 pages for profiles and projects
- Deprecate SocialMetaTags component (replaced with generateMetadata API)
- Fix database field name mapping (name vs display_name)
- Add comprehensive testing scripts and documentation
- Fix missing Link import in UnifiedHeader
This enables users to share their profiles and projects on social media
with proper preview cards (no more 'Loading...' on Twitter/Facebook).
Phase 1 complete - ready for production deployment.
- Created dedicated wizards for each entity type:
* /wizard/campaign - Clean campaign creation flow
* /wizard/project - Project creation for authenticated users
* /wizard/organization - Organization creation for authenticated users
- Fixed guest mode banner to only show for non-authenticated users
- Removed problematic animations and hover effects that cause component size changes
- Updated homepage to use new clean wizard structure (/wizard/campaign)
- Fixed sidebar naming (Campaigns instead of Fundraising)
- Improved file organization with dedicated wizard components
- Added proper TypeScript interfaces and clean component structure
- Bump version to 0.1.1 for tracking
- Add webpack-bundle-optimizer script for Next.js config
- Simplify ESLint configuration to resolve missing dependencies
- Prepare for production deployment with proper version control
This deployment includes:
- Profile update fixes with banner_url support
- LN address validation
- Auth cookie fixes for profile updates
- Various documentation and testing improvements
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Production Supabase project restored
- Environment variables configured in Vercel
- Fallback system will handle any configuration issues gracefully
- Testing end-to-end authentication flow
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove references to non-existent database fields (location, public_profile, allow_donations)
- Fix profile data initialization to use only supported schema fields
- Simplify profile completion calculation to match actual database columns
- Fix TypeScript errors in profile form
- Add proper file upload trigger via useEffect
- Update profile save to only send supported fields to database
- Clean up broken avatar URL references
Fixes profile editing form to work with current database schema