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

Add context/messaging to frequent rejection reasons #462

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

arelymartinez16
Copy link
Contributor

Description ✏️

Closes #216

Key Features:

  • Created a modal that shows when someone rejects an application and they can provide a reason why they're rejecting the application before rejecting
  • Created "rejectionReason" column under the "applications" table in the database
  • Rejection reason is shown on the UI in the "Rejected" and "All" views
  • Include the rejection reason in the email template

Type of Change 🐞

  • Feature - A non-breaking change which adds functionality.
  • Fix - A non-breaking change which fixes an issue.
  • Refactor - A change that neither fixes a bug nor adds a feature.
  • Documentation - A change only to in-code or markdown documentation.
  • Tests - A change that adds missing unit/integration tests.
  • Chore - A change that is likely none of the above.

Checklist ✅

  • I have done a self-review of my code.
  • [] I have manually tested my code (if applicable).
  • I have added/updated any relevant documentation (if applicable).

Copy link
Collaborator

@tomas-salgado tomas-salgado left a comment

Choose a reason for hiding this comment

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

This is amazing work @arelymartinez16!! There were a lot of different parts to this issue but you handled it all really well-just tested it locally and it's working great! I left a few minor comments, but this should soon be good to go 🚀

packages/core/src/modules/application/application.core.ts Outdated Show resolved Hide resolved
@@ -22,6 +23,8 @@ export function ApplicationRejectedEmail({
into our community at this time.
</Email.Text>

<Email.Text>Rejection Reason: {rejectionReason}</Email.Text>

Copy link
Collaborator

Choose a reason for hiding this comment

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

Note for @ramiAbdou: maybe we want to move the rejection reason elsewhere in the email? Also, one of the rejection reasons is currently "Incorrect or suspicious LinkedIn" which might be an unclear rejection reason to share.

packages/core/src/modules/application/application.core.ts Outdated Show resolved Hide resolved
@@ -0,0 +1,15 @@
import { type Kysely } from 'kysely';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note for @ramiAbdou: reminder to update the timestamp in file name

Copy link
Collaborator

@tomas-salgado tomas-salgado left a comment

Choose a reason for hiding this comment

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

LGTM! Rami will take a final look and we'll ship it 🚢

@tomas-salgado tomas-salgado added the Ready for Rami ✅ This PR is ready for a final review label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Rami ✅ This PR is ready for a final review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add context/messaging to frequent rejection reasons 💬
2 participants