Date: October 11, 2025
Issue: Sign-out button not visible in mobile menu
Status: ✅ FIXED
- Changed button variant from
outlinetodestructive(red button) - Increased button height to
52pxfor better touch targets - Made text larger and bolder (
text-base font-semibold) - Button now prominently stands out at bottom of menu
- Before: Fixed height of
600pxwithoverflow-hidden - After: Dynamic height
calc(100vh - 64px)withoverflow-y-auto - Menu now scrolls if content is longer than screen
- Sign-out button always accessible by scrolling to bottom
- Green banner at top of mobile menu showing:
- ✓ Signed in as [username]
- Helps users confirm they're logged in
- Makes authentication state crystal clear
- Console logs when mobile menu opens
- Shows user authentication state
- Helps troubleshoot auth issues
- View logs in Chrome DevTools:
chrome://inspect→ Inspect device
- Menu automatically closes when sign-out is clicked
- Prevents menu staying open during sign-out process
- Better user experience flow
/home/dennis-muchai/kenya-movers-ai/android/app/build/outputs/apk/debug/app-debug.apk
Size: 4.7 MB
Build Date: October 11, 2025 18:03
# Via ADB
adb install -r android/app/build/outputs/apk/debug/app-debug.apk
# Or copy APK to device and install manually- Open the app on your Android device
- Sign in with your account
- Tap the hamburger menu (☰) in top right
- Scroll down to the bottom of the menu
- You should see:
- Green banner at top: "✓ Signed in as [your-username]"
- Navigation items in the middle
- Red "Sign Out" button at the bottom
- ✅ Menu shows user status at top
- ✅ Menu is scrollable (swipe up/down)
- ✅ Sign-out button is RED and prominent
- ✅ Button has text "Sign Out" with logout icon
- ✅ Clicking sign out closes menu and logs you out
- ✅ Redirects to homepage after sign out
# Connect device via USB with USB debugging enabled
# Open Chrome on your computer
# Go to: chrome://inspect
# Click "Inspect" on your device
# Look for console logs:Expected logs when opening menu:
Mobile menu opened. User state: Logged in
User email: your-email@example.com
If you see:
Mobile menu opened. User state: Not logged in
User email: undefined
Then the issue is authentication state not being detected.
-
Clear app data:
- Settings → Apps → MoveLink → Storage → Clear Data
- Reinstall app
- Sign in again
-
Check environment variables:
- Ensure
VITE_SUPABASE_URLis set - Ensure
VITE_SUPABASE_ANON_KEYis set - Rebuild app if env vars were missing
- Ensure
-
Check network connection:
- App needs internet to verify authentication
- Try on WiFi and mobile data
- ❌ Sign-out button potentially hidden below fold
- ❌ Menu cut off at 600px
- ❌ No visual confirmation of login state
- ❌ Button styling similar to other buttons
- ✅ Full-height scrollable menu
- ✅ Prominent RED sign-out button
- ✅ User status banner at top
- ✅ Better touch targets (52px height)
- ✅ Clear visual hierarchy
- ✅ Debug logging for troubleshooting
- Added proper null check for user state
- Shows "Please sign in" message instead of infinite spinner
- Added sign-in button on unauthorized page
- Fixed infinite loading spinner
- Handles unauthenticated state gracefully
- Added sign-in prompt with button
- Added to Profile page
- Added to Quote History page
- Proper padding to prevent content overlap
-
src/components/Navigation.tsx- Enhanced mobile menu UI
- Added user status indicator
- Improved sign-out button styling
- Added debug logging
-
src/pages/Profile.tsx- Fixed loading state handling
- Added auth check
- Added BottomNavigation
-
src/pages/QuoteHistory.tsx- Fixed loading state handling
- Added auth check
- Added BottomNavigation
34c36bd- fix: Improve mobile menu sign-out visibility[previous]- fix: Mobile app UX improvements - auth handling and navigation
Test these scenarios:
- Open mobile menu when logged in
- See user status banner at top
- Scroll through entire menu
- See red sign-out button at bottom
- Click sign-out button
- Menu closes automatically
- Redirected to homepage
- User is logged out
- Open menu again - shows "Sign In" buttons
- Profile tab shows "Please sign in" message
- History tab shows "Please sign in" message
- Bottom navigation visible on all pages
If everything works:
- Build release APK for Play Store
- Test on multiple Android devices
- Verify on different Android versions (5.1 - 14)
- Submit to Play Store
If issues persist:
- Share Chrome DevTools console logs
- Share screenshot of mobile menu
- Test on different Android version
- Check if using VPN or firewall
If you need help:
- Check console logs in Chrome DevTools
- Share screenshots of the issue
- Share error messages from logs
- Test on WiFi vs mobile data
Build Status: ✅ Ready for testing
Next Build: After testing feedback