Replay Failed Puzzles from Dashboard#1446
Conversation
8ab1a95 to
942479a
Compare
|
Thanks for tackling this. I'll review first the hint and rating PRs. In the meantime I think you can get in touch with the server dev team on discord, and ask about an endpoint to get failed puzzles. |
82c10bd to
6b73a43
Compare
|
Hey @CloudyDino, I just noticed that the Puzzle Replay API is now available: https://lichess.org/api#tag/Puzzles/operation/apiPuzzleReplay |
dbbb37d to
c4faeee
Compare
|
@veloce Could you take a look? |
c4faeee to
9273cbe
Compare
veloce
left a comment
There was a problem hiding this comment.
@CloudyDino thanks for this.
Code looks legitimate. Before accepting this PR, it should have tests in puzzle_screen_test.dart.
Puzzles are important in the app and well tested. Ideally this new feature should be fully covered.
|
Another piece of feedback: the replay failed button is at the bottom of the screen, not very visible. We could maybe have it in the bottom of the dashboard card (where the graphics is)? Then it should not be styled as a FilledButton. |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Close: #2623
This PR adds the ability to replay your failed puzzles from the dashboard.
Using the new Puzzle Replay API: https://lichess.org/api#tag/Puzzles/operation/apiPuzzleReplay
Another issue I haven't figured out how to fix is the dashboard doesn't update after you solve the failed problems.
I'm really hoping we can get this feature on the new mobile app since I love using it on web!
Old recording:
Android.puzzle.replay.webm