Commit Graph
9 Commits
Author SHA1 Message Date
g-butandClaude Sonnet 4.6 07baf11bd4 fix: auth flicker, header nav overlap, AI form fill crash + redesign
- UserProfileDropdown: remove loading/disabled state — always render
  with best available data (profile → metadata → email → 'Me')
- Header: left section shrink-0 so nav items don't compete with search;
  search bar capped at max-w-sm on md screens
- DesktopNavigation: show at md: breakpoint (was lg:) so Community/
  Discover/About are visible alongside search bar
- form-prefill API: fix double-wrapping bug — apiSuccess({data}) was
  nesting the response inside .data, so result.data and result.confidence
  were wrong on the client
- AIPrefillBar: redesigned as conversational — textarea for initial
  description, then refinement input after AI fills ('tell me what to
  change'), with separate loading states for fill vs refine
- useProfileEditor: coerce empty-string lat/lng to undefined in submit
  handler instead of z.preprocess (which broke react-hook-form types)
- profileSchema: revert z.preprocess on lat/lng (type safety fix)
- sample data / stories: rename Sarah → Alisa

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 20:09:33 +02:00
Your Name 1b2a2371e9 refactor: Complete codebase improvements per engineering principles
- 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.
2026-01-04 12:25:26 +01:00
Your Name a1b3aba810 fix: TypeScript errors in messaging service, profile hooks, and core types
- 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.
2025-12-22 15:38:36 +01:00
Your Name 38cc4669d8 chore: comprehensive codebase cleanup and organization
- Move 100+ files from root to proper directories
  - Migration scripts → scripts/db/
  - SQL files → supabase/sql/archive/
  - Test/debug scripts → scripts/test/
  - Documentation → docs/archive/ (organized by category)
  - Shell scripts → scripts/ (organized by category)

- Fix test organization
  - Remove nested tests/unit/tests/unit/ structure
  - Consolidate test files to proper locations

- Update documentation references
  - Update migration script paths in workflow docs
  - Update scripts/README.md with moved file notes

- Delete placeholder files
  - Remove empty placeholder.ipynb

- Result: Root directory now contains only essential config files
- Result: Professional, organized codebase structure
- Result: All files in proper locations per project standards

See docs/CLEANUP_COMPLETE.md for full details.
2025-12-21 22:57:54 +01:00
Your Name 0ea5436461 feat: comprehensive updates including wallet components, location fixes, profile improvements, and documentation
- 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
2025-12-02 11:55:28 +01:00
Your Name ca8c58d386 feat: prepare codebase for timeline and messaging features
- 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
2025-11-12 23:51:31 +01:00
cato eb6449ab1b update all documentation and configuration to use correct production URL orangecat.ch 2025-06-10 10:57:17 +02:00
cato 7bd344de18 � PRODUCTION READY: Complete deployment preparation - Security hardening (vulnerabilities 13→1), build fixes (TypeScript/auth), performance optimizations (SWC/caching), 83.3% test success rate, modular architecture - Ready for GitHub→Vercel deployment 2025-06-08 20:33:33 +02:00
cato 03b33fee9c feat: Comprehensive blog filtering system, security improvements, and UX enhancements - implement advanced topic/time filtering, unified grid display, profile security, draft management, and currency formatting 2025-06-05 00:34:28 +02:00