Skip to content

Update snippets empty state

Julia Miocene requested to merge snippets-jmiocene into master

What does this MR do and why?

  • Migrate empty state to Pajamas component.
  • Add empty state component to empty search result.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
CleanShot_2024-06-19_at_14.59.30_2x CleanShot_2024-06-20_at_13.01.26_2x
CleanShot_2024-06-19_at_15.15.30_2x CleanShot_2024-06-19_at_15.21.40_2x

How to set up and validate locally

  1. Got to http://gdk.test:3000/dashboard/snippets?scope=are_private or any other tab with 0 snippets
  2. See the first empty state
  3. Go to http://gdk.test:3000/admin/users/reported_user_21
  4. Click [Impersonate]
  5. Go to http://gdk.test:3000/dashboard/snippets
  6. See the second empty state

Don't forget to stop impersonating by clicking the incognito icon near your profile picture.

#457239 (closed)

Edited by Julia Miocene

Merge request reports