Repository navigation
Conversation
Collaborator
Generated by 🚫 Danger |
7 of 8 tasks
jkmassel
changed the base branch from
trunk
to
jkmassel/replace-zendesk-sdk-helpers
November 21, 2026 05:20
Base automatically changed from
jkmassel/replace-zendesk-sdk-helpers
to
trunk
November 23, 2026 23:45
jkmassel
force-pushed
the
jkmassel/drop-zendesk
branch
from
November 23, 2026 23:45
e736974 to
a3e199f
Compare
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
force-pushed
the
jkmassel/drop-zendesk
branch
from
November 24, 2026 17:22
a3e199f to
5871ba9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
New Supportexperimental feature. Me → Help & Support, and every other "Contact support" entry point, opens the screen it used to switch on (see Unified support: add the combined Get help conversations list #26030 and Make Get help available in both apps and prompt logged-out users to sign in #26147).ZendeskUtils, the old Help screen, the DocsBot chat web view, and the Zendesk credentials and build settings.The commits can be reviewed one at a time: additions to the new screen, the feedback form, then the removal.
What changes for people
The last row is the one that loses something. Support chat needs a WordPress.com account, as decided in #26147.
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
UserDefaultsare 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.
WordPressUnitTestsplan ends in** TEST EXECUTE SUCCEEDED **: 2,241 Swift Testing tests pass, and the two largest XCTest bundles reportExecuted 1541 tests, with 2 tests skipped and 0 failuresandExecuted 882 tests, with 0 failures. Two tests in code this PR doesn't touch passed only on the plan's retry.xcodebuild -resolvePackageDependencies -onlyUsePackageVersionsFromResolvedFileexits 0 and lists no Zendesk package.Extra debug: YESwhere it readNO.How the simulator states were produced, and the two retried tests
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.ff-override-In-App Rating and Feedbackto true andAppRatingSignificantEventCountto 25 in the app container's preferences plist, then answer "Not really" and "Sure".WPError.showAlert(withTitle:message:); the migration hook calledshowMigrationUI.-ui-test-site-*launch arguments fromdocs/simulator-sign-in.md.UIImageViewNetworkingTests.rejectsMShotsPlaceholderandBlogServiceSyncTests.coreRESTBlogSyncsOptionsUsingApplicationPassword.