Skip to content

Update Topic empty states

Julia Miocene requested to merge topic-empty-states into master

What does this MR do and why?

  • Show EmptyState when there are no topics.
  • Show EmptyResult when there are no search results.
  • Migrate header to PageHeadingComponent.

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
1_before 1_after
2_before 2_after
3_before 3_after
4_before 4_after

How to set up and validate locally

  1. Go to http://gdk.test:3000/admin/topics
  2. Remove topics, if you have any
  3. [See EmptyState] on this page
  4. Go to http://gdk.test:3000/explore/projects/topics
  5. [See EmptyState] on this page
  6. Go back
  7. Create a topic
  8. Search for a non-existing topic
  9. [See EmptyResult] on this page
  10. Go to http://gdk.test:3000/explore/projects/topics
  11. Search for a non-existing topic
  12. [See EmptyResult] on this page

#469616 (closed)

Merge request reports

Loading