Repository navigation
Show the total check-ins in Habit Heatmap - #75
Merged
Merged
Conversation
The flame counts consecutive days and drops to 0 after a missed day, which read as lost history. Each size now also shows the number of recorded check-ins. Template 1.3.0; Gallery copy, index and parity trees regenerated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
User outcome
The Habit Heatmap widget showed only the streak of consecutive days, which returns to 0 after a missed day. A user with several scattered check-ins saw "0 days" every morning and took it for lost history. Small, medium, large and extra-large sizes now also show the number of recorded check-ins ("5 total"). The streak and the Lock Screen sizes are unchanged.
Changes
Habit Heatmap1.2.0 → 1.3.0, shared by iPhone, iPad, Mac and Android.Gallery/index.jsonhashes synced withScripts/sync-gallery-templates.mjs --write.native-trees.jsonregenerated: only the two Habit Heatmap entries changed; its recorded compiler fingerprint and runtime version were also brought up to date (v3 → v5, 1.4 → 1.6).Security and compatibility
No new permission, host or storage key. Existing history is read as before. Copies already created from the template keep their old source until recreated or reinstalled.
Checks run
ScriptWidgetRuntimeTests:testHabitHeatmapExplicitCheckInPersistsAndDoesNotDoubleCountand the parity test (regeneration run).Web/preview-engine:npm test, 199 passed.:core:testDebugUnitTest :app:assembleDebug; core device suite on a Pixel 6 (Android 17), 30 passed.validate-release.mjs,validate-doc-links.mjs,sync-gallery-templates.mjs.Not run
./Scripts/release-readiness.shlocally (left to CI), the iOS simulator test run, the Android app device suite.🤖 Generated with Claude Code