Commit 019785a9 authored by Simon Knox's avatar Simon Knox

Merge branch '334807-view-a-feature-detail-page' into 'master'

Scaffold FE structure for work items

See merge request gitlab-org/gitlab!69085
parents 4cb31820 69eb42be
import { initWorkItemsRoot } from '~/work_items/index';
initWorkItemsRoot();
<script>
export default {
name: 'WorkItemRoot',
};
</script>
<template>
<div></div>
</template>
import Vue from 'vue';
import App from './components/app.vue';
export const initWorkItemsRoot = () => {
const el = document.querySelector('#js-work-items');
return new Vue({
el,
render(createElement) {
return createElement(App);
},
});
};
# frozen_string_literal: true
class Projects::WorkItemsController < Projects::ApplicationController
before_action do
push_frontend_feature_flag(:work_items, project, default_enabled: :yaml)
end
feature_category :not_owned
def index
end
end
- page_title s_('WorkItem|Work Items')
#js-work-items
---
name: work_items
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69085
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/339664
milestone: '14.3'
type: development
group: group::project management
default_enabled: false
......@@ -354,6 +354,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get 'details', on: :member
end
resources :work_items, only: [:index]
resource :tracing, only: [:show]
post 'incidents/integrations/pagerduty', to: 'incident_management/pager_duty_incidents#create'
......@@ -601,7 +603,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
:vulnerability_feedback, :security, :dependencies, :issues,
:pipelines, :pipeline_schedules, :runners, :snippets)
end
# rubocop: disable Cop/PutProjectRoutesUnderScope
resources(:projects,
path: '/',
......
......@@ -38054,6 +38054,9 @@ msgstr ""
msgid "Work in progress Limit"
msgstr ""
msgid "WorkItem|Work Items"
msgstr ""
msgid "Would you like to create a new branch?"
msgstr ""
......
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