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.
This commit is contained in:
1 parent
caaeded467
commit
724d5a68ae
7 files changed
+536
-119
No files matched your search
@@ -333,10 +333,8 @@ describe('manage-link party size', () => {
|
||||
const html = await viewed.text();
|
||||
expect(viewed.status).toBe(200);
|
||||
expect(html).toContain('How many people?');
|
||||
expect(html).toContain('This signup holds that many spots.');
|
||||
expect(html).toContain('You don't need to add their names.');
|
||||
expect(html).toContain('Change how many people are coming. The signup stays, and the name stays the same.');
|
||||
expect(html).toContain('Save the number of people');
|
||||
expect(html).toContain('Including you. This holds that many spots, and the name stays the same.');
|
||||
expect(html).toContain('>Save<');
|
||||
expect(partyOptions(html)).toEqual(['1', '2', '3', '4', '5', '6']);
|
||||
expect(html).toContain('<dd>4</dd>');
|
||||
expect(db.prepare('SELECT group_size, updated_at FROM signups').get()).toEqual({
|
||||
|
||||
Reference in new issue
Block a user