stable

Clone or download

Read-only

feat: Display promoted trackers in sidebar by default

The feature flag is now activated by default. 1. Make sure you don't have a row with `feature_flag_display_promoted_trackers_in_sidebar` in `forgeconfig` table. => trackers are displayed in sidebar for every projects 2. `tuleap config-set feature_flag_display_promoted_trackers_in_sidebar 0` => trackers are not displayed in sidebar 3. `tuleap config-set feature_flag_display_promoted_trackers_in_sidebar 1` => trackers are displayed in sidebar for every projects 4. `tuleap config-set feature_flag_display_promoted_trackers_in_sidebar 116,123` => trackers are displayed in sidebar only for projects 116 and 123 This forces us to adjust the `ForgeConfig::getArrayOfInt` so that '0' is not considered as "feature flag not set", since we want to distinguish now between no value and explicit 0. Part of story #34002: see promoted trackers in sidebar Change-Id: I1905fe59e9559a6c86893d2057e72a2d6b67b81e

Modified Files

Name
M plugins/tracker/include/Tracker/Service/CheckPromotedTrackerConfiguration.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Service/PromotedTrackerConfiguration.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Service/CheckPromotedTrackerConfigurationTest.php +2 −2 Go to diff View file
M src/common/Config/ForgeConfig.php +15 −10 Go to diff View file
M tests/unit/common/Config/ForgeConfigTest.php +2 −1 Go to diff View file