feat: implement reminder cancellation functionality and UI updates

Added new features for managing reminder cancellations, including the ability to cancel signups directly from reminder emails. Introduced new components and styles for the ReminderOffPage and ReminderCancelPage, enhancing user experience with clear confirmation prompts and action buttons. Updated the reminder logic to handle cancellation tokens securely and ensure proper handling of signup statuses. Enhanced tests to cover new cancellation flows and UI elements, ensuring robust functionality across the application.
This commit is contained in:
blake committed 2026-11-02 13:32:33 -06:00
1 parent a53389d7a8
commit a520352071
9 files changed
+714 -139

No files matched your search

+61 -1
View File
@@ -782,6 +782,55 @@ main a:hover {
margin-top: 1rem;
}
.manage > .cancel-form {
max-width: 36rem;
}
.reminder-job {
display: grid;
gap: 1.15rem;
min-width: 0;
}
.reminder-job h2 {
margin: 0;
font-size: 1.2rem;
line-height: 1.3;
}
.reminder-cancel {
display: grid;
gap: 0.7rem;
justify-items: start;
}
.reminder-job p,
.signup-reminders p {
margin: 0;
}
.reminder-job .confirm-actions {
margin-top: 0.15rem;
}
.signup-reminders button {
justify-self: start;
}
.signup-reminders {
display: grid;
gap: 0.7rem;
margin: 0;
color: var(--hope-ink-2);
font-size: 0.95rem;
line-height: 1.45;
}
.reminder-job .reminder-cancel + .signup-reminders {
padding-top: 1.15rem;
border-top: 1px solid var(--hope-border-2);
}
.manage .error {
margin: 0.5rem 0 0;
}
@@ -1878,6 +1927,7 @@ article.shift-card {
.signup-form button,
.cancel-form button,
.cancel-form a.btn,
.move-form button,
.inline-form button {
width: fit-content;
@@ -1890,6 +1940,10 @@ article.shift-card {
margin-top: 1.25rem;
}
.cancel-form p {
margin: 0;
}
.manage-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -4151,7 +4205,13 @@ button.btn-quiet::before {
.signup-form button,
.cancel-form button,
.move-form button {
.cancel-form a.btn,
.move-form button,
.reminder-cancel .btn,
.reminder-job .confirm-actions,
.reminder-job .confirm-actions .btn,
.reminder-job .confirm-actions button,
.signup-reminders button {
width: 100%;
}