Skip to content

Truncate counts on group issues list refactor

Coung Ngo requested to merge 322755-truncate-counts into master

What does this MR do and why?

This MR truncates counts on the group issues list page for the Vue refactor (#322755 (closed)) behind the feature flag vue_issues_list to mimic existing functionality under the Haml page.

Screenshots or screen recordings

before after
Screenshot_2022-01-20_at_5.03.24_pm Screenshot_2022-01-20_at_5.04.44_pm

How to set up and validate locally

  1. In rails console enable the feature flag
    Feature.enable(:vue_issues_list)
  2. Visit any group issues list page such as http://127.0.0.1:3000/groups/h5bp/-/issues
  3. Mock the tab counts in app/assets/javascripts/issues/list/components/issues_list_app.vue:420

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #322755 (closed)

Merge request reports