Commit 7f47ca8a authored by Sean McGivern's avatar Sean McGivern

Display contributor badge on notes

This removes the feature flag, and so makes it enabled everywhere.

This was originally implemented in
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40198 and only
applies to the Contributor badge. The Author badge has a separate issue,
discussed in https://gitlab.com/gitlab-org/gitlab/-/issues/250282.
parent b9dff081
......@@ -322,8 +322,6 @@ class Note < ApplicationRecord
end
def contributor?
return false unless ::Feature.enabled?(:show_contributor_on_note, project)
project&.team&.contributor?(self.author_id)
end
......
---
title: Display Contributor badges on notes
merge_request: 42576
author: Mycroft Kang @TaehyeokKang
type: added
---
name: show_contributor_on_note
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40198
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/249179
group: group::project management
type: development
default_enabled: false
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment