Skip to content

fix(desktop): clean up Remind me later dialog footer and loading state#1898

Merged
wesbillman merged 2 commits into
mainfrom
remind-me-loading
Jul 15, 2026
Merged

fix(desktop): clean up Remind me later dialog footer and loading state#1898
wesbillman merged 2 commits into
mainfrom
remind-me-loading

Conversation

@matt2e

@matt2e matt2e commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move the Set reminder button out of the custom-time section and into the dialog footer, opposite Cancel (sm:justify-between), so the dialog has a single, conventional action row.
  • While the create-reminder mutation is pending, overlay a Loader2 spinner on the button and hide the label with invisible instead of removing it — this keeps the button width stable so the footer doesn't shift while the spinner shows.

Old:
Screenshot 2026-07-15 at 2 22 16 pm

New (spinner appears in the set reminder while sending instead of the text):
Screenshot 2026-07-15 at 3 36 36 pm

Testing

  • just ci (fmt, clippy, desktop lint, unit tests) passed on push via pre-push hooks — desktop-test, rust-tests, mobile-test, and desktop-tauri-test all green.

🤖 Generated with Claude Code

matt2e and others added 2 commits July 15, 2026 14:38
Move the Set reminder action out of the custom date & time section and
into the dialog footer: Cancel now sits on the left and Set reminder on
the right of the same row. While the reminder is being created, the Set
reminder button shows a spinner in place of its label.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
Render the button label invisibly instead of removing it and overlay a
centered spinner, so the Set reminder button no longer collapses to a
small square while a reminder is being created.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
@matt2e matt2e requested a review from a team as a code owner July 15, 2026 06:45
@wesbillman wesbillman merged commit 40fe650 into main Jul 15, 2026
25 checks passed
@wesbillman wesbillman deleted the remind-me-loading branch July 15, 2026 14:24
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.

3 participants