Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove 'a4a-pressable-addons' feature flag and simplify Pressable add-on visibility logic#108995

Draft
cleacos wants to merge 1 commit intotrunkfrom
codex/remove-a4a-pressable-addons-feature-flag
Draft

Remove 'a4a-pressable-addons' feature flag and simplify Pressable add-on visibility logic#108995
cleacos wants to merge 1 commit intotrunkfrom
codex/remove-a4a-pressable-addons-feature-flag

Conversation

@cleacos
Copy link
Contributor

@cleacos cleacos commented Mar 2, 2026

Motivation

  • Remove the a4a-pressable-addons feature flag and simplify code paths that gated Pressable add-on visibility across the marketplace UI and configuration files.
  • Ensure runtime logic relies on product availability and licensing checks rather than a removed config flag.

Description

  • Removed the isEnabled import and the isPressableAddonsEnabled checks from use-product-and-plans.tsx and use-product-filter-options.tsx, and simplified the filtering logic that computes and filters Pressable add-on product IDs.
  • Adjusted the product filter options to stop depending on the removed feature flag and instead use hasPressableAddonsAvailable and canShowPressableAddonsByMode to decide whether to include the Pressable category.
  • Removed a4a-pressable-addons from environment config files config/a8c-for-agencies-*.json (development, stage, horizon, production).
  • Cleaned up related hook dependency arrays to remove the deleted flag variable.

Testing

  • Ran unit tests with yarn test and the test suite completed successfully.
  • Ran lint and type checks with yarn lint and yarn build and both succeeded.
  • Executed the frontend build with yarn build to verify compilation and it completed without errors.

Codex Task

@cleacos cleacos self-assigned this Mar 2, 2026
@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

  • agents-manager
  • blaze-dashboard
  • help-center
  • notifications
  • odyssey-stats
  • wpcom-block-editor

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

@cleacos cleacos removed the codex label Mar 2, 2026
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