Skip to content
代码片段 群组 项目
未验证 提交 836ce5f9 编辑于 作者: Peter Hegman's avatar Peter Hegman 提交者: GitLab
浏览文件

Introduce your_work_groups_vue feature flag

Will be used to migrate `Your work` -> `Groups` to shared
Vue components
上级 e4312d21
No related branches found
No related tags found
无相关合并请求
<script>
export default {
name: 'YourWorkGroupsApp',
};
</script>
<template>
<!-- eslint-disable-next-line @gitlab/vue-require-i18n-strings -->
<p>
Work in progress, see
<!-- eslint-disable-next-line @gitlab/vue-require-i18n-strings -->
<a href="https://gitlab.com/groups/gitlab-org/-/epics/13781">&13781</a>
</p>
</template>
import Vue from 'vue';
import YourWorkGroupsApp from './components/app.vue';
export const initYourWorkGroups = () => {
const el = document.getElementById('js-your-work-groups-app');
if (!el) return false;
return new Vue({
el,
name: 'YourWorkGroupsRoot',
render(createElement) {
return createElement(YourWorkGroupsApp);
},
});
};
- page_title _("Groups")
- if Feature.enabled?(:your_work_groups_vue, current_user)
-# Do nothing for now. To get around an issue with ff-inverse job
-# we can't introduce a FF and change the UI in the same MR.
-# But if we don't use the feature flag in the code then the
-# rspec:feature-flags job fails. This will be updated in a
-# future commit.
= render_dashboard_ultimate_trial(current_user)
%div{ data: { testid: 'groups-page' } }
- if current_user.groups.exists?
......
---
name: your_work_groups_vue
feature_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/502477
milestone: '17.10'
group: group::organizations
type: wip
default_enabled: false
......@@ -344,6 +344,10 @@
# we need the `cleanup_data_source_work_item_data` disabled by default to prevent deletion of some data
stub_feature_flags(cleanup_data_source_work_item_data: false)
# Since we are very early in the Vue migration, there isn't much value in testing when the feature flag is enabled
# Please see https://gitlab.com/gitlab-org/gitlab/-/issues/523493 for tracking revisiting this.
stub_feature_flags(your_work_groups_vue: false)
else
unstub_all_feature_flags
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册