Repository navigation
Conversation
Lets the UI undo a delete with the entry's swim data intact. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Group entries under sticky month headers with visit counts, use flat compact rows, and delete by swiping left with an Undo snackbar instead of a red button and a confirmation dialog on every row. Screen readers get a Delete entry action in place of the swipe. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Entries sit under sticky week headers (This week, Last week, then the dates) with a visit count, and each row carries its own date block instead of a per-day header, since there is about one visit a day. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #92 (base is
feat/history-heatmap; retarget tomainonce #92 merges).What
Tests
Unit tests for the month/visit labels and
onRestoreEntry; screen tests for swipe delete, Undo, empty state after deleting the last entry, tap not deleting, and month headers../gradlew check ktfmtCheckis green locally. No emulator run and no device check (connectedDebugAndroidTestnot run).Note
Deleting no longer asks for confirmation; the Undo snackbar is the safety net.
🤖 Generated with Claude Code