Repository navigation
Redesign the History screen: calendar, week list, year view - #96
Merged
Merged
Conversation
Pure functions that turn entries into a week-by-weekday grid with intensity levels, month labels and a week-streak summary. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A GitHub-style calendar grid, its legend and the overview card that wraps it with a summary line and a clear-filter bar. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tapping a day filters the list to it; tapping it again or Show all clears the filter. Screen tests use a tall viewport so the card does not push the rows out of view. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A wall-calendar layout of one month, plus the list of months to page through. The year grid now only feeds the summary, so its month labels go. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A full-width month calendar with round days, month title, previous and next buttons and swiping between months, instead of a sideways-scrolling year grid that does not fit a phone. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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>
Twelve month tiles shaded by visits, the years to page through, and which month to open when zooming back in. The visits label moves next to it so both calendars share it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Detects a two-finger pinch out or in without consuming single touches, so pager swipes and day taps keep working. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pinch out, or tap the year above the month, to see the year as twelve tiles shaded by how often you went. Tap a month or pinch in to return. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A flat list of week headers and entries with weekly totals, finding an entry by day, the distance-first row texts and the distance format. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
One summary line (visits this week, week streak) and the current week as seven days; a Calendar button expands to the month calendar with its year zoom. Tapping a day no longer filters, it highlights. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rows lead with the distance, week headers show the week's total distance, and tapping a day in the overview scrolls to its entry and tints it, or says there was no visit that day. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Days with one visit start at 70% opacity instead of 30%, since most days have at most one visit; the year view keeps its wider gradient. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Render four to six weeks as the month needs instead of always six, so the card no longer has a blank band under the last week. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The summary is just the visits this week. The year-long grid and its streak summary only existed for that line, so they go too. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fills are 40-65% tints for days and 15-60% for months instead of the full primary color, with the normal text color on top. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 9, 2026
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.
Combines the stacked PRs #92, #93, #94 and #95 into one reviewable change (they depend on each other); those PRs are closed in favour of this one.
What
Tests
Unit tests for the calendar, year, week-strip, list-row and colour models, plus Robolectric screen tests.
./gradlew check ktfmtCheckis green and CI passed on the top branch. Checked on an emulator (Pixel_10a) with seeded data;connectedDebugAndroidTestwas not run.🤖 Generated with Claude Code