CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

refactor: shared Google sign-in hook + remove Android false advertising #4752

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/improvements-20260612bmainopened Jun 12, 20260/4 tasks
ccantynzcommented Jun 12, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/49


Summary

  • useGoogleSignIn shared hook — the identical useGoogleLogin block was copy-pasted across Navbar, Hero, Pricing, and CTA. Extracted into one hook, eliminating 60+ lines of duplication and ensuring all sign-in paths behave identically (including the id_token fallback that was missing from Hero/Pricing/CTA).
  • Removed Android false advertising — Android is not built yet. Removed from: hero platform badges, hero subheadline, trust bar stat, platforms blurb, comparison section, pricing feature line, FAQ answer, and the Features card (changed to "iOS Keyboard Extension"). The Platforms section Android card correctly keeps its "Coming soon — join waitlist" badge.
  • /api/me plan fix (from previous session) — returns actual plan from Voxlen JWT instead of hardcoded "admin"/"free".

Test plan

  • Google sign-in works from Navbar, Hero, Pricing CTA, and bottom CTA
  • No mention of Android as a live/available feature
  • Android "Coming soon" card still visible in Platforms section with waitlist link
  • Desktop app Account tab shows correct plan (pro/free_trial users see their plan)

https://claude.ai/code/session_011MFNHeFKrhfuSrEYVgrdyr


Generated by Claude Code

ccantynzcommented Jun 12, 2026

Originally written by @vercel[bot] on GitHub.


The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
voxlen Ready Ready Preview, Comment Jun 12, 2026 12:01pm

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts