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.
This commit is contained in:
1 parent
e6f072dcac
commit
38c08cf872
12 files changed
+251
-86
No files matched your search
@@ -36,7 +36,11 @@ describe('manage-link cancellation', () => {
|
||||
};
|
||||
const viewed = await app.request(managePath);
|
||||
expect(viewed.status).toBe(200);
|
||||
expect(await viewed.text()).toContain('Cancel this signup');
|
||||
const viewedHtml = await viewed.text();
|
||||
expect(viewedHtml).toContain('Cancel this signup');
|
||||
expect(viewedHtml).toContain('>Cancel<');
|
||||
expect(viewedHtml).toContain('>9:00 AM</time> to <time dateTime="12:00">12:00 PM</time>');
|
||||
expect(viewedHtml).not.toContain('queues a change email');
|
||||
expect(db.prepare('SELECT status, updated_at FROM signups').get()).toEqual({
|
||||
status: 'confirmed',
|
||||
updated_at: before.updated_at,
|
||||
|
||||
Reference in new issue
Block a user