-
Aryan Noshirvnai authored
New /telegram-link page (in nav): phone number -> code -> link, then browse your linked Telegram chats and the music found in each. On load it checks whether you're already linked (a clean 400 from GET /auth/telegram/chats means not yet) and skips straight to the chat list if so, instead of always showing the phone form. Added getChatMusic() to api/auth.ts to round out the client (getChats already existed, unused by any page until now). Built this specifically so the just-fixed backend linking flow (see stax_backend_api: /auth/telegram/login now actually attaches to the caller instead of creating a separate identity) has something to actually click through and test with a real account, rather than requiring raw API calls. Updated the Roadmap to reflect this - Telegram linking UI moves from Frontend to-do into Frontend done. Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
69fd45e8