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
9ea9f55d
Commit
9ea9f55d
authored
Aug 19, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the usage_data_design_action feature flag
This has been enabled in production by default. Changelog: changed
parent
a66582cb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
34 deletions
+7
-34
app/assets/javascripts/design_management/pages/design/index.vue
...sets/javascripts/design_management/pages/design/index.vue
+1
-3
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+0
-1
config/feature_flags/development/usage_data_design_action.yml
...ig/feature_flags/development/usage_data_design_action.yml
+0
-8
lib/gitlab/usage_data_counters/known_events/common.yml
lib/gitlab/usage_data_counters/known_events/common.yml
+0
-1
spec/frontend/design_management/pages/design/index_spec.js
spec/frontend/design_management/pages/design/index_spec.js
+6
-21
No files found.
app/assets/javascripts/design_management/pages/design/index.vue
View file @
9ea9f55d
...
...
@@ -309,9 +309,7 @@ export default {
this
.
isLatestVersion
,
);
if
(
this
.
glFeatures
.
usageDataDesignAction
)
{
servicePingDesignDetailView
();
}
servicePingDesignDetailView
();
},
updateActiveDiscussion
(
id
,
source
=
ACTIVE_DISCUSSION_SOURCE_TYPES
.
discussion
)
{
this
.
$apollo
.
mutate
({
...
...
app/controllers/projects/issues_controller.rb
View file @
9ea9f55d
...
...
@@ -42,7 +42,6 @@ class Projects::IssuesController < Projects::ApplicationController
before_action
do
push_frontend_feature_flag
(
:tribute_autocomplete
,
@project
)
push_frontend_feature_flag
(
:vue_issuables_list
,
project
)
push_frontend_feature_flag
(
:usage_data_design_action
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:improved_emoji_picker
,
project
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:vue_issues_list
,
project
)
push_frontend_feature_flag
(
:iteration_cadences
,
project
&
.
group
,
default_enabled: :yaml
)
...
...
config/feature_flags/development/usage_data_design_action.yml
deleted
100644 → 0
View file @
a66582cb
---
name
:
usage_data_design_action
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46626
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/287630
milestone
:
'
13.7'
type
:
development
group
:
group::product planning
default_enabled
:
true
lib/gitlab/usage_data_counters/known_events/common.yml
View file @
9ea9f55d
...
...
@@ -67,7 +67,6 @@
-
name
:
design_action
category
:
source_code
aggregation
:
daily
feature_flag
:
usage_data_design_action
-
name
:
project_action
category
:
source_code
aggregation
:
daily
...
...
spec/frontend/design_management/pages/design/index_spec.js
View file @
9ea9f55d
...
...
@@ -390,28 +390,13 @@ describe('Design management design index page', () => {
);
});
describe
(
'
with usage_data_design_action enabled
'
,
()
=>
{
it
(
'
tracks design view service ping
'
,
()
=>
{
createComponent
(
{
loading
:
true
},
{
provide
:
{
glFeatures
:
{
usageDataDesignAction
:
true
},
},
},
);
expect
(
Api
.
trackRedisHllUserEvent
).
toHaveBeenCalledTimes
(
1
);
expect
(
Api
.
trackRedisHllUserEvent
).
toHaveBeenCalledWith
(
DESIGN_SERVICE_PING_EVENT_TYPES
.
DESIGN_ACTION
,
);
});
});
it
(
'
tracks design view service ping
'
,
()
=>
{
createComponent
({
loading
:
true
});
describe
(
'
with usage_data_design_action disabled
'
,
()
=>
{
it
(
"
doesn't track design view service ping
"
,
()
=>
{
createComponent
({
loading
:
true
});
expect
(
Api
.
trackRedisHllUserEvent
).
toHaveBeenCalledTimes
(
0
);
});
expect
(
Api
.
trackRedisHllUserEvent
).
toHaveBeenCalledTimes
(
1
);
expect
(
Api
.
trackRedisHllUserEvent
).
toHaveBeenCalledWith
(
DESIGN_SERVICE_PING_EVENT_TYPES
.
DESIGN_ACTION
,
);
});
});
});
...
...
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