Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Added functionality to send Email to selected Group of People #712

Merged
merged 6 commits into from
Sep 27, 2021

Conversation

Ravichandra-C
Copy link
Contributor

  • I have read Chapter's contributing guidelines.
  • My pull request has a descriptive title (not a vague title like Update README.md).
  • My pull request targets the main branch of Chapter.

Closes #99

i. Server

1. resolver.ts
	Modified the sendEventInvite Resolver to take an
	emailGroup as optional argument.

ii. Client
1. Added New argument in method definitions in graphql.tsx
2. Created a new Modal component to show the checkboxes for
selecting the group
3. Added a button in Actions components to show the Modal
component

i. Server
	1. resolver.ts
		Modified the sendEventInvite Resolver to take an
		emailGroup as optional argument.
ii. Client
	1. Added New argument in method definitions in graphql.tsx
	2. Created a new Modal component to shoqw the checkboxes for
	   seleting the group
	3. Added a button in Actions components to show the Modal
	   componenet
@gitpod-io
Copy link

gitpod-io bot commented Sep 23, 2021

Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

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

Hey @Ravichandra-C, I just want to start by saying this some really nice work. I know that I've nitpicked quite a bit, but that's all it is.

Anyways, thanks again for all your hard work and I hope the review comments make sense.

1. sendEmailModal.tsx
	1. Created the Interface of FormInputs
	2. Used the interface in useForm
	3. renamed the metho to atleastOneChecked
	4. Removed the Extra error message in atleastonechecked
	5. Removed defaultChecked
2. resolver.ts
	1. Added the strict type Checking in emailGroups Parameter
	2. Removed the console.log
@Ravichandra-C
Copy link
Contributor Author

@ojeytonwilliams ,Thanks a lot for your feedback. I've made all the suggested changes except the part in server/src/controllers/Events/resolver.ts where we are using interested .

Please let me know your thoughts on this.

Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

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

Just one nitpick, but otherwise LGTM 👍

@Ravichandra-C
Copy link
Contributor Author

@ojeytonwilliams , I've updated the message in Modal . Can you please review it once?

@ojeytonwilliams
Copy link
Contributor

Nice work, @Ravichandra-C, let's get this in 🚀

@ojeytonwilliams
Copy link
Contributor

Ooops, misclicked 🤦‍♂️

@ojeytonwilliams ojeytonwilliams merged commit f72989d into freeCodeCamp:main Sep 27, 2021
@allella
Copy link
Contributor

allella commented Oct 15, 2021

@all-contributors add @Ravichandra-C for code

@allcontributors
Copy link
Contributor

@allella

I've put up a pull request to add @Ravichandra-C! 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As an organizer I can email the entire list of participants.
3 participants