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

feat: Added email bodyType to smtp action (#22749) #23078

Merged
merged 5 commits into from May 11, 2023

Conversation

sanveer-osahan
Copy link
Contributor

Description

Added a new field bodyType to SMTP action.
The bodyType field specifies the content-type for email body. Users can choose between 2 options

  • Plain Text (text/plain)
  • HTML (text/html)

PR fixes following issue(s)

Fixes #22749

Type of change

  • New feature (non-breaking change which adds functionality)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

  • Manual
  • Jest
  • Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:

Dev activity

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • PR is being merged under a feature flag

QA activity:

  • Speedbreak features have been covered
  • Test plan covers all impacted features and areas of interest
  • Test plan has been peer reviewed by project stakeholders and other QA members
  • Manually tested functionality on DP
  • We had an implementation alignment call with stakeholders post QA Round 2
  • Cypress test cases have been added and approved by SDET/manual QA
  • Added Test Plan Approved label after Cypress tests were reviewed
  • Added Test Plan Approved label after JUnit tests were reviewed

@github-actions github-actions bot added Backend This marks the issue or pull request to reference server code BE Coders Pod Issues related to users writing code to fetch and update data Enhancement New feature or request Frontend This label marks the issue or pull request to reference client code Integrations Pod Issues related to a specific integration SMTP plugin Issues related to SMTP plugin labels May 8, 2023
@what-the-diff
Copy link

what-the-diff bot commented May 8, 2023

PR Summary

  • Added "Body Type" field to SMTP plugin's editor
    A new field called "Body Type" has been added to the SMTP plugin's editor for better email formatting options.
  • Updated existing SMTP-plugin actions
    All unpublished and published SMTP-plugin actions that don't have a "Body Type" set have been updated with a default value of "text/html" for consistent email rendering.

@sanveer-osahan sanveer-osahan self-assigned this May 8, 2023
@sanveer-osahan sanveer-osahan requested review from sumitsum and removed request for nidhi-nair May 8, 2023 11:15
@sanveer-osahan
Copy link
Contributor Author

/ok-to-test

@github-actions
Copy link

github-actions bot commented May 8, 2023

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4914516065.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23078.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23078&runId=4914516065_1

@sanveer-osahan
Copy link
Contributor Author

/ok-to-test

@github-actions
Copy link

github-actions bot commented May 8, 2023

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4917082138.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23078.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23078&runId=4917082138_1

@github-actions
Copy link

github-actions bot commented May 8, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4917082138.
Commit: ``.
The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug22281_WelcomeTour_spec.ts

To know the list of identified flaky tests - Refer here

@github-actions
Copy link

github-actions bot commented May 9, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4917082138.
Commit: ``.
All cypress tests have passed 🎉

1 similar comment
@github-actions
Copy link

github-actions bot commented May 9, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4917082138.
Commit: ``.
All cypress tests have passed 🎉

@sanveer-osahan
Copy link
Contributor Author

/ok-to-test

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4933491659.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23078.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23078&runId=4933491659_1

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4933491659.
Commit: ``.
The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js

To know the list of identified flaky tests - Refer here

@github-actions
Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4933491659.
Commit: ``.
All cypress tests have passed 🎉

@sanveer-osahan
Copy link
Contributor Author

/build-deploy-preview

@github-actions
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4936352472.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 23078.
recreate: .

@github-actions
Copy link

Deploy-Preview-URL: https://ce-23078.dp.appsmith.com

@prapullc
Copy link

HI @sanveer-osahan
Enhancement : When the user selects the type of Body we can show the watermark in the Body field respectively this will enhance our user experience.

@sanveer-osahan sanveer-osahan merged commit 2a3bb4c into release May 11, 2023
9 of 10 checks passed
@sanveer-osahan sanveer-osahan deleted the feature/22749-smtp-email-body-type branch May 11, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend This marks the issue or pull request to reference server code BE Coders Pod Issues related to users writing code to fetch and update data Enhancement New feature or request Frontend This label marks the issue or pull request to reference client code Integrations Pod Issues related to a specific integration SMTP plugin Issues related to SMTP plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Add option to select SMTP email body type
3 participants