Skip to content

Feature/new form - #5

Merged
expectpin merged 2 commits into
developfrom
feature/new-form
Sep 4, 2025
Merged

Feature/new form#5
expectpin merged 2 commits into
developfrom
feature/new-form

Conversation

@expectpin

Copy link
Copy Markdown
Owner

This pull request introduces a new RSVP confirmation form directly in the invitation page, allowing guests to confirm their attendance and optionally add a companion. The confirmation is sent via WhatsApp with pre-filled guest information, streamlining the RSVP process. Additionally, environment configuration has been refactored for type safety and new fields have been added to support WhatsApp integration. The main styles file has been removed in favor of a new approach.

RSVP Confirmation Form & WhatsApp Integration

  • Added an interactive confirmation form to app.html for guests to enter their details and optionally add a companion; confirmation is sent via WhatsApp with a pre-filled message. [1] [2]
  • Implemented logic in app.ts to handle form visibility, companion addition/removal, validation, and WhatsApp message generation using environment variables.

Environment Configuration Refactor

  • Introduced environment.interface.ts to define strict types for environment variables, improving maintainability and type safety.
  • Updated development and production environment files to use the new Environment interface and added the whatsappNumber field for WhatsApp integration. [1] [2] [3] [4] [5] [6] [7]

Stylesheet Update

  • Removed the previous main styles from app.css, indicating that styles.css is now the primary stylesheet.

- Replace static RSVP link with expandable form
- Add guest and companion fields with validation
- Implement WhatsApp message formatting and integration
- Add smooth scroll animation and form expansion
- Update environment structure to support whatsappNumber
- Fix replace-env.js script to handle all environment variables
- Preserve original green olive/moss color palette
@expectpin expectpin self-assigned this Sep 4, 2025
@expectpin
expectpin merged commit a288454 into develop Sep 4, 2025
1 of 2 checks passed
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.

1 participant