Skip to content

[Feature flag] Rollout of `roadmap_daterange_filter`

What

We are replacing Roadmap's infinite horizontal scrolling in favour of a date-range filter where user can select one of the pre-defined daterange presets. The implementation is currently behind feature flag :roadmap_daterange_filter and can be enabled on per-group basis from Rails console by running Feature.enable(:roadmap_daterange_filter, Group.find_by_full_path('gitlab-org')). The feature MR is !55639 (merged).

Owners

Expectations

Once the flag is enabled for a group, user will notice a dropdown button in the filtering area of the Roadmap page as depicted in screenshots below;

Default Available Date Ranges
image image

What are we expecting to happen?

Scrolling the roadmap timeline horizontally will no longer extend the timeline and instead the timeframe will remain fixed as per the selected daterange preset.

What might happen if this goes wrong?

Roadmap may not correctly render the timeframe if the provided range is too short, or it may take very long time to load if provided timeframe range or too long.

Beta groups/projects

If applicable, any groups/projects that are happy to have this feature turned on early. Some organizations may wish to test big changes they are interested in with a small subset of users ahead of time for example.

  • gitlab-org/gitlab-com groups

Roll Out Steps

  • Enable on staging (/chatops run feature set --group=gitlab-org roadmap_daterange_filter true --staging)
  • Test on staging
  • Ensure that documentation has been updated
  • Enable on GitLab.com for individual groups/projects listed above and verify behaviour (/chatops run feature set --group=gitlab-org roadmap_daterange_filter true)
  • Coordinate a time to enable the flag with the SRE oncall and release managers
    • In #production by pinging @sre-oncall
    • In #g_delivery by pinging @release-managers
  • Announce on the issue an estimated time this will be enabled on GitLab.com
  • Enable on GitLab.com by running chatops command in #production (/chatops run feature set --group=gitlab-org roadmap_daterange_filter true)
  • Cross post chatops Slack command to #support_gitlab-com (more guidance when this is necessary in the dev docs) and in your team channel
  • Announce on the issue that the flag has been enabled
  • Remove feature flag and add changelog entry
  • After the flag removal is deployed, clean up the feature flag by running chatops command in #production channel

Rollback Steps

  • This feature can be disabled by running the following Chatops command:
/chatops run feature set --group=gitlab-org roadmap_daterange_filter false
Edited by Kushal Pandya