Skip to content

Apply Issue Analytics page filters to table

Rudy Crespo requested to merge 422451-issue-analytics-restore-table-filters into master

What does this MR do and why?

Applies Issue Analytics page filters to the table. Also ensures that closed issues are only displayed for GitLab Ultimate users.

Known Issues

  • iteration filter is currently not working; to be fixed in #419743
  • Enhanced Issue Analytics
    • Limited filters; to be fixed in #424268 (closed)
    • Chart's x-axis title "Last x months" is off by a month; MR coming shortly

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

State Before After
Default Screen Recording 2023-10-04 at 5.21.54 PM.mov Screen Recording 2023-10-04 at 4.54.49 PM.mov
Enhanced Issue Analytics Screen Recording 2023-10-04 at 5.20.28 PM.mov Screen Recording 2023-10-04 at 5.15.45 PM.mov

How to set up and validate locally

  1. Make sure you have a GitLab Ultimate license
  2. Go to a group/project with issues: http://{LOCAL_INSTANCE}/groups/{GROUP_PATH}/-/issues_analytics or http://{LOCAL_INSTANCE}/{GROUP_PATH}/{PROJECT_PATH}/-/analytics/issues_analytics
  3. Enter one or more filters and ensure that they are being applied to both the chart and the table (for more info, see https://docs.gitlab.com/ee/user/group/issues_analytics/).
  4. Feature.enable(:issues_completed_analytics_feature_flag) to test Enhanced Issue Analytics and repeat Step 3

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 #422451 (closed)

Edited by Rudy Crespo

Merge request reports