From 60747de33ccfd4f0d74e4ffd25af34b8f2e9ddaf Mon Sep 17 00:00:00 2001 From: filemon Date: Fri, 3 Apr 2026 20:22:17 -0300 Subject: [PATCH] Clean up first-hatch tour: real loading state, dev naming, reveal centering - Wire real companionsFetching prop into BlobbiDashboard and pass it to useFirstHatchTourActivation instead of hardcoded isLoading: false - Rename skipPostRequirement to skipToEggGlow in both BlobbiPage and BlobbiDevEditor (no post requirement exists in the simplified flow) - Update dev button labels: 'Skip to Glow', 'Restart Tour', 'Reset to Egg + Tour' with accurate titles/descriptions - Handle async resetTour consistently with void in all onClick handlers - Fix reveal overlay centering: move rays/glow/particles inside the Blobbi visual container (relative positioning) instead of a separate viewport-centered absolute layer, so the composition is anchored to the Blobbi regardless of header/naming section height --- src/blobbi/dev/BlobbiDevEditor.tsx | 26 ++-- .../tour/components/BlobbiRevealOverlay.tsx | 116 +++++++++--------- src/pages/BlobbiPage.tsx | 9 +- 3 files changed, 78 insertions(+), 73 deletions(-) diff --git a/src/blobbi/dev/BlobbiDevEditor.tsx b/src/blobbi/dev/BlobbiDevEditor.tsx index 4799a329..437d0ff1 100644 --- a/src/blobbi/dev/BlobbiDevEditor.tsx +++ b/src/blobbi/dev/BlobbiDevEditor.tsx @@ -29,9 +29,9 @@ import { ADULT_FORMS } from '@/blobbi/adult-blobbi/types/adult.types'; /** Tour dev actions for the first-hatch tour */ interface FirstHatchTourDevActions { - /** Skip the current step (for dev testing) */ - skipPostRequirement: () => void; - /** Reset the tour in-memory state AND the profile tags so it can be tested again */ + /** Jump from idle directly to egg_glowing_waiting_click (skip the auto-advance) */ + skipToEggGlow: () => void; + /** Reset in-memory tour state AND Kind 11125 profile tags so the tour can re-activate */ resetTour: () => Promise; /** Current tour step id, or null if not active */ currentStepId: string | null; @@ -561,25 +561,25 @@ export function BlobbiDevEditor({

- Test the first-hatch tour flow without needing to create a real post. + Test the first-hatch tour. Profile tag blobbi_first_hatch_tour_done is the persisted signal.

- {/* A. Skip Post Requirement */} + {/* A. Skip idle → egg glow */} - {/* B. Restart First-Hatch Tour (resets profile tags + in-memory state) */} + {/* B. Restart tour (resets profile tags + in-memory state) */} - {/* C. Reset Blobbi to Egg */} + {/* C. Reset Blobbi to egg + restart tour */}