WIP: DRY up groups empty state

What does this MR do?

With recent changes to the empty states, this DRYs up the previously implemented groups empty state

Are there points in the code the reviewer needs to double check?

NOTE: This MR branches from !7312 so the target branch is currently set to 20847-getting-started-better-empty-state-for-snippets-view. !7312 should be merged before this and then the target branch for this MR should be changed to master.

Why was this MR needed?

Screenshots (if relevant)




Does this MR meet the acceptance criteria?

What are the relevant issue numbers?