Commit 4a90dc42 authored by Sean McGivern's avatar Sean McGivern

Show author badge in comments

In addition to the badges showing the commenter's role (Contributor,
Guest, Reporter, etc.), add a new Author badge to the left of those when
the author of an issue, merge request, or epic comments.

Changelog: changed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40198
parent fd52a5bd
......@@ -355,8 +355,6 @@ class Note < ApplicationRecord
end
def noteable_author?(noteable)
return false unless ::Feature.enabled?(:show_author_on_note, project)
noteable.author == self.author
end
......
---
name: show_author_on_note
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40198
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/250282
milestone: '13.4'
type: development
group: group::project management
default_enabled: false
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