Skip to content

Fix: Allow nested groups and projects to also have the tier badge

Doug Stull requested to merge 432239-fix-regression into master

What does this MR do and why?

Fix: Allow nested groups and projects to also have the tier badge

  • fixes a regression introduced in !127860 (merged)
  • refactors for better handling of the Group/Project text detection to be driven off the source object a bit better.
  • see #432239 (closed) for more details

Screenshots or screen recordings

no changes

How to set up and validate locally

validated by view specs and feature specs(ee/spec/features/projects/show_spec.rb and ee/spec/features/groups/show_spec.rb)

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

Edited by Doug Stull

Merge request reports