Repository navigation
Conversation
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>
SamiPr0
force-pushed
the
feat/history-year-zoom
branch
from
October 9, 2026 15:01
f6b948a to
443fa89
Compare
This was referenced Oct 9, 2026
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 #93 (which is stacked on #92); retarget as the earlier PRs merge.
What
Zooming out of the month calendar shows the year as 12 tiles, each shaded by how many times you went that month and showing the count (12+ visits in a month is the darkest tile; the scale stretches if a month beats that).
Structure
YearModel.kt(tiles, years, which month to reopen),YearCalendar.kt(the tiles),PinchGesture.kt, andHistoryCalendar.kt, which switches between the two zoom levels.Tests
Unit tests for the year model and the pinch thresholds; screen tests for zooming out and back into a tapped month.
./gradlew check ktfmtCheckis green locally. The pinch gesture itself has not been tried on a device (the emulator hung before I could).🤖 Generated with Claude Code