Skip to content

[AIDAPP-928]: Enhance the text editor for Engagement (Email Templates & Messages)#950

Open
payal-canyon wants to merge 10 commits intomainfrom
features/AIDAPP-928
Open

[AIDAPP-928]: Enhance the text editor for Engagement (Email Templates & Messages)#950
payal-canyon wants to merge 10 commits intomainfrom
features/AIDAPP-928

Conversation

@payal-canyon
Copy link
Copy Markdown
Contributor

@payal-canyon payal-canyon commented Mar 25, 2026

Ticket(s) or GitHub Issue

Technical Description

Refactor engagement creation process to utilize RichEditor for body and content fields, enhancing content management and image handling capabilities.

Any deployment steps required?

No

Are any Feature Flags and/or Data Migrations that can eventually be removed Added?

Yes. Temporary Data Migration: app-modules/engagement/database/migrations/2026_03_26_125010_tmp_reset_oversized_image_dimensions_in_engagement_tables.php
In tests/TenantMigrationTests.php, we need to remove the test case related to the temporary migration (please do not remove the entire file).


Before contributing and submitting this PR, make sure you have Read, agree, and are compliant with the contributing guidelines.

@payal-canyon payal-canyon force-pushed the features/AIDAPP-928 branch 2 times, most recently from 98d64d5 to 9aae5fe Compare March 26, 2026 15:48
@payal-canyon payal-canyon added the Change Type | Content or Styling Update Changes which don't affect functionality label Mar 26, 2026
@payal-canyon payal-canyon marked this pull request as ready for review March 26, 2026 17:02
@payal-canyon payal-canyon requested a review from a team as a code owner March 26, 2026 17:02
@payal-canyon payal-canyon requested a review from danharrin March 26, 2026 17:02
…t and body fields, enhancing content management and image handling capabilities.
…oversized image dimensions in engagement tables
…and CreateEngagementBatch; introduce team template filter in BulkEngagementAction and RelationManagerSendEngagementAction.
… tag merging for rich content in Engagement and EngagementBatch models.
…ns; update Engagement model to handle body content and merge data more efficiently.
@payal-canyon payal-canyon requested a review from danharrin March 27, 2026 16:24
Copy link
Copy Markdown
Contributor

@danharrin danharrin left a comment

Choose a reason for hiding this comment

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

I think the $set() for the body in BulkDraftWithAiAction and RelationManagerDraftWithAiAction need to be updated to use the RichContentRenderer like we do for Olympus, so we set the state of the rich editor to be the TipTap schema array and NOT HTML like we had before.

Copy link
Copy Markdown
Contributor

@danharrin danharrin left a comment

Choose a reason for hiding this comment

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

Does RelationManagerSendEngagementAction need to set the model(Engagement) inside the form schema like we do on Olympus? To ensure that it can load in the available merge tags, etc?

Copy link
Copy Markdown
Contributor

@Orrison Orrison left a comment

Choose a reason for hiding this comment

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

@payal-canyon since @danharrin is OOO please re-request my review once you address the feedback he left

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Change Type | Content or Styling Update Changes which don't affect functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants