Skip to content
Snippets Groups Projects

Add call to action to issue analytics empty state

All threads resolved!

What does this MR do and why?

Add call to action to issue analytics empty state

Covers 3 different cases:

  1. Group has 0 projects
  2. Group has >0 projects but 0 issues
  3. Group has issues but none match the currently applied filter

Screenshots or screen recordings

Scenario Before After
group has 0 projects gdk.test_3000_groups_completely-empty-group_-issues_analytics__1 gdk.test_3000_groups_completely-empty-group_-_issues_analytics
group has >0 projects but 0 issues gdk.test_3000_groups_group-with-1-empty-project_-issues_analytics__1 gdk.test_3000_groups_group-with-1-empty-project_-_issues_analytics
group has issues but current filter matches 0 issues
(no change)
gdk.test_3000_groups_flightjs_-issues_analytics_scope_all_label_name___Tripod__1 gdk.test_3000_groups_flightjs_-_issues_analytics_scope_all_label_name___Tripod

How to set up and validate locally

  1. Check out this branch
  2. Create a new empty group
  3. Ensure the group has access to EE features
  4. Visit the Issue Analytics page for the group
    • You should see an empty state that has a "create project" CTA button
  5. Create a project in the group
  6. Return to the group's Issue Analytics page
    • You should now see an empty state that has a "create project" CTA button and a dropdown to select a project in which to create a new issue
  7. In a group that has issues and has access to EE features, visit the Issue Analytics page
  8. Filter on a label that does not have any issues
    • You should see the same empty state that would be seen in prod today in this scenario

Related to #8162 (closed) Related to #474922 (closed)

Edited by Chad Lavimoniere

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Diana Zubova
  • Diana Zubova requested changes

    requested changes

  • added 1 commit

    Compare with previous version

  • Chad Lavimoniere requested review from @dzubova

    requested review from @dzubova

  • Diana Zubova
  • Diana Zubova approved this merge request

    approved this merge request

  • Diana Zubova requested review from @ealcantara and removed review request for @dzubova

    requested review from @ealcantara and removed review request for @dzubova

  • added 1 commit

    Compare with previous version

  • Enrique Alcántara resolved all threads

    resolved all threads

  • Enrique Alcántara approved this merge request

    approved this merge request

  • Enrique Alcántara enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • mentioned in commit 1fa63ef2

  • added workflowstaging label and removed workflowcanary label

  • Chad Lavimoniere changed the description

    changed the description

  • Chad Lavimoniere mentioned in merge request !171171 (merged)

    mentioned in merge request !171171 (merged)

  • mentioned in issue #474922 (closed)

  • Please register or sign in to reply
    Loading