Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e46656d8
Commit
e46656d8
authored
Nov 24, 2020
by
Francisco Javier López
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable FF usage_data_i_snippets_show by default
parent
f0afb27e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/controllers/concerns/snippets_actions.rb
app/controllers/concerns/snippets_actions.rb
+1
-1
changelogs/unreleased/287777-fj-enable-default-usage_data_i_snippets_show-flag.yml
...777-fj-enable-default-usage_data_i_snippets_show-flag.yml
+5
-0
config/feature_flags/development/usage_data_i_snippets_show.yml
.../feature_flags/development/usage_data_i_snippets_show.yml
+1
-1
No files found.
app/controllers/concerns/snippets_actions.rb
View file @
e46656d8
...
@@ -15,7 +15,7 @@ module SnippetsActions
...
@@ -15,7 +15,7 @@ module SnippetsActions
skip_before_action
:verify_authenticity_token
,
skip_before_action
:verify_authenticity_token
,
if:
->
{
action_name
==
'show'
&&
js_request?
}
if:
->
{
action_name
==
'show'
&&
js_request?
}
track_redis_hll_event
:show
,
name:
'i_snippets_show'
,
feature: :usage_data_i_snippets_show
,
feature_default_enabled:
fals
e
track_redis_hll_event
:show
,
name:
'i_snippets_show'
,
feature: :usage_data_i_snippets_show
,
feature_default_enabled:
tru
e
respond_to
:html
respond_to
:html
end
end
...
...
changelogs/unreleased/287777-fj-enable-default-usage_data_i_snippets_show-flag.yml
0 → 100644
View file @
e46656d8
---
title
:
Add MAU counter for snippet show action
merge_request
:
48477
author
:
type
:
changed
config/feature_flags/development/usage_data_i_snippets_show.yml
View file @
e46656d8
...
@@ -5,4 +5,4 @@ rollout_issue_url:
...
@@ -5,4 +5,4 @@ rollout_issue_url:
milestone
:
'
13.7'
milestone
:
'
13.7'
type
:
development
type
:
development
group
:
group::editor
group
:
group::editor
default_enabled
:
fals
e
default_enabled
:
tru
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment