Skip to content

Conversation

@Oliviier-dev
Copy link
Member

@Oliviier-dev Oliviier-dev commented Nov 19, 2024

PR Description

This PR handles contact form submissions, where the data is processed and an email is sent to the admin

Description of tasks that were expected to be completed

  • submission Form submission
  • submitted data email template

Functionality

On the frontend when a user sends data via contactus form the data will be sent to the admin email

How has this been tested?

In apollo studio, run the SEND_MESSAGE_MUTATION mutation with the name, email, message, and optional phone variables, and they will be sent to the admin's email.

PR Checklist:

  • Contact us Form submission
  • Contact us form data email template

Track PR

Trello Link (#DP-?)

Screenshots (If appropriate)

Screenshot 2024-11-19 at 09 17 04

@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 35.13514% with 24 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@6fd2a27). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/helpers/sendForm.ts 21.42% 11 Missing ⚠️
src/resolvers/contactus.resolver.ts 30.00% 7 Missing ⚠️
src/utils/templates/contactFormTemplate.ts 25.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #434   +/-   ##
==========================================
  Coverage           ?   16.53%           
==========================================
  Files              ?      100           
  Lines              ?     3870           
  Branches           ?     1093           
==========================================
  Hits               ?      640           
  Misses             ?     3219           
  Partials           ?       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@Oliviier-dev Oliviier-dev self-assigned this Nov 19, 2024
@Oliviier-dev Oliviier-dev added Needs Reviews A pull request need reviews to be merged fighters Team labels Nov 19, 2024
@ceelogre ceelogre temporarily deployed to ft-contactus-form - devpulse-backend PR #434 November 19, 2024 10:09 — with Render Destroyed
@ceelogre ceelogre temporarily deployed to ft-contactus-form - devpulse-backend PR #434 November 20, 2024 10:47 — with Render Destroyed
@ceelogre ceelogre temporarily deployed to ft-contactus-form - devpulse-backend PR #434 November 20, 2024 11:40 — with Render Destroyed
@ceelogre ceelogre temporarily deployed to ft-contactus-form - devpulse-backend PR #434 November 20, 2024 11:41 — with Render Destroyed
@ncutixavier ncutixavier merged commit 52390da into develop Nov 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fighters Team Needs Reviews A pull request need reviews to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants