Skip to content

Opt into the Themeisle SDK Support Hub - #3177

Merged
vytisbulkevicius merged 5 commits into
developmentfrom
feat/support-hub
Nov 13, 2026
Merged

vytisbulkevicius merged 5 commits into
developmentfrom
feat/support-hub

Conversation

@vytisbulkevicius

@vytisbulkevicius vytisbulkevicius commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Otter now opts into the Themeisle SDK Support Hub, as Feedzy did in Codeinwp/feedzy-rss-feeds#1372. Free users get a Help button on Otter's screens to message our support team, and the support text no longer points free users only to the forum.

What changed

  • Support Hub — Otter passes its metadata to the SDK: a Pro flag for a valid Otter Pro license, and footer links to the documentation and the wordpress.org forum. The Pro flag reads the stored license, because the SDK asks for it while loading Otter, before Otter Pro's license filter exists. The Help button shows on the Otter dashboard and the Form Submissions list. The SDK's deactivation window replaces the old uninstall feedback popup for the free plugin.

  • Block editors — Otter also counts the block editor as its own screen, which would put the Help button on every post, site and widget editor. The Support Hub stays off those screens.

  • Dashboard → Useful links (free) — "Support" (the forum) becomes Contact Support, which opens the Help panel, plus a separate Community Forum link. If the Support Hub does not load, Contact Support opens the forum. Pro users with a valid license keep Contact Pro Support.

  • readme.txt / readme.md — "Where can I get help?" now mentions the Help button next to the support forum.

  • SDK — codeinwp/themeisle-sdk requires ^3.3.70, the first version with the Support Hub. The lock already has 3.3.72.

Note

The "Priority Support" items in the Pro upsell lists stay, because Pro support is still the faster route. No other text told free users that the forum is their only option.

QA

  1. Use Otter without a valid Pro license. Go to WP Admin → Otter Blocks.

    Expect: a Help button at the bottom right of the screen.

  2. In the right sidebar, under Useful links, click Contact Support.

    Expect: the Help panel opens with the message form, and the page does not navigate away.

  3. Click Community Forum in the same box.

    Expect: the Otter forum on wordpress.org opens in a new tab.

  4. Go to WP Admin → Otter Blocks → Submissions.

    Expect: the Help button shows on the submissions list.

  5. Go to WP Admin → Posts → Add New.

    Expect: no Help button in the block editor.

  6. Go to WP Admin → Plugins and click Deactivate under Otter Blocks.

    Expect: the Support Hub deactivation window opens, with the deactivation reasons.

  7. Activate Otter Pro with a valid license and reload WP Admin → Otter Blocks.

    Expect: Useful links shows Contact Pro Support, linking to store.themeisle.com.

Review responses

Nobody exercised the Help button, its panel or the deactivation window in a browser. The Playwright suite covers the first part in CI. Help launcher shows on the dashboard but not in the block editor checks that the launcher is visible on the Otter dashboard and that the SDK's #ti-support-hub container is absent in the post editor. free sidebar opens the Help panel and keeps the community forum clicks Contact Support and checks that the Help panel opens. The deactivation window (QA step 6) is the SDK's own screen and is still a manual step.

Single form submission screen. Opening one submission uses post.php, which this PR treats as an editor, so it shows no Help button. The submissions list does. The base branch had no Help button anywhere, so this is not a regression. Adding it there also needs a product-screen entry for that view. Left for a follow-up.

Pro plan in support messages. For a licensed Pro site the SDK tags messages plan="pro" without the price id, and with an empty license_status. It reads both through the free plugin's Pro Slug header, which Otter does not have. Adding that header also makes the SDK Logger opt Pro sites into usage tracking by default, so it is a separate decision and not part of this PR.

@pirate-bot

Copy link
Copy Markdown
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 178.5 KB 178.5 KB 0 B (0.00%)
Blocks 1.65 MB 1.65 MB 0 B (0.00%)
CSS 7.83 KB 7.83 KB 0 B (0.00%)
Dashboard 173.78 KB 174.07 KB 296 B (0.17%)
Onboarding 68.14 KB 68.14 KB 0 B (0.00%)
Export Import 4.73 KB 4.73 KB 0 B (0.00%)
Pro 440.37 KB 440.37 KB 0 B (0.00%)

@pirate-bot

pirate-bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Plugin build for a60d51a is ready 🛎️!

@pirate-bot

pirate-bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

E2E Tests

Playwright Test Status: See serial and parallel matrix jobs

Performance Results serverResponse: {"q25":431.28,"q50":473.34,"q75":486.89,"cnt":10}, firstPaint: {"q25":1622.26,"q50":1679.19,"q75":1928.01,"cnt":10}, domContentLoaded: {"q25":4430.8,"q50":4467.1,"q75":4491.59,"cnt":10}, loaded: {"q25":4434.53,"q50":4471.15,"q75":4495.4,"cnt":10}, firstContentfulPaint: {"q25":3303.64,"q50":3347.24,"q75":3402.68,"cnt":10}, firstBlock: {"q25":20498.29,"q50":20741.48,"q75":20795.17,"cnt":10}, type: {"q25":32.92,"q50":35.01,"q75":43.28,"cnt":10}, typeWithoutInspector: {"q25":35.11,"q50":36.65,"q75":41.46,"cnt":10}, typeWithTopToolbar: {"q25":43.59,"q50":47.64,"q75":52.31,"cnt":10}, typeContainer: {"q25":18.98,"q50":19.47,"q75":21.1,"cnt":10}, focus: {"q25":166.48,"q50":180.44,"q75":190.43,"cnt":10}, inserterOpen: {"q25":52.1,"q50":54.63,"q75":56.37,"cnt":10}, inserterSearch: {"q25":36.02,"q50":36.5,"q75":38.79,"cnt":10}, inserterHover: {"q25":5.91,"q50":6.01,"q75":6.84,"cnt":20}, loadPatterns: {"q25":2247.97,"q50":2338.17,"q75":2384.94,"cnt":10}, listViewOpen: {"q25":283.51,"q50":296.17,"q75":314.28,"cnt":10}

@pirate-bot pirate-bot left a comment •

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.

🔵 Needs a closer look

QA check: The code checks passed, but nobody has exercised the Help button, its panel or the deactivation window in a browser. Two inline comments ask for stronger tests.

Validation details
  • Files reviewed: 8/8 changed files.
  • PHPUnit 9.6.5, PHP 8.3, themeisle-sdk 3.3.72: cd /repo; set -o pipefail; timeout 600 vendor/bin/phpunit --do-not-cache-result --filter 'Test_Support_Hub::' --testdox … printed OK (8 tests, 15 assertions) (run R2)
  • A base-tree run left no run record. By source, only the shown-screens test passes there.
  • SDK 3.3.72 source reads both Otter filters on init, after every plugin loads. So OTTER_PRO_BASEFILE and $pagenow are set by then.
  • The Customizer prints no Help button. Core customize.php fires no admin_enqueue_scripts or admin_footer.
QA steps
  1. Without a valid Pro license, open WP Admin → Otter Blocks. Expect a Help button at the bottom right.
  2. Under Useful links, click Contact Support. Expect the Help panel with a message form, and no new tab.
  3. Open Otter Blocks → Submissions. Expect the Help button.
  4. Open Posts → Add New, then Appearance → Widgets. Expect no Help button.
  5. Open Appearance → Customize → Widgets. Expect no Help button.
  6. On Plugins, click Deactivate under Otter Blocks. Expect one window with deactivation reasons.
Untested areas
  • Playwright tests were not run because JavaScript dependencies were absent.

🤖 Automated review · run code-review-agent_6af61c41a2cfc5.23741192.


🤖 Review agent — review posted ✅ on 5739406f · commented · 2 findings · 32 min

Run code-review-agent_6af61c41a2cfc5.23741192 · trail

Comment thread tests/test-support-hub.php Resolved

@pirate-bot pirate-bot left a comment •

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.

🔵 Needs a closer look

QA check: Both earlier test findings are fixed, but nobody has exercised the Help panel or the deactivation window in a browser.

Validation details
  • Files reviewed: 2/2 files changed since the prior review. The other 6 files are unchanged since run code-review-agent_6af61c41a2cfc5.23741192, not rerun.
  • PHPUnit, PHP 8.3, themeisle-sdk 3.3.72: cd /repo && set -o pipefail; timeout 200 vendor/bin/phpunit --do-not-cache-result --filter 'Test_Support_Hub::' 2>&1 | t… printed OK (9 tests, 15 assertions) (run R2)
  • At pr-base no callback is on otter_blocks_hide_support_hub. By source, the four editor rows fail there.
  • The SDK prints #ti-support-hub in admin_footer only when the hub loads. This comes from the prior run's SDK source read, not rerun.
QA steps
  1. Without a valid Pro license, open WP Admin → Otter Blocks. Expect a Help button at the bottom right.
  2. Under Useful links, click Contact Support. Expect the Help panel with a message form, and no new tab.
  3. Open Posts → Add New. Expect no Help button.
  4. On Plugins, click Deactivate under Otter Blocks. Expect one window with deactivation reasons.
Untested areas
  • Playwright tests were not run. JavaScript dependencies were absent, and the sandbox site was down.

🤖 Automated review · run code-review-agent_6af6c61006a1e1.67867607.


🤖 Review agent — review posted ✅ on a60d51ac · commented · 0 findings · 6 min

Run code-review-agent_6af6c61006a1e1.67867607 · trail

@vytisbulkevicius
vytisbulkevicius merged commit 48e34d1 into development Nov 13, 2026
15 checks passed
@vytisbulkevicius
vytisbulkevicius deleted the feat/support-hub branch November 13, 2026 08:53
@pirate-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.2.11 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants