Commit Graph
43 Commits
Author SHA1 Message Date
blake 16ef47d8bf fix: update return types for redirectGrouped and groupFailure functions
Modified the return types of the redirectGrouped and groupFailure functions in signup-http.tsx to support Promise<Response> in addition to Response. This change enhances the handling of asynchronous operations within the signup process, ensuring better integration with modern JavaScript practices.
2026-11-02 16:41:33 -06:00
blake 38c08cf872 feat: enhance user interaction with contact details and improved UI elements
Updated the signup and management pages to include clickable email and phone links for better user accessibility. Introduced new styles for roster management, including a collapsible move form for shift changes. Enhanced confirmation messages for cancellations and improved print styles to hide unnecessary elements. Added error handling for the Turnstile widget in the signup dialog, ensuring fallback options are visible when needed. Updated tests to verify the new features and ensure robust functionality across the application.
2026-11-02 15:17:51 -06:00
blake e6f072dcac feat: enhance signup functionality to support multiple date selections
Updated the signup form to allow users to select multiple dates for signups, improving flexibility for event participation. Introduced new styles for displaying selected dates and updated the backend logic to handle multiple date reservations. Enhanced confirmation messages to reflect the number of dates signed up for, ensuring clear communication with users. Added tests to verify the new multi-date signup functionality and its integration with existing features.
2026-11-02 14:51:19 -06:00
blake 77a9a0caff feat: email coordinators only for volunteer actions
A location change now sends one email per person and asks how many people that reaches before it is saved, without replacing their signup links.
2026-11-02 14:17:10 -06:00
blake a520352071 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.
2026-11-02 13:32:33 -06:00
blake a53389d7a8 feat: implement shift end handling in signup management
Enhanced the ManagePage and related functions to handle scenarios where a shift has ended. Added logic to prevent modifications to signups after the shift's end, including hiding party size options and cancel buttons. Updated the cancelSignup and changePartySize functions to return appropriate error messages when attempting to modify signups for ended shifts. Added tests to verify the new behavior and ensure proper handling of ended shifts across the application.
2026-11-02 12:10:00 -06:00
blake cd71fa2e59 feat: enhance party size management with coordinator notifications
Updated the changePartySize function to include mail identity and notify coordinators when a signup's party size changes. Enhanced the writePartySize function to queue notices for coordinators, detailing changes in group size. Added new tests to verify the notification logic for party size adjustments, ensuring accurate communication of changes to coordinators.
2026-11-02 12:04:20 -06:00
blake 17ca2f9dfb feat: enhance reminder functionality with version tracking for shifts
Introduced a new column `version_at` in the shifts table to track the last change time of a shift's version. Updated reminder logic to skip reminders that are due before the shift's version change or the signup time. Modified related functions and tests to ensure correct behavior when managing reminders for shifts and signups, including scenarios for late signups and shift changes.
2026-11-02 12:00:42 -06:00
blake 71130c3e8e feat: update button and pill styles with border enhancements
Added border styles to various button and pill classes in app.css to improve visual distinction. Updated colors for specific states to enhance user interface clarity and consistency across components.
2026-11-02 11:53:36 -06:00
blake ffec79cbec feat: enhance signup form with new styling and noindex functionality
Added new CSS styles for the signup form, including a grid layout and improved note visibility. Updated the application logic to include a noindex option for specific pages, ensuring search engines do not index sensitive content. Modified tests to verify the presence of new elements and the correct application of noindex headers.
2026-11-02 11:46:46 -06:00
blake 019f61bc4a feat: implement event listing and styling for public events
Added a new EventListPage component to display published events in a grid layout, enhancing the user interface for event visibility. Updated styles in app.css for public events, including hover effects and improved layout. Modified the main application logic to handle multiple published events and adjusted tests to verify the new functionality and display behavior.
2026-11-02 11:36:22 -06:00
blake e7fc1e03ae feat: add date display toggle for shifts and update styles
Enhanced the ShiftWhen component to conditionally render the date based on a new prop, showDate. Updated app.css to include a new class for date styling. Modified tests to verify the presence and absence of date information in the rendered output.
2026-11-02 11:28:24 -06:00
blake fb30b6e92b refactor: simplify party handling in ManagePage component
Updated the ManagePage component to streamline the handling of party-related props. Introduced a local variable for party to reduce redundancy and improve code readability. Adjusted references throughout the component to utilize the new variable, ensuring consistent behavior and clearer logic.
2026-10-30 16:52:34 -05:00
blake 724d5a68ae feat: enhance manage page with new styling and reminder functionality
Updated the manage page to improve layout and styling, introducing a grid-based design for better organization. Added functionality for managing reminder emails, allowing users to enable or disable reminders directly from the interface. Enhanced the JavaScript logic to support the new reminder management features and updated related tests to ensure proper functionality.
2026-10-30 16:49:49 -05:00
blake caaeded467 feat: update settings page to manage reminder times and retention policies
Revamped the settings page to allow coordinators to configure reminder email timings and the duration for retaining volunteer signup details. Removed the privacy text field from settings, reflecting the decision to not include unapproved privacy wording. Enhanced the user interface with clearer instructions and previews for reminder settings. Updated related tests to ensure proper functionality and validation of new settings.
2026-10-30 14:52:04 -05:00
blake e1bd85f879 fix: type templateSaved for Hono's HTML response
The skipped-mail branch returns showEvent, which can be a Promise from c.html().
2026-10-29 18:12:15 -05:00
blake 1b78a06f72 feat: enhance shift cancellation process and update templates
Improved the shift cancellation functionality to ensure that selected shifts are properly marked as cancelled, with corresponding emails queued for affected signups. Updated the admin interface to reflect these changes, including clearer messaging for cancelled shifts. Enhanced the handling of weekly templates to ensure that shifts are accurately updated or removed based on their status. Adjusted related tests to verify the new behavior and ensure consistency across the application.
2026-10-29 18:02:08 -05:00
blake e363cdaef9 Merge branch 'cursor/private-party-size-3d9f' 2026-10-29 13:28:12 -05:00
blake 63aab5b6e0 feat: enhance shift display with date grouping and improved styles
Refactored the shift display to group shifts by date, improving clarity and organization. Introduced new styles for better visual distinction of shifts, including indicators for full and open shifts. Updated the AdminHome component to utilize the new grouping logic and adjusted related styles in app.css for a cohesive user experience.
2026-10-29 13:26:06 -05:00
blake 63dc675a19 Merge branch 'cursor/private-party-size-3d9f' 2026-10-29 11:52:07 -05:00
blake 4376e39f58 feat: show when a coordinator sign-in ends
The coordinator page shows the stored end date in the pantry time zone. Opening the desk still updates last seen and does not move that date.
2026-10-29 11:22:45 -05:00
blake 0376681a3d feat: let a volunteer change party size from the private link 2026-10-29 11:17:23 -05:00
blake 096d1a2b9f refactor: generalize shift display from Wednesday to any day
Updated the shift display logic to accommodate shifts on any day of the week instead of just Wednesday. Renamed components and functions for clarity, and adjusted the README to reflect these changes. Enhanced tests to ensure proper functionality across all days.
2026-10-29 10:28:52 -05:00
blake a0fa56202e feat: add walk-in functionality and update desk events section
Introduced a new walk-in menu in the ShiftRoster component, allowing users to add walk-ins directly from the interface. Updated the desk events section to reflect this change, including renaming the heading for clarity. Enhanced styles for the walk-in menu to improve user experience and maintain consistency across the application.
2026-10-28 16:59:07 -05:00
blake e9bc80cd95 feat: implement coordinator notifications for signup changes and cancellations
Added functionality to send notifications to active coordinators when a volunteer signs up, cancels, or changes their signup details. This includes updates to the mail queue and templates to handle coordinator notices, ensuring they receive relevant information without including private signup links. Enhanced the database schema to support these notifications and updated tests to verify the new behavior.
2026-10-28 16:35:22 -05:00
blake 208f08753e feat: update shift display logic and styles for ended shifts
Enhanced the user interface to visually indicate when shifts have ended, including graying out past shifts and adding labels for clarity. Updated styles for both the public and admin views to reflect these changes, ensuring a consistent experience. Adjusted the logic to keep ended shifts visible until midnight in their respective time zones, improving user understanding of shift availability.
2026-10-28 16:07:37 -05:00
blake b039eef5ae feat: enhance confirmation page and email templates with receipt layout and directions
Refactored the ConfirmationPage component to utilize a new receipt layout for improved clarity on signup status. Added a directions note to the email templates for better user guidance. Updated styles for the receipt elements to ensure consistency and visual appeal.
2026-10-28 15:20:11 -05:00
blake cc8b3ef114 style: update day card header font size and weight
Adjusted the font size of the day card header to 1.35rem and set the font weight to 700 for improved readability and emphasis.
2026-10-28 13:32:02 -05:00
blake 63748d464a feat: let one signup cover a party of spots
Capacity, mail, and the roster count each person in the group. Today's calendar shifts are a light wash on the yellow day, and the signup dialog scrolls inside its panel.
2026-10-28 12:08:00 -05:00
blake 1f451dc830 feat: implement signup dialog for event registration
Added a new signup dialog component that opens when users click on signup links. The dialog fetches and displays the signup form dynamically, enhancing user experience. Updated styles for the dialog and integrated it into the public schedule page. Adjusted asset loading rules to accommodate the new functionality.
2026-10-28 10:54:22 -05:00
blake df3165f6a8 feat: drop attendance marks and bullet volunteer names with the sunburst
Coordinators no longer record who came. Public roster names use the sunburst as a bullet.
2026-10-26 16:10:49 -05:00
blake 1a8959c86a feat: open the next three months of Wednesday shifts on the public list
Volunteers can see who is signed up, and a full shift stays closed. Coordinators can see a contact's current and past shifts.
2026-10-26 15:45:32 -05:00
blake e7c99a788e feat: let a signed-in administrator add and remove other administrators 2026-10-26 14:00:29 -05:00
blake 58da832bac feat: require phone and drop under-18 signup
Phone is required on public and coordinator forms, and the under-18
guardian flow, mail copies, and export columns are removed.
2026-10-26 13:30:30 -05:00
blake 7cfb984d63 feat: implement home board for upcoming shifts and events
Introduced a new home board feature that displays shifts needing volunteers and upcoming events for the next two weeks. Updated the admin interface to show relevant shift details, including capacity and occupancy. Enhanced data fetching to support this feature and modified related components for better user experience. Added tests to ensure functionality works as expected.
2026-10-26 10:36:55 -05:00
blake bf661673c9 feat: enhance backup status display and tracking
Added a visual indicator for backups saved today in the admin interface. Updated the backup status type to include a boolean for today's backup existence, and modified relevant components to reflect this change. Enhanced tests to verify the new functionality.
2026-10-23 17:27:37 -05:00
blake 747e6e25e0 feat: smooth same-origin page changes
Cache versioned styles, images, and scripts so repeat clicks do not wait on them, crossfade navigations while the chrome stays put, and prefetch ordinary links on hover.
2026-10-20 13:17:27 -05:00
blake 5e0e4a55a8 feat: show the private signup address and let coordinators correct contacts
The confirmation page prints the full manage URL so it can be copied before the browser drops it. A saved contact can be corrected in place, and shift menus group choices by date.
2026-10-19 12:12:23 -05:00
blake 322c575fcb fix: clarify the confirmation page and collect first and last names
The confirmation told volunteers an email was queued and to open "this signup." It now says the email is on the way and the link cancels or switches shifts. The public form asks for a first and last name so the stored name stays one person.
2026-10-19 10:43:35 -05:00
blake 03da30dbbc feat: give the app its own nav under the pantry header
Site links now follow hopefoodpantrysc.org. Calendar, Coordinator, and Log out sit in a separate white pill on every page.
2026-10-17 15:47:27 -05:00
blake ec259f58b2 feat: save each name on the contact list
A confirmed signup is kept as a contact, and a coordinator can add one person by hand. The same name and email updates that contact. A different name stays separate even when the email matches. Names are capitalized, and a 10-digit phone is stored with dashes.
2026-10-16 15:28:39 -05:00
blake e8a5f9e352 feat: add a coordinator contact list
Saved people can be imported and added to an open shift without becoming a signup on import. Real mail is set up to use SMTP2GO once the API key and sender are configured.
2026-10-16 14:45:45 -05:00
blake f1a46e2ba7 feat: add volunteer shift signup app
Initial source, tests, migrations, and local Docker setup for the Hope Food Pantry volunteer scheduler.
2026-10-16 09:33:39 -05:00