Sign-in: port the approved mockup into the app #19
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mobrule/kurageyomi#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#1
What to build
mockups/sign-in.htmlis the approved design, arrived at in a live session and accepted as-is. Port it into the real sign-in path. The mockup is the specification — read it, including its direction-contract comment at the top, before changing anything.The idea it commits to: the sign-in is a Cue. The app's whole visual home is one line of white text low on a black screen, so the first thing it ever shows is that. It refuses both the centred card the category ships and the drifting jellyfish the name suggests.
What carries over exactly:
The real sign-in has jobs the mockup does not: a genuine Jellyfin authentication request, a real failure message from the server, and landing on the watching screen when a Playback Session already exists rather than always on the waiting state.
The existing
renderSignInhad two defects fixed in #15 — it was rebuilding the form on every repaint, taking the password out from under someone typing, andsignedInwas hardcoded so the branch was dead. Do not reintroduce either.Acceptance criteria
Blocked by
Merged to
maininaf73452. Suites at merge: 79 C#, 335 phone.The approved mockup ported into the app. The sign-in is a Cue: one line of white text low on a black screen, refusing both the centred card the category ships and the jellyfish the name suggests. The karaoke fill is the loading state and covers the real request however long it takes.
Signing in produces a different screen rather than a success state — holding a filled line read as stuck, and that was tested and rejected.
Three deliberate departures from the mockup, all recorded: the error line is ink rather than accent (DESIGN.md enumerates the accent's uses and a wrong password is not one), no transition on the focus border (opacity-only motion is enforced), and the sizes moved onto the app's type ladder so they scale with the reader's choice.