SkateSpots/src/pages
shakespeare.diy 4398c2e73b Fix Amber login stuck on GrapheneOS/Android browsers
Root cause: window.location.href navigates the tab away entirely on Android,
destroying sessionStorage. When Amber calls back to /amber-callback the login
completes there, but returning to the dialog the state is lost.

Fixes:
- Switch from sessionStorage to localStorage for amber_return_path and
  amber_login_attempt_ts — survives tab navigation on Android
- Add 500ms polling loop in handleAmberLogin that checks getAmberLogin()
  every 500ms — detects when AmberCallbackPage stored the pubkey and
  auto-completes login without needing visibilitychange to fire
- Add "I approved — complete login" manual button in waiting state as
  explicit fallback for stuck users (reads localStorage right away)
- AmberCallbackPage now uses localStorage for all persistence
- Clean up poll interval on dialog close and unmount

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-06-17 22:37:26 +07:00
..
AboutPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
AmberCallbackPage.tsx Fix Amber login stuck on GrapheneOS/Android browsers 2026-06-17 22:37:26 +07:00
BecomeCoachPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
BecomeEditorPage.tsx feat: License page, Video Editors in Lab, Buy/Sell Gear, Stash locations, Supporters page 2026-06-16 11:05:03 +07:00
BecomeFilmerPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
BountyLeaderboardPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CoachDetailPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CollectionDetailPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CommunityStatsPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
ConversationPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CreateEventPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CreateListingPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CreateShopPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
CreateSpotPage.tsx fix: CVM server tag mapping + add city/country geocoding to spots 2026-06-17 11:14:50 +07:00
CreateTourPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
DirectMessagesPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
EditEventPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
EditShopPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
EditSpotPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
EventDetailPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
EventsPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
FAQPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
FoodPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
GearSwapPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
Index.tsx Improve mobile/Android UI responsiveness 2026-06-17 22:04:29 +07:00
LabPage.tsx feat: SkateSpots Rider Cards — 3 card types, 6 themes, holographic shimmer, print-ready 2026-06-16 14:29:54 +07:00
LicensePage.tsx fix: update license page tagline 2026-06-16 13:27:00 +07:00
MapPage.tsx fix: remove MIT note from /license, fix Buy/Sell Gear button on /map, expand stash storage locations 2026-06-16 11:21:45 +07:00
MarketplacePage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
NIP19Page.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
NotFound.tsx New project created with Shakespeare 2026-06-15 19:49:07 +07:00
OnboardingPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
PyramidPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
RiderCardPage.tsx fix: add missing User and Building2 lucide icon imports to RiderCardPage 2026-06-16 17:07:42 +07:00
SettingsPage.tsx feat: update default relay set to all 5 relays 2026-06-16 22:35:09 +07:00
ShopDetailPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
SignersPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
SpotCollectionsPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
SpotDetailPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
StashPage.tsx fix: remove MIT note from /license, fix Buy/Sell Gear button on /map, expand stash storage locations 2026-06-16 11:21:45 +07:00
SupportersPage.tsx fix: remove Lightning address card from /supporters, keep only Geyser 2026-06-16 11:15:41 +07:00
TourDetailPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
WalletPage.tsx fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00