sparrowapp-dev / sparrow-app

Your next-gen API testing and development tool.
https://sparrowapp.dev
GNU Affero General Public License v3.0
100 stars 39 forks source link

Email Communication - Workspace invitation as Admin #1208

Closed Monika-APM closed 2 months ago

Monika-APM commented 3 months ago

Description : When a person is invited to workspace as an admin. Then an email should be triggered to that person.

Figma:

Acceptance Criteria 1: [Workspace invitation] Given User wanted to invite someone in workspace When User invites a person & selects role as admin Then User should be able to click on "Send invite" button & then an email should be triggered & sent to the person.

Please find the email details below:

Subject: You've been invited to contribute to {Workspace Name} workspace on Sparrow!

Body: Hi {Recipient First Name},

Congratulations! {User First name} has invited you to join the {Workspace Name} workspace on Sparrow as {an Admin}.

Your creativity and input will help shape the success in this workspace. Log in to Sparrow now to start collaborating and making an impact to the team and the workspace!

If you have any ideas or questions, please share them with the Sparrow team. For additional assistance, feel free to reach out at contactus@sparrowapp.dev!

Warm regards, The Sparrow Team www.sparrowapp.dev

Acceptance criteria 2 - [Invite unsuccessful] Given Users is unable to send invite When User inputs incorrect email id Then User inputs incorrect email id & clicks on "Send invite" then email should not be triggered & error should be shown as per figma.

Note: Header & footer reference can be taken from https://github.com/sparrowapp-dev/sparrow-app/issues/1202

Abhishek9503 commented 2 months ago

This condition is not possible at workspace level CC:- @Monika-APM @sanilnayak @shreyas070707

sanilnayak commented 2 months ago

closing this