dope: profile shows your login and Telegram handle #34

Merged
pecheny merged 1 commit from dope-profile-login into main 2026-07-26 17:08:56 +00:00
Owner

Why

dope's /profile showed a password form and a logout button, with nothing saying who you were logged in as. xy's profile has had that line since forever.

The page now opens with the identity block: «Вы вошли как login.» plus «Telegram: @handle.» when a handle is linked. Either identity can be absent — a Telegram-only account has no username until it picks one, and a username/password account never links a handle — so each line is conditional and the section disappears when there is nothing to say.

Closes #30

# Why dope's `/profile` showed a password form and a logout button, with nothing saying who you were logged in as. xy's profile has had that line since forever. The page now opens with the identity block: «Вы вошли как **login**.» plus «Telegram: **@handle**.» when a handle is linked. Either identity can be absent — a Telegram-only account has no username until it picks one, and a username/password account never links a handle — so each line is conditional and the section disappears when there is nothing to say. Closes #30
/profile rendered a password form and a logout button with no
indication of who you were logged in as. It now opens with the
identity block xy's profile has had all along.

Either identity can be absent — a Telegram-only account has no
username until it picks one, and a username/password account never
links a handle — so each line is conditional and the section is
dropped entirely when there is nothing to say.

Closes #30

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pecheny/dopesuite!34
No description provided.