feat(front): redesign Puzzles with a landing, solving on GameScreen and a home with Puzzles #557
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amaurycoudr/chess-project!557
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/450-puzzles-redesign"
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?
Closes #450, #451, #452, #453, #454, #455, #456, #457.
Summary
Puzzles get a landing, solving moves onto
GameScreen, and the home splits into a Puzzles half and a Play half.The API gains one procedure, and the Puzzle's own rating once it is resolved:
Layout, across pages:
PageFrameis centred at 80 rem (My games, the profile, the account, the History), and onlgtheGameScreenboard grows with the window height up to 56 rem (Local, Room, Game review).Evidence
Before: the home had two doors and nothing about Puzzles;
/puzzleswas a bare board beside a Theme select.After: the screenshot bot's before/after for Home, Local and Room on desktop and mobile is in the comment below. It covers no Puzzles screen, since those need an Account.
Before: no test for the landing, the train screen, the result dialog or the home's Puzzles half.
After: pipeline #242 is green on
1e45efd1, including e2e:Merge Danger
Door: two-way
No migration and no stored data changes.
puzzle.progressand theratingfields are additive, so a revert only drops them.Blast Radius: wide
PageFrameandGameScreenpage changes width:PageFramegoes from 56 rem pinned left to 80 rem centred,GameScreenfrom 68 to 80 rem, and its board grows on tall screens. My games, the profile, the account, the History, Local, Room and Game review all move./puzzles?theme=…links now open the landing and ignore the Theme, with no redirect to/puzzles/train?theme=….ratingonsolved,failedandsolution, so a front deployed before its API would fail to read a result.Screenshots
Before is production, after is this merge request's review app at
1e45efd.Desktop
Mobile
added 4 commits
4b753127- feat(front): open a move list on Black's half and let GameScreen show an empty board4e15ac8f- feat(front): solve Puzzles on GameScreen at /puzzles/train, with a move list9d6c0121- fix(front): wrap the solving footer's help actions so Next stays in the rail5f64127a- Merge branch 'feat/450-puzzles-redesign' into feat/452-solving-on-gamescreenCompare with previous version
added 1 commit
77f9d177- feat(front): open the Puzzles landing at /puzzles, with Theme families and recent AttemptsCompare with previous version
added 4 commits
720626fd- feat(api): reveal the Puzzle's own rating in the solved, failed and solution results2649e617- feat(front): open a result dialog when a Puzzle is solved or failed on the board3c5d8b14- test(e2e): assert the result dialog and its rating change on a solve, a failure and a Replayc9649fe8- Merge branch 'feat/450-puzzles-redesign' into feat/453-result-dialogCompare with previous version
added 4 commits
934fdc43- feat(api): count each Theme's tried and solved Attempts in puzzle.progressf0416b2f- feat(front): show Theme progress, family rates and Resume on the Puzzles landing42abe707- Merge branch 'feat/450-puzzles-redesign' into feat/455-theme-progress1de664e7- test(front): wait for the result dialog before leaving a solved Puzzle for the landingCompare with previous version
added 4 commits
327a85c8- feat(front): switch Theme from the solving screen's headerf88661bb- Merge branch 'feat/450-puzzles-redesign' into feat/456-theme-switcher607dd340- test(front): review past the result dialog before switching Theme after a solvec4465fd4- Merge branch 'feat/450-puzzles-redesign' into feat/456-theme-switcherCompare with previous version
added 2 commits
1f1f9e7c- feat(front): split the home into a Puzzles half and a Play half6ecbdc1a- test(e2e): walk the home's Puzzles half to the landing, signed in and through sign-upCompare with previous version
added 25 commits
mainaec8085e- test(front): wait for the result dialog before leaving a solved Puzzle for the landing00129623- feat(front): switch Theme from the solving screen's header29225d4a- Merge branch 'feat/450-puzzles-redesign' into feat/456-theme-switcher12ce7266- test(front): review past the result dialog before switching Theme after a solve1f85aafc- Merge branch 'feat/450-puzzles-redesign' into feat/456-theme-switcher7dfd4bfd- feat(front): split the home into a Puzzles half and a Play halfa5044b73- test(e2e): walk the home's Puzzles half to the landing, signed in and through sign-up5df99d22- test(front): wait for the Player's face before reading the home's Puzzles half12ee71b5- test(front): know the home by its Puzzles heading on the dead ends' way home1e45efd1- test(front): refuse a lost Session's stream once, so either call after it is answeredCompare with previous version
marked this merge request as ready
changed the description
marked this merge request as draft
marked this merge request as ready