dotcom-page-kit
dotcom-page-kit copied to clipboard
Collaboration: Professional Lifecycle Experience add Enhance Search
This PR is showing the changes in the feature branch made for @Financial-Times/professional-lifecycle-experience team to make relevant changes to enable the Enhance Search A/B test in Customer Products. This feature branch will be used to release beta versions of Page Kit to be used for the A/B test.
Any new changes should be made as PRs to this feature branch. This branch will have the same branch protections as main.
@Financial-Times/professional-lifecycle-experience will make changes will only do the following:
- Enable the enhance search to render in the header depending on the value of a feature flag
- Enable the ability to toggle the show state of the search bar on render
This PR will be blocked from merging into main. These changes are experimental and are owned by @Financial-Times/professional-lifecycle-experience. It is their responsibility to ensure the code works for the User Facing systems this code will be used for.
To release a beta version:
- Go to https://github.com/Financial-Times/dotcom-page-kit/releases/new?target=CPP-1662-professional-enhance-search-collaboration
- Make sure the
target
is set toCPP-1662-professional-enhance-search-collaboration
- Set the tag as
v9.0.0-beta.0
(and then increment the last digit, so the next release will bev9.0.0-beta.1
) - Write release notes (click on
Generate release notes button
) - Check
Set as a pre-release
- Uncheck
Set as a latest release
When the experiment is done
The code for this experiment will not be merged into main
. Once the A/B test is concluded, we should plan fresh how to enable enhance search into the Header with the idea it is used supported in Origami.