Skip to content

fix(task): require explicit confirmation before saving reminders#2212

Draft
kolaente wants to merge 4 commits intomainfrom
fix-reminder-auto-submit
Draft

fix(task): require explicit confirmation before saving reminders#2212
kolaente wants to merge 4 commits intomainfrom
fix-reminder-auto-submit

Conversation

@kolaente
Copy link
Member

@kolaente kolaente commented Feb 9, 2026

Currently, the reminder popup closes right after clicking on a date. This prevents users from actually setting a reminder time - they have to edit the reminder after adding it.

This PR changes that: Reminders are now not saved when clicking on the date, requiring users to click on the button below the time input to save the reminder.

Resolves #2208

Prevent reminders from being saved to the API until the user clicks
Confirm, matching the behavior of the due/start/end date pickers.

- Remove @update:modelValue handler on DatepickerInline so date/time
  changes only update local state
- Change Confirm button condition from showFormSwitch to activeForm so
  it renders even when defaultRelativeTo is null
- Add confirmAndClose function that handles both absolute and relative
  reminder forms
- Remove debounce (useDebounceFn) since saves are now user-initiated

Refs #2208
- Test that clicking a date in the absolute reminder picker does not
  auto-save, only saves when Confirm is clicked
- Test that the Confirm button is visible when task has no due date
  (defaultRelativeTo is null)

Refs #2208
@kolaente
Copy link
Member Author

kolaente commented Feb 9, 2026

auggie review

@augmentcode
Copy link

augmentcode bot commented Feb 9, 2026

🤖 Augment PR Summary

Summary: This PR updates the task reminder UI so absolute date/time reminders are only saved after explicit confirmation, keeping the popup open long enough to adjust the time.

Changes:

  • Stop auto-saving/closing the absolute reminder picker on day selection; route saves through a new explicit confirm action
  • Show the Confirm button whenever a reminder edit form is active (including when the absolute picker is forced due to missing due/start/end dates)
  • Remove the debounced update wrapper so saves happen immediately on user confirmation
  • Add Playwright e2e coverage to verify date clicks don’t trigger saves and Confirm is visible when no due date exists

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

… selection

The DatepickerInline quick-select buttons (Tomorrow, etc.) inside the
reminder popup no longer auto-save. Update existing tests to click
Confirm after selecting a date.

Refs #2208
…e reminder picker

Prevents emitting a reminder with reminder=null/relativeTo=null when
the user clicks Confirm without selecting a date first.

Refs #2208
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.

Reminders auto submit before confirmation

1 participant

Comments