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
69eb42be
Commit
69eb42be
authored
Sep 08, 2021
by
Natalia Tepluhina
Committed by
Simon Knox
Sep 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scaffold FE structure for work items
parent
6aa9273e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
1 deletion
+53
-1
app/assets/javascripts/pages/projects/work_items/index/index.js
...sets/javascripts/pages/projects/work_items/index/index.js
+3
-0
app/assets/javascripts/work_items/components/app.vue
app/assets/javascripts/work_items/components/app.vue
+9
-0
app/assets/javascripts/work_items/graphql/typedefs.graphql
app/assets/javascripts/work_items/graphql/typedefs.graphql
+0
-0
app/assets/javascripts/work_items/index.js
app/assets/javascripts/work_items/index.js
+13
-0
app/controllers/projects/work_items_controller.rb
app/controllers/projects/work_items_controller.rb
+12
-0
app/views/projects/work_items/index.html.haml
app/views/projects/work_items/index.html.haml
+3
-0
config/feature_flags/development/work_items.yml
config/feature_flags/development/work_items.yml
+8
-0
config/routes/project.rb
config/routes/project.rb
+2
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/assets/javascripts/pages/projects/work_items/index/index.js
0 → 100644
View file @
69eb42be
import
{
initWorkItemsRoot
}
from
'
~/work_items/index
'
;
initWorkItemsRoot
();
app/assets/javascripts/work_items/components/app.vue
0 → 100644
View file @
69eb42be
<
script
>
export
default
{
name
:
'
WorkItemRoot
'
,
};
</
script
>
<
template
>
<div></div>
</
template
>
app/assets/javascripts/work_items/graphql/typedefs.graphql
0 → 100644
View file @
69eb42be
app/assets/javascripts/work_items/index.js
0 → 100644
View file @
69eb42be
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
);
},
});
};
app/controllers/projects/work_items_controller.rb
0 → 100644
View file @
69eb42be
# 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
app/views/projects/work_items/index.html.haml
0 → 100644
View file @
69eb42be
-
page_title
s_
(
'WorkItem|Work Items'
)
#js-work-items
config/feature_flags/development/work_items.yml
0 → 100644
View file @
69eb42be
---
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
config/routes/project.rb
View file @
69eb42be
...
@@ -354,6 +354,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
...
@@ -354,6 +354,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get
'details'
,
on: :member
get
'details'
,
on: :member
end
end
resources
:work_items
,
only:
[
:index
]
resource
:tracing
,
only:
[
:show
]
resource
:tracing
,
only:
[
:show
]
post
'incidents/integrations/pagerduty'
,
to:
'incident_management/pager_duty_incidents#create'
post
'incidents/integrations/pagerduty'
,
to:
'incident_management/pager_duty_incidents#create'
...
@@ -601,7 +603,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
...
@@ -601,7 +603,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
:vulnerability_feedback
,
:security
,
:dependencies
,
:issues
,
:vulnerability_feedback
,
:security
,
:dependencies
,
:issues
,
:pipelines
,
:pipeline_schedules
,
:runners
,
:snippets
)
:pipelines
,
:pipeline_schedules
,
:runners
,
:snippets
)
end
end
# rubocop: disable Cop/PutProjectRoutesUnderScope
# rubocop: disable Cop/PutProjectRoutesUnderScope
resources
(
:projects
,
resources
(
:projects
,
path:
'/'
,
path:
'/'
,
...
...
locale/gitlab.pot
View file @
69eb42be
...
@@ -38033,6 +38033,9 @@ msgstr ""
...
@@ -38033,6 +38033,9 @@ msgstr ""
msgid "Work in progress Limit"
msgid "Work in progress Limit"
msgstr ""
msgstr ""
msgid "WorkItem|Work Items"
msgstr ""
msgid "Would you like to create a new branch?"
msgid "Would you like to create a new branch?"
msgstr ""
msgstr ""
...
...
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