From 8787908087c972fbc888e8d8895d569954dd1331 Mon Sep 17 00:00:00 2001 From: mcull Date: Tue, 30 Jun 2026 18:46:39 -0700 Subject: [PATCH] fix(shell): clean up onboarding load layout + consolidate feedback CTAs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two testing-session cleanups: 1) Onboarding footer jank — the marketing footer rode up under the short 'Preparing your profile…' loading state (and the loader relied on Tailwind classes that don't exist in this project, so it never filled/centered). - Hide the footer on /profile/create (matches the /auth/ focused-flow rule). - Rebuild the loading state with MUI so it centers and fills the viewport. 2) Too many feedback CTAs — there were three (left of the logo, top-right, and the floating button). Removed both header feedback icons (the left-of-logo one was especially confusing); feedback now lives only in the single floating button (bottom-right). Co-Authored-By: Claude Opus 4.8 --- .../profile/create/ProfileCreationHandler.tsx | 22 +++++++++---- src/components/ConditionalFooter.tsx | 5 +-- src/components/GlobalHeader.tsx | 32 ++----------------- 3 files changed, 21 insertions(+), 38 deletions(-) diff --git a/src/app/profile/create/ProfileCreationHandler.tsx b/src/app/profile/create/ProfileCreationHandler.tsx index 10af5159..1aa3a988 100644 --- a/src/app/profile/create/ProfileCreationHandler.tsx +++ b/src/app/profile/create/ProfileCreationHandler.tsx @@ -1,5 +1,6 @@ 'use client'; +import { Box, CircularProgress, Typography } from '@mui/material'; import { useRouter, useSearchParams } from 'next/navigation'; import { useEffect, useState } from 'react'; @@ -203,12 +204,21 @@ export function ProfileCreationHandler({ return ( <> {loadingUser ? ( -
-
-
-

Preparing your profile…

-
-
+ + + + Preparing your profile… + + ) : ( - {/* Feedback - Desktop Only */} - - - - {showBackButton && ( - {/* Right Section - Feedback, Add Button, Notifications & User Avatar */} + {/* Right Section - Add Button, Notifications & User Avatar. + Feedback lives in the single floating button (bottom-right). */} - {/* Feedback - Desktop Only */} - - - - {/* Add Stuff Button - Desktop Only */}