Repository navigation
feat(output): show a to-do's reminder time - #405
Merged
Merged
Conversation
Things sets reminderTime from a --when time and shows it on the row, but the CLI printed it nowhere. The task query now reads it into a reminderTime "HH:MM" JSON field, plain show adds it to the Start line, and listing rows put it before the title. Rows without a reminder print as before.
Build the Start line once and append the time, and drop the separate Reminder line. A reminder is a time on the start date, and no live row carries one without a date. Rewrap the ReminderTime doc comment.
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.
Things stores a reminder time when a to-do is scheduled with a time, such as
--when 2026-10-01@09:00or--when 23:30, and the app shows that time on the row. The CLI printed it nowhere, soadd,showand the list views gave no sign a reminder was set.This change reads the reminder in the shared task query and shows it in three places:
reminderTimefield as a local"HH:MM"clock time. It is left out when there is no reminder. No existing field is renamed or moved.things showadds the time to the Start line, for exampleStart: 2026-10-09 18:00.★ 18:00 Title. A reminder needs a start date to print. Rows without a reminder print exactly as before.addandeditprint the item afterwards, so they show the reminder too. The edit no-op check keeps its own reminder read, so its behaviour does not change.The docs pages for commands and agents and the bundled skill describe the new field. The SQL golden file gains only the new column.
Checked against the live database (read-only): a to-do scheduled for today at 18:00 shows the time in
show, intoday, and intoday -j.