Skip to content

Show the total check-ins in Habit Heatmap - #75

Merged
everettjf merged 1 commit into
mainfrom
habit-heatmap-total
Nov 16, 2026
Merged

everettjf merged 1 commit into
mainfrom
habit-heatmap-total

Conversation

@everettjf

Copy link
Copy Markdown
Owner

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

  • Bundled template Habit Heatmap 1.2.0 → 1.3.0, shared by iPhone, iPad, Mac and Android.
  • Gallery copy and Gallery/index.json hashes synced with Scripts/sync-gallery-templates.mjs --write.
  • native-trees.json regenerated: 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).
  • Execution test extended: the total never drops after a missed day.

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

  • macOS ScriptWidgetRuntimeTests: testHabitHeatmapExplicitCheckInPersistsAndDoesNotDoubleCount and the parity test (regeneration run).
  • Web/preview-engine: npm test, 199 passed.
  • Android: :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.sh locally (left to CI), the iOS simulator test run, the Android app device suite.
  • No screenshot: the widget was not placed on a device with the new template.

🤖 Generated with Claude Code

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>
@everettjf
everettjf merged commit e1258f0 into main Nov 16, 2026
8 of 9 checks passed
@everettjf
everettjf deleted the habit-heatmap-total branch November 16, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant