Skip to content

Add admin notice for WhatsApp utility messaging recruitment#3177

Closed
iodic wants to merge 9 commits intomainfrom
feature/waum-recruitment-notice
Closed

Add admin notice for WhatsApp utility messaging recruitment#3177
iodic wants to merge 9 commits intomainfrom
feature/waum-recruitment-notice

Conversation

@iodic
Copy link
Copy Markdown
Collaborator

@iodic iodic commented May 13, 2025

Description

This changeset adds an admin notice with a call to action for taking part in the WhatsApp utility messaging program. The notice appears on all admin pages after the plugin is updated/activated. Dismissing the notice will make it stop appearing for that user.

Type of change

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

Checklist

  • [yes] I have commented my code, particularly in hard-to-understand areas.
  • [yes] I have confirmed that my changes do not introduce any new PHPCS warnings or errors.
  • [yes] I have checked plugin debug logs that my changes do not introduce any new PHP warnings or FATAL errors.
  • [yes] I followed general Pull Request best practices. Meta employees to follow this wiki.
  • [n/a] I have added tests (if necessary) and all the new and existing unit tests pass locally with my changes.
  • [yes] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.
  • [n/a] I have updated or requested update to plugin documentations (if necessary). Meta employees to follow this wiki.

Changelog entry

Add admin notice for WhatsApp utility messaging recruitment

Test Plan

Build a release artifact with this changeset and install on a testing site. As soon as the plugin is activated, the notice will be visible on top of all admin pages (see screenshot below).

Screenshots

recruitment notice

@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-13T12:10:41.518Z
Commit: 8583b17
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-13T12:10:41.518Z
Commit: 8583b17
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

@sharunaanandraj
Copy link
Copy Markdown
Contributor

@iodic Can we also add a end date for the notice of 5 weeks ? Also would be great if we could check that clicking on survey opens the survey link as expected. Thanks!
@vahidkay-meta Can we add this to thsi weeks release ?

@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-13T15:36:07.624Z
Commit: f9b7aad
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-13T15:36:07.624Z
Commit: f9b7aad
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

@iodic
Copy link
Copy Markdown
Collaborator Author

iodic commented May 13, 2025

@iodic Can we also add a end date for the notice of 5 weeks ? Also would be great if we could check that clicking on survey opens the survey link as expected. Thanks!

@sharunaanandraj — the banner will now be shown through June 16th.

Clicking on the notice link opens the survey as expected.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@sharunaanandraj has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Comment thread facebook-commerce-admin-notice.php Outdated
wp_kses(
// translators: %s: URL to the WhatsApp order tracking testing program sign-up page.
__(
"WhatsApp order tracking is now available for testing. <a href='%s'>Sign up our testing program</a> and get early access now!",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
"WhatsApp order tracking is now available for testing. <a href='%s'>Sign up our testing program</a> and get early access now!",
"WhatsApp order tracking is now available for testing. <a href='%s'>Sign up for our testing program</a> and get early access now!",

Copy link
Copy Markdown
Contributor

@sharunaanandraj sharunaanandraj left a comment

Choose a reason for hiding this comment

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

@iodic Noticed the content has a typo. Can we update this ?

@iodic iodic force-pushed the feature/waum-recruitment-notice branch from df34c59 to 6086dac Compare May 14, 2025 21:24
@iodic
Copy link
Copy Markdown
Collaborator Author

iodic commented May 14, 2025

@iodic Noticed the content has a typo. Can we update this ?

@sharunaanandraj, fixed and rebased onto main.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-14T21:25:42.577Z
Commit: 7830031
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-14T21:25:42.577Z
Commit: 7830031
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-14T21:25:54.404Z
Commit: 77198a4
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

📦 Latest Plugin Build

Built at: 2025-05-14T21:25:54.404Z
Commit: 77198a4
Size: 1.1M

Download: Click here to download the plugin

To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@sharunaanandraj has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@sharunaanandraj merged this pull request in 596d47b.

sharunaanandraj pushed a commit that referenced this pull request May 15, 2025
Summary:

This changeset adds an admin notice with a call to action for taking part in the WhatsApp utility messaging program. The notice appears on all admin pages after the plugin is updated/activated. Dismissing the notice will make it stop appearing for that user.

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

- [yes] I have commented my code, particularly in hard-to-understand areas.
- [yes] I have confirmed that my changes do not introduce any new PHPCS warnings or errors.
- [yes] I have checked plugin debug logs that my changes do not introduce any new PHP warnings or FATAL errors.
- [yes] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc)).
- [n/a] I have added tests (if necessary) and all the new and existing unit tests pass locally with my changes.
- [yes] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.
- [n/a] I have updated or requested update to plugin documentations (if necessary). Meta employees to follow this [wiki]([url](https://fburl.com/wiki/nhx73tgs)).

Add admin notice for WhatsApp utility messaging recruitment

Pull Request resolved: #3177

Test Plan:
Build a release artifact with this changeset and install on a testing site. As soon as the plugin is activated, the notice will be visible on top of all admin pages (see screenshot below).

![recruitment notice](https://github.com/user-attachments/assets/b07c08ec-3b15-436e-925c-90a499dc8b34)

Reviewed By: woo-ardsouza

Differential Revision: D74740103

Pulled By: sharunaanandraj

fbshipit-source-id: 487867997fe3c4246d8a9299dabd841f8eb10df0
@tzahgr tzahgr mentioned this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants