Remove the homepage pipelines widget experiment
What does this MR do and why?
This MR removes the experimental pipelines widget from the personal homepage. The widget showed the user's recent merge request pipelines in the right-hand column, under the Quick access widget. The experiment is not being pursued, so the code is removed instead of rolled out.
The widget was gated by the feature flag homepage_pipelines_widget (type wip, default off, user actor), which is removed along with it. The flag was never enabled by default, though it may have been enabled for a few internal testers through ChatOps, so after this MR is deployed, run /chatops run feature delete homepage_pipelines_widget to remove any leftover gate. The fields added to the GET /api/v4/pipelines REST API for the widget (project, detailed_status, timing fields, merge_request) stay, since they are documented public API and removing them would be a breaking change. The commit carries Changelog: other, the type used for removing a default-off flag together with its feature.
Removed:
app/assets/javascripts/homepage/components/pipelines_widget.vueand its Jest specspec/frontend/homepage/components/pipelines_widget_spec.js- the flag definition
config/feature_flags/wip/homepage_pipelines_widget.yml - the widget's import, component registration, and template usage in
app/assets/javascripts/homepage/components/homepage_app.vue, together with theglFeatureFlagsMixinmixin, which had no other user in that component - the
TRACKING_LABEL_PIPELINESconstant inapp/assets/javascripts/homepage/tracking_constants.js - the
before_action only: [:index]block inapp/controllers/root_controller.rb; it only pushed this flag to the frontend, and thepersonal_homepagepush was already removed from it on master, so the block would otherwise be empty - the two
HomePagePipelinesWidget|strings inlocale/gitlab.pot, regenerated withtooling/bin/gettext_extractor
References
- Closes https://gitlab.com/gitlab-org/gitlab/-/issues/627139 (feature issue)
- Closes #627140 (rollout issue)
- Widget introduced by: !252969 (merged)
- API fields that stay were added by: !252943 (merged) and !253012 (merged)
Screenshots or screen recordings
There are no screenshots. The widget was behind a default-off feature flag, so for users without the flag the homepage looks the same before and after this change, since nothing new is rendered.
How to set up and validate locally
- Check out the branch
627139-remove-homepage-pipelines-widget. - Sign in to your GDK and open the root URL (the personal homepage). The right-hand column shows only the Quick access widget. There is no Pipelines widget, and the page has no console errors.
- Run
grep -rn homepage_pipelines_widget app config spec ee localefrom the repository root. It prints nothing. - Run
yarn jest spec/frontend/homepage/components/homepage_app_spec.jsandbin/rspec spec/controllers/root_controller_spec.rb. Both pass.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.