Log any category retrospectively via an editable date on the log screen - #171
Open
mapgie wants to merge 2 commits into
Open
Log any category retrospectively via an editable date on the log screen#171mapgie wants to merge 2 commits into
mapgie wants to merge 2 commits into
Conversation
Long-pressing an empty past day previously only ran the single configured quick-log action, so custom categories and the Symptoms system category could not be logged retrospectively on a day that had no entries yet. The one branch that did open the full log menu also dropped the tapped date, logging against today instead. Long-press now opens the full log menu (speed dial) targeting the tapped day, giving every category, built-in or user-defined, a retrospective logging path. Quick-log-on-tap for empty days is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013cQThXMdC9pWKCF1RQUqDn
Replaces the earlier long-press gesture change with a more discoverable fix that works from every entry point, including the "Log" button, which always defaults to today. The log screen now shows a tappable Date card (for new entries) that opens a date picker. Changing the date re-resolves any existing entry for that (date, category) pair, so switching to a day that already has an entry loads it for editing and a blank day starts a fresh entry. It never moves or duplicates data: saving always writes to the shown date. The date stays fixed when editing one specific existing entry by id (opened from the day sheet), where changing it would be ambiguous. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013cQThXMdC9pWKCF1RQUqDn
mapgie
marked this pull request as ready for review
August 19, 2026 08:24
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 freeto 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.
Summary
All categories, whether built-in or user-defined, can now be logged retrospectively for a past date.
Previously the log screen always recorded against the date it was opened with, and the main "Log" button always opens on today. So there was no way to open, say, a custom "Mood" category from the Log button and record it for last Tuesday. The date shown in the screen header was display-only.
Change
The log screen now shows a tappable Date card that opens a date picker, so the user can set the day they are logging for. This works from every entry point (the Log button, the speed dial, the day sheet), not just from a specific calendar day.
LogCategoryViewModel.kt— AddedsetDate(newDate), which re-resolves any existing entry for the new(date, category)pair: switching to a day that already has an entry loads it for editing, and a blank day starts a fresh entry. It never moves or duplicates data. Saving always writes to the currently shown date. Added acanEditDateflag, true only for new entries.LogCategoryScreen.kt— Added theDateSelectorCard(shown for new entries) and aDatePickerDialogWrappermirroring the one on the Log Period screen.changelog/unreleased/retrospective-category-logging.json— Added changelog fragment (minor).Notes
Log +1 nowrecords against the chosen day.a11y_check.pypasses (the Date card carriesrole = Role.Button).🤖 Generated with Claude Code