Commit 880b927d authored by James Lopez's avatar James Lopez

Merge branch 'fix-wiki-activity-icons' into 'master'

Add icons for `destroyed` and `updated` activity events

See merge request gitlab-org/gitlab!30349
parents 3aa25394 468a4666
...@@ -4,12 +4,14 @@ module EventsHelper ...@@ -4,12 +4,14 @@ module EventsHelper
ICON_NAMES_BY_EVENT_TYPE = { ICON_NAMES_BY_EVENT_TYPE = {
'pushed to' => 'commit', 'pushed to' => 'commit',
'pushed new' => 'commit', 'pushed new' => 'commit',
'updated' => 'commit',
'created' => 'status_open', 'created' => 'status_open',
'opened' => 'status_open', 'opened' => 'status_open',
'closed' => 'status_closed', 'closed' => 'status_closed',
'accepted' => 'fork', 'accepted' => 'fork',
'commented on' => 'comment', 'commented on' => 'comment',
'deleted' => 'remove', 'deleted' => 'remove',
'destroyed' => 'remove',
'imported' => 'import', 'imported' => 'import',
'joined' => 'users' 'joined' => 'users'
}.freeze }.freeze
......
---
title: Add Activity icons for Wiki updated and destroyed events
merge_request: 30349
author:
type: fixed
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