Skip to content

Use the new support screen for everyone and remove Zendesk - #26434

Draft
jkmassel wants to merge 4 commits into
trunkfrom
jkmassel/drop-zendesk
Draft

jkmassel wants to merge 4 commits into
trunkfrom
jkmassel/drop-zendesk

Conversation

@jkmassel

@jkmassel jkmassel commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Makes the new Help & Support screen the only one, in both apps, and removes the Zendesk SDK along with everything built on it. The SDK helpers the rest of the app was using were replaced in #26435.

Summary

The commits can be reviewed one at a time: additions to the new screen, the feedback form, then the removal.

What changes for people

Before After
Jetpack, WordPress.com account Zendesk ticket form and ticket list Get help: AI Assistant, escalating to the support team
WordPress, WordPress.com account Link to the WordPress.org forums Get help
Either app, no WordPress.com account Jetpack: a Zendesk ticket under any email. WordPress: the forums link Help Center and a Log into WordPress.com button

The last row is the one that loses something. Support chat needs a WordPress.com account, as decided in #26147.

WordPress.com account No WordPress.com account Presented from the migration screens
Support screen with a profile, Help Center, Get help, Application Logs, System Status Report and a Debug switch Support screen with a Log into WordPress.com button in place of the profile, and no Get help row Support screen as a sheet with a close button and a Log Out row at the bottom

The profile shown is placeholder data.

Decisions a reviewer may question

The feedback form is removed, not rerouted. Without Zendesk it has nowhere to send feedback, and the AI chat isn't a feedback channel. Send Feedback is gone from the Stats, editor and custom post type menus. The rating prompt's "Not really → Sure" opens Help & Support.

Old ticket-reply notifications still arrive, because only the SDK could unregister a device. The app shows them as a banner and opens Help & Support on tap. The unread dot on Me → Help & Support is gone.

Three things moved to the new screen: a close button for when it's presented, Log Out for the migration screens, and the Debug logging switch.

The Zendesk name and email saved in UserDefaults are deleted at launch.

Test plan

Simulator checks ran on an iPhone 18 Pro and an iPad Pro 11-inch (M5), both iOS 27.2, with Debug builds of both apps.

  • Unit tests: the full WordPressUnitTests plan ends in ** TEST EXECUTE SUCCEEDED **: 2,241 Swift Testing tests pass, and the two largest XCTest bundles report Executed 1541 tests, with 2 tests skipped and 0 failures and Executed 882 tests, with 0 failures. Two tests in code this PR doesn't touch passed only on the plan's retry.
  • Packages resolve as CI resolves them: xcodebuild -resolvePackageDependencies -onlyUsePackageVersionsFromResolvedFile exits 0 and lists no Zendesk package.
  • SwiftLint reports nothing on the 53 added or changed Swift files.
  • With a WordPress.com account, both apps: Me → Help & Support shows the first screenshot's rows, and Get help lists the account's conversations.
  • Without one (WordPress app, self-hosted site only): the second screenshot, with no Get help row.
  • Debug switch: after turning it on and relaunching, the launch log reads Extra debug: YES where it read NO.
  • Ticket-reply notification, Jetpack: the banner shows with the app open. Tapping it lands on Help & Support with the app open, in the background, and quit, including a launch where the Me tab was never opened.
  • Presented as a sheet from the rating prompt, both support buttons in the classic editor's help, an error alert's Need Help?, the migration screen's Need help?, and the iPad sidebar. The close button dismisses each (not tapped on the error alert's sheet).
  • Log Out in the migration screens' sheet asks "Log out of Jetpack?". We cancelled there.
  • Send Feedback is gone from the Stats menu, the new editor's menu and the custom post type list. Turning off Experimental Block Editor shows no prompt, and Experimental Features no longer lists New Support.
  • Not done: opening the screen from Scan, Plugins, Jetpack install, site creation, Delete Site and Close Account. Each needs an error state or a destructive screen on a real account. They call the same two functions as the entry points above.
How the simulator states were produced, and the two retried tests
  • Ticket-reply notification: xcrun simctl push <udid> com.automattic.jetpack payload.json, where the payload is {"aps": {"alert": {"title": "Support", "body": "A support agent replied to your request."}}, "type": "zendesk"}. The app needs notification permission first.
  • Rating prompt: with the app terminated, set ff-override-In-App Rating and Feedback to true and AppRatingSignificantEventCount to 25 in the app container's preferences plist, then answer "Not really" and "Sure".
  • Classic editor: turn off Experimental Block Editor in Me → App Settings → Experimental Features.
  • Error alert and migration screens: shown with temporary launch-argument hooks that aren't in the diff. The alert hook called WPError.showAlert(withTitle:message:); the migration hook called showMigrationUI.
  • No WordPress.com account: a local WordPress Playground site with an application password, signed in with the -ui-test-site-* launch arguments from docs/simulator-sign-in.md.
  • Profile in the screenshots: placeholder data from a temporary hook, not a real account.
  • Retried tests: UIImageViewNetworkingTests.rejectsMShotsPlaceholder and BlogServiceSyncTests.coreRESTBlogSyncsOptionsUsingApplicationPassword.

@jkmassel jkmassel self-assigned this Nov 21, 2026
@jkmassel jkmassel added this to the 27.6 milestone Nov 21, 2026
@dangermattic

dangermattic commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@jkmassel
jkmassel changed the base branch from trunk to jkmassel/replace-zendesk-sdk-helpers November 21, 2026 05:20
@jkmassel
jkmassel added this pull request to stack #26436 November 21, 2026 05:20
Base automatically changed from jkmassel/replace-zendesk-sdk-helpers to trunk November 23, 2026 23:45
@jkmassel
jkmassel force-pushed the jkmassel/drop-zendesk branch from e736974 to a3e199f Compare November 23, 2026 23:45
The new support screen could only be pushed from the Me screen. Before
it can replace the Zendesk-based Help screen, it needs four things that
screen had:

- It can be presented from anywhere, with a button to close it.
- It can show a Log Out button. The Jetpack migration screens replace
  the whole app, so their Help button is the only place to log out.
- It has the Debug switch, which makes the app's logs more detailed
  and exists nowhere else.
- It tracks `support_opened` and registers the Spotlight activity.
The form created a Zendesk ticket, so it has nowhere to send feedback
once the Zendesk SDK is removed. Its entry points go with it: Send
Feedback in the Stats, editor and custom post type menus, and the
prompt shown after turning off the experimental editor.

The in-app rating prompt still asks "Would you like to share more
details with us?". Answering Sure now opens Help & Support.

The Notifications tab had its own rating prompt that also led to
Zendesk. Nothing has called `setupAppRatings()` since 5c4b8e9, so
that code is deleted.
Help & Support opened the Zendesk-based Help screen unless the New
Support experimental feature was on. It now always opens the new
screen, and every other Contact Support entry point opens it too.

With nothing left to use it, the Zendesk SDK is removed, along with
`ZendeskUtils`, the old Help screen, the DocsBot chat web view, the
Zendesk credentials and build settings, and the WordPressKit calls that
only fed Zendesk tickets.

Devices that an earlier version registered with Zendesk still receive
ticket-reply notifications, because only the SDK could unregister them.
The app shows these as a banner and opens Help & Support when one is
tapped. That navigation only worked if the Me screen had already been
opened, because the row lookup ran before the screen loaded, so the Me
screen now loads its view first.

The support name and email that the Zendesk integration saved in
UserDefaults are removed at launch.
@jkmassel
jkmassel force-pushed the jkmassel/drop-zendesk branch from a3e199f to 5871ba9 Compare November 24, 2026 17:22
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.

2 participants