Commit 2f875163 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'fc-remove-pipeline-editor-drawer-ff' into 'master'

Remove feature flag for pipeline editor drawer

See merge request gitlab-org/gitlab!72237
parents d6d11b6c 28f635ff
<script> <script>
import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import CommitSection from './components/commit/commit_section.vue'; import CommitSection from './components/commit/commit_section.vue';
import PipelineEditorDrawer from './components/drawer/pipeline_editor_drawer.vue'; import PipelineEditorDrawer from './components/drawer/pipeline_editor_drawer.vue';
import PipelineEditorFileNav from './components/file_nav/pipeline_editor_file_nav.vue'; import PipelineEditorFileNav from './components/file_nav/pipeline_editor_file_nav.vue';
...@@ -15,7 +14,6 @@ export default { ...@@ -15,7 +14,6 @@ export default {
PipelineEditorHeader, PipelineEditorHeader,
PipelineEditorTabs, PipelineEditorTabs,
}, },
mixins: [glFeatureFlagMixin()],
props: { props: {
ciConfigData: { ciConfigData: {
type: Object, type: Object,
...@@ -44,9 +42,6 @@ export default { ...@@ -44,9 +42,6 @@ export default {
showCommitForm() { showCommitForm() {
return TABS_WITH_COMMIT_FORM.includes(this.currentTab); return TABS_WITH_COMMIT_FORM.includes(this.currentTab);
}, },
showPipelineDrawer() {
return this.glFeatures.pipelineEditorDrawer;
},
}, },
methods: { methods: {
setCurrentTab(tabName) { setCurrentTab(tabName) {
...@@ -77,6 +72,6 @@ export default { ...@@ -77,6 +72,6 @@ export default {
:commit-sha="commitSha" :commit-sha="commitSha"
v-on="$listeners" v-on="$listeners"
/> />
<pipeline-editor-drawer v-if="showPipelineDrawer" /> <pipeline-editor-drawer />
</div> </div>
</template> </template>
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
class Projects::Ci::PipelineEditorController < Projects::ApplicationController class Projects::Ci::PipelineEditorController < Projects::ApplicationController
before_action :check_can_collaborate! before_action :check_can_collaborate!
before_action do before_action do
push_frontend_feature_flag(:pipeline_editor_drawer, @project, default_enabled: :yaml)
push_frontend_feature_flag(:pipeline_editor_mini_graph, @project, default_enabled: :yaml) push_frontend_feature_flag(:pipeline_editor_mini_graph, @project, default_enabled: :yaml)
push_frontend_feature_flag(:schema_linting, @project, default_enabled: :yaml) push_frontend_feature_flag(:schema_linting, @project, default_enabled: :yaml)
end end
......
---
name: pipeline_editor_drawer
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60856
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/329806
milestone: '13.12'
type: development
group: group::pipeline authoring
default_enabled: true
...@@ -25,7 +25,6 @@ describe('Pipeline editor home wrapper', () => { ...@@ -25,7 +25,6 @@ describe('Pipeline editor home wrapper', () => {
}, },
provide: { provide: {
glFeatures: { glFeatures: {
pipelineEditorDrawer: true,
...glFeatures, ...glFeatures,
}, },
}, },
...@@ -94,12 +93,4 @@ describe('Pipeline editor home wrapper', () => { ...@@ -94,12 +93,4 @@ describe('Pipeline editor home wrapper', () => {
expect(findCommitSection().exists()).toBe(true); expect(findCommitSection().exists()).toBe(true);
}); });
}); });
describe('Pipeline drawer', () => {
it('hides the drawer when the feature flag is off', () => {
createComponent({ glFeatures: { pipelineEditorDrawer: false } });
expect(findPipelineEditorDrawer().exists()).toBe(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