Skip to content

A4A: Remove a4a-help-center feature flag#109222

Merged
jkguidaven merged 1 commit intotrunkfrom
remove/a4a/help-center-feature-flag
Mar 12, 2026
Merged

A4A: Remove a4a-help-center feature flag#109222
jkguidaven merged 1 commit intotrunkfrom
remove/a4a/help-center-feature-flag

Conversation

@jkguidaven
Copy link
Contributor

Context: pfSQfS-1sJ-p2

Proposed Changes

This pull request removes the feature flag for the "a4a-help-center" and makes the Help Center functionality always enabled in the A8C for Agencies sidebar. It also cleans up related conditional code, removes unused styles and configuration, and simplifies the sidebar and profile dropdown components.

Key changes include:

Help Center Feature Flag Removal:

  • Removed the a4a-help-center feature flag from all configuration files, making the Help Center always enabled. [1] [2] [3] [4]
  • Eliminated all conditional checks for isEnabled('a4a-help-center') in the codebase, so Help Center components are always rendered. [1] [2] [3] [4]

Sidebar and Profile Dropdown Simplification:

  • Removed the conditional rendering and associated logic for showing the Help Center and support contact widgets, streamlining the sidebar and profile dropdown UI. [1] [2] [3]

Code and Style Cleanup:

  • Deleted unused imports and removed obsolete CSS classes and styles related to the previous conditional UI for the profile dropdown. [1] [2] [3] [4] [5] [6] [7] [8]

These changes ensure the Help Center is consistently available and reduce code complexity by removing feature flag checks and related UI branching.

Why are these changes being made?

  • Ensures our codebase are maintainable by removing irrelevant codes.

Testing Instructions

  • Use the A4A live link and navigate to /overivew page.
  • Verify that there is no regression on the Help center functionality.

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you tested accessibility for your changes? Ensure the feature remains usable with various user agents (e.g., browsers), interfaces (e.g., keyboard navigation), and assistive technologies (e.g., screen readers) (PCYsg-S3g-p2).
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
    • For UI changes, have we tested the change in various languages (for example, ES, PT, FR, or DE)? The length of text and words vary significantly between languages.
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

The help center is now enabled in all environments, so the feature
flag and its conditional branches are no longer needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jkguidaven jkguidaven requested a review from a team March 12, 2026 06:00
@jkguidaven jkguidaven self-assigned this Mar 12, 2026
@jkguidaven jkguidaven added the A4A label Mar 12, 2026
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Mar 12, 2026
@jkguidaven jkguidaven marked this pull request as ready for review March 12, 2026 06:00
@matticbot
Copy link
Contributor

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • help-center
  • notifications
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug remove/a4a/help-center-feature-flag on your sandbox.

@jkguidaven jkguidaven merged commit 02c4677 into trunk Mar 12, 2026
18 of 19 checks passed
@jkguidaven jkguidaven deleted the remove/a4a/help-center-feature-flag branch March 12, 2026 06:49
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants