Skip to content

DONT MERGE Mobile responsive redesign: immersive feed, nav, dark theme#190

Draft
rabble wants to merge 9 commits intomainfrom
phase1-mobile-responsive-redesign
Draft

DONT MERGE Mobile responsive redesign: immersive feed, nav, dark theme#190
rabble wants to merge 9 commits intomainfrom
phase1-mobile-responsive-redesign

Conversation

@rabble
Copy link
Copy Markdown
Member

@rabble rabble commented Mar 9, 2026

Summary

Full mobile/tablet responsive redesign matching the Figma mobile designs. Transforms the web experience at < 1024px into an immersive, dark-themed, TikTok-style video feed while leaving desktop completely untouched.

Phase 1: Nav Shell + Dark Theme

  • Force dark theme on mobile/tablet via CSS media query @media (max-width: 1023px)
  • Restyle bottom nav to match Figma: solid dark green, 32px icons, green camera pill, home indicator bar
  • ImmersiveTopBar: transparent overlay on feed, solid on other pages. Scrim pill buttons for menu + search
  • MobileDrawer: slide-out sheet from left with full sidebar navigation
  • Breakpoint shift: sidebar md:lg: so tablets get immersive experience

Phase 2: Immersive Feed

  • MobileVideoItem (388 lines): full-viewport video with Figma-matched overlays:
    • Right-side action column (heart, comment, repost, share, more) with compact counts
    • Bottom-left author overlay (Bricolage Grotesque username, verified badge, location, caption, badges)
    • Bottom gradient for text legibility
    • Double-tap to like with heart animation
    • Social wiring via existing hooks (optimistic like/repost, deferred metrics)
  • MobileFeedView: CSS snap-scroll feed (snap-y snap-mandatory), keyboard nav (j/k, arrows), auto-load more
  • VideoFeed integration: viewport check renders MobileFeedView at < 1024px, card feed at desktop

Phase 3: Dark Mode Polish

  • Profile pages: already theme-aware, no changes needed
  • Discovery/search/hashtag pages: already theme-aware, no changes needed
  • Comments: fixes pending

What's NOT changed

  • Desktop layout (sidebar + card-based feed) — untouched
  • All data fetching, routing, business logic — zero changes
  • Existing FullscreenFeed overlay — stays as-is

Design reference

  • Figma UI-Design frame 1837:33066
  • PRD v3

Test plan

  • Desktop (> 1024px): Everything works exactly as before
  • Phone (< 768px): Dark theme, immersive snap-scroll feed, bottom nav, overlay top bar
  • Tablet (768–1024px): Same as phone
  • Bottom nav: Home, Discover, Camera (green pill), Notifications, Profile
  • ImmersiveTopBar: transparent on home feed, solid on other pages
  • MobileDrawer: hamburger opens full nav drawer
  • Feed: snap scroll between videos, double-tap to like, action buttons work
  • Social: likes, reposts, comments, share all functional
  • Safe areas: content not hidden behind notch/home indicator
  • Build: TypeScript and Vite build pass clean

🤖 Generated with Claude Code

rabble and others added 5 commits March 9, 2026 21:39
Force dark theme on mobile/tablet (< 1024px) via media query for
immersive video experience. Add new design tokens for mobile layout:
fg-on-surface-variant, fg-on-surface-disabled, bg-scrim, top-bar-height,
bottom-nav-height, and feed-height.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… mode

Move the sidebar/header/bottom-nav responsive breakpoint from md (768px)
to lg (1024px) so tablets get the mobile chrome instead of the desktop
sidebar. This prepares for ImmersiveTopBar and MobileDrawer components
that will serve the < lg viewport.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- ImmersiveTopBar renders on mobile/tablet (< lg) with transparent mode
  on feed pages and solid mode on other pages
- Route-based title: Home, Discover, Search, Notifications, Profile, etc.
- Remove AppHeader from mobile (ImmersiveTopBar replaces it, sidebar
  handles desktop)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 9, 2026

Deploying divine-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: b58b0f9
Status: ✅  Deploy successful!
Preview URL: https://e5ecff88.divine-web.pages.dev
Branch Preview URL: https://phase1-mobile-responsive-red.divine-web.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

🚀 Preview Deployment

Property Value
Preview URL https://f30e9e80.divine-web-fm8.pages.dev
Commit b58b0f9
Branch phase1-mobile-responsive-redesign

rabble and others added 2 commits March 9, 2026 21:47
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rabble rabble changed the title Phase 1: Mobile responsive redesign — nav shell + dark theme Mobile responsive redesign: immersive feed, nav, dark theme Mar 9, 2026
rabble and others added 2 commits March 9, 2026 21:49
Mobile dark mode is forced via CSS variable overrides at max-width 1023px,
but Tailwind dark: variants only activate with the .dark class. Added
max-lg: variants to mirror dark: styles on mobile for comment cards,
reply previews, avatar rings, and delete dialog backgrounds/text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove {user && ...} guards on Camera, Notifications, Profile
- Add useLoginDialog to prompt auth when logged-out users tap protected items
- Change Compass icon to Search to match Figma design
- Improve isActive matching for sub-paths

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rabble rabble marked this pull request as draft March 9, 2026 19:27
@rabble rabble changed the title Mobile responsive redesign: immersive feed, nav, dark theme DONT MERGE Mobile responsive redesign: immersive feed, nav, dark theme Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant