Skip to content

feat(analysis): ask guests to sign in on the Lichess tab - #360

Merged
ashtonanderson merged 1 commit into
mainfrom
claude/lichess-tab-sign-in
Nov 7, 2026
Merged

ashtonanderson merged 1 commit into
mainfrom
claude/lichess-tab-sign-in

Conversation

@ashtonanderson

Copy link
Copy Markdown
Member

Stacked on #359 (it uses connectLichess(source)). Merge #359 first; this PR then retargets to main.

What

The analysis page's game list has a Lichess tab with the visitor's recent Lichess games. A guest who opened it was told "No Lichess games yet". That's wrong (the site can't see their games until they sign in), and it gave them no way forward. It's also one of the clearest reasons to sign in: analysis is the site's second most-used feature (22–26% of sessions from the home page).

Change

For a guest, the tab now says "Sign in with Lichess to see your recent Lichess games here and analyze them with Maia." and has a Sign in with Lichess button. The button records source: analysis_lichess_tab with #359's events, so its sign-ins can be counted. Signed-in visitors see the list as before.

The wording only promises what the code does: after sign-in, AnalysisListContext streams the user's games from Lichess into this tab. The backend keeps a guest's rating and games when they sign in with Lichess for the first time; this PR doesn't mention that.

Checked

Production build, desktop 1440×900 and phone 390×844 (loadperf/tools/lichess-tab.mjs, account faked):

  • Guest: the message and button show, and the button goes to auth/lichess_login?redirect_url=…/analysis/7WCFYt0R/1.
  • Signed in: no button; the list (or "No Lichess games yet") as before.

npm test (265), tsc and eslint pass.

🤖 Generated with Claude Code

…hess games yet"

The analysis game list's Lichess tab lists the signed-in visitor's recent
Lichess games. A guest who opened it was told "No Lichess games yet", which
is wrong (the site just can't see them) and gave no way forward. It now
says that signing in with Lichess shows their recent games here to analyze
with Maia, with a Sign in with Lichess button (source
analysis_lichess_tab). Signed-in visitors see the list as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
maia-platform-frontend Ready Ready Preview Nov 7, 2026 6:40am UTC

Request Review

@ashtonanderson
ashtonanderson changed the base branch from claude/sign-in-analytics to main November 7, 2026 07:07
@ashtonanderson
ashtonanderson merged commit 5e35ec8 into main Nov 7, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — c3c05a7c Deployed Nov 7, 2026 by vercel[bot]
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