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
10247d87
Commit
10247d87
authored
Oct 23, 2019
by
Martin Wortschack
Committed by
Filipa Lacerda
Oct 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Productivity Analytics: Use options for stateless data in filter dropdowns component
parent
adae8ca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ee/app/assets/javascripts/analytics/productivity_analytics/components/filter_dropdowns.vue
...cs/productivity_analytics/components/filter_dropdowns.vue
+10
-10
No files found.
ee/app/assets/javascripts/analytics/productivity_analytics/components/filter_dropdowns.vue
View file @
10247d87
...
@@ -12,14 +12,6 @@ export default {
...
@@ -12,14 +12,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
groupId
:
null
,
groupId
:
null
,
groupsQueryParams
:
{
min_access_level
:
accessLevelReporter
,
},
projectsQueryParams
:
{
per_page
:
projectsPerPage
,
with_shared
:
false
,
// exclude forks
order_by
:
'
last_activity_at
'
,
},
};
};
},
},
computed
:
{
computed
:
{
...
@@ -53,6 +45,14 @@ export default {
...
@@ -53,6 +45,14 @@ export default {
});
});
},
},
},
},
groupsQueryParams
:
{
min_access_level
:
accessLevelReporter
,
},
projectsQueryParams
:
{
per_page
:
projectsPerPage
,
with_shared
:
false
,
// exclude forks
order_by
:
'
last_activity_at
'
,
},
};
};
</
script
>
</
script
>
...
@@ -60,14 +60,14 @@ export default {
...
@@ -60,14 +60,14 @@ export default {
<div
class=
"dropdown-container d-flex flex-column flex-lg-row"
>
<div
class=
"dropdown-container d-flex flex-column flex-lg-row"
>
<groups-dropdown-filter
<groups-dropdown-filter
class=
"group-select"
class=
"group-select"
:query-params=
"groupsQueryParams"
:query-params=
"
$options.
groupsQueryParams"
@
selected=
"onGroupSelected"
@
selected=
"onGroupSelected"
/>
/>
<projects-dropdown-filter
<projects-dropdown-filter
v-if=
"showProjectsDropdownFilter"
v-if=
"showProjectsDropdownFilter"
:key=
"groupId"
:key=
"groupId"
class=
"project-select"
class=
"project-select"
:query-params=
"projectsQueryParams"
:query-params=
"
$options.
projectsQueryParams"
:group-id=
"groupId"
:group-id=
"groupId"
@
selected=
"onProjectsSelected"
@
selected=
"onProjectsSelected"
/>
/>
...
...
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