Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1780 complete contact form functionality #1792

Merged

Conversation

Skydodle
Copy link
Member

@Skydodle Skydodle commented Jun 29, 2024

Fixes #1780

Info

The only changes made in our codebase is embedding the Google Form on our contact page as an iframe. The rest of the configuration and scripting, such as the logic for form submission to post as github issue and send confirmation email, were done within the Goolge Form configuration via our Google account [email protected]. The Google account login credentails are in 1password 311-Data Dev vault if changes needs to be made in the future.

Video on how to access Google Form configuration

Screen.Recording.2024-06-28.at.9.51.19.PM.mov

Video on how to access Apps Script

Screen.Recording.2024-06-28.at.9.55.29.PM.mov

Video on how to access Email Notification extension

Screen.Recording.2024-06-28.at.9.58.16.PM.mov

There were no design provided for this ticket so this ticket only focused on creating the functionality, but feel free to comment below if you have any suggestions on the design for the new Contact Page, the form, or the email template. We can make new tickets for the design team.

Changes Made

  • Replaced contact form with embeded Google Form
  • Configured Google Form's script in Google Apps Script to post form submission as Github issue to our repo
  • Stored bot account Roan Box's Github personal access key in the Apps Script project so the form have access to post issue
  • Installed and configured the extension Email Notification for Google Forms so that a confirmation email is send to user when they filled out and submited the form

Pre-Merge Checklist

  • Up to date with main branch
  • Branch name follows guidelines
  • All PR Status checks are successful
  • Peer reviewed and approved

Copy link
Member

@DrAcula27 DrAcula27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @Skydodle! From my perspective, the form works as intended (see issue #1795) and:

  • PR done with correct branch
  • PR links to correct issue
  • code is clean
  • form is responsive
    Approved 👍

@Skydodle Skydodle merged commit b17ae65 into hackforla:main Aug 20, 2024
@ryanfchase ryanfchase mentioned this pull request Aug 21, 2024
20 tasks
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.

Complete contact form functionality with Google Form
2 participants