Skip to content

feat: opt into the Themeisle SDK Support Hub - #1027

Open
vytisbulkevicius wants to merge 1 commit into
developmentfrom
feat/support-hub
Open

vytisbulkevicius wants to merge 1 commit into
developmentfrom
feat/support-hub

Conversation

@vytisbulkevicius

Copy link
Copy Markdown
Contributor

Opt Orbit Fox into the shared Themeisle SDK Support Hub by registering themeisle_companion_support_hub_metadata, mirroring the existing _ai_connect_metadata filter.

What changed

  • Register the Support Hub filter returning is_pro and the Help-form link.

Note

Free plugin, so is_pro is false. No SDK bump — development ships themeisle-sdk 3.3.72. Link points to the plugin's own WordPress.org support forum.

QA

  1. Activate Orbit Fox on a site with themeisle-sdk 3.3.72+. Open its admin screen. Expect: a Help button bottom-right (on the plugin's own screens) opening the Support Hub form with the Community Forum link.
  2. Deactivate the plugin. Expect: the SDK deactivation window appears.

Register the <slug>_support_hub_metadata filter so the shared Themeisle SDK
Support Hub is enabled for this plugin, mirroring _ai_connect_metadata. Free
plugin, so is_pro is false. Development ships SDK 3.3.72.
@pirate-bot

Copy link
Copy Markdown
Contributor

Plugin build for 5749cb7 is ready 🛎️!

@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 source matches the SDK 3.3.72 Support Hub contract, but no test opened the screen to see the Help button.

Validation details
  • Files reviewed: 1/1 changed files.
  • The locked SDK 3.3.72 reads themeisle_companion_support_hub_metadata with is_pro and links. This was checked by source.
  • Orbit Fox fires themeisle_internal_page on its dashboard. The Help button can render there.
  • The SDK applies the filter after init. So __() does not run too early.
QA steps
  1. Activate Orbit Fox. Open the Orbit Fox menu in the admin sidebar. Expect a Help button at the bottom right.
  2. Click the Help button. Expect the Support Hub form with a Community Forum link.
  3. Click Community Forum. Expect the Orbit Fox support forum on WordPress.org.
  4. Open Plugins and deactivate Orbit Fox. Expect the deactivation feedback window.
Untested areas
  • No WordPress site ran. The Help button and the deactivation window were not opened in a browser.

🤖 Automated review · run code-review-agent_6b04c0387faf83.90301843.


🤖 Review agent — review posted ✅ on 5749cb75 · commented · 0 findings · 14 min

Run code-review-agent_6b04c0387faf83.90301843 · trail

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants