Files
orangecat/content
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
..