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
2545e47d
Commit
2545e47d
authored
Jun 16, 2021
by
Scott Stern
Committed by
Simon Knox
Jun 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move project_board_assignees.query to FOSS
parent
43694751
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/javascripts/boards/graphql/group_board_members.query.graphql
...ascripts/boards/graphql/group_board_members.query.graphql
+1
-1
app/assets/javascripts/boards/graphql/project_board_members.query.graphql
...cripts/boards/graphql/project_board_members.query.graphql
+1
-1
ee/app/assets/javascripts/boards/stores/actions.js
ee/app/assets/javascripts/boards/stores/actions.js
+4
-4
No files found.
ee/app/assets/javascripts/boards/graphql/group_board_assignee
s.query.graphql
→
app/assets/javascripts/boards/graphql/group_board_member
s.query.graphql
View file @
2545e47d
#import "~/graphql_shared/fragments/user.fragment.graphql"
query
GroupBoard
Assignee
s
(
$fullPath
:
ID
!,
$search
:
String
)
{
query
GroupBoard
Member
s
(
$fullPath
:
ID
!,
$search
:
String
)
{
workspace
:
group
(
fullPath
:
$fullPath
)
{
__typename
assignees
:
groupMembers
(
search
:
$search
)
{
...
...
ee/app/assets/javascripts/boards/graphql/project_board_assignee
s.query.graphql
→
app/assets/javascripts/boards/graphql/project_board_member
s.query.graphql
View file @
2545e47d
#import "~/graphql_shared/fragments/user.fragment.graphql"
query
ProjectBoard
Assignee
s
(
$fullPath
:
ID
!,
$search
:
String
)
{
query
ProjectBoard
Member
s
(
$fullPath
:
ID
!,
$search
:
String
)
{
workspace
:
project
(
fullPath
:
$fullPath
)
{
__typename
assignees
:
projectMembers
(
search
:
$search
)
{
...
...
ee/app/assets/javascripts/boards/stores/actions.js
View file @
2545e47d
...
...
@@ -7,7 +7,9 @@ import {
}
from
'
~/boards/boards_util
'
;
import
{
BoardType
}
from
'
~/boards/constants
'
;
import
eventHub
from
'
~/boards/eventhub
'
;
import
groupBoardMembersQuery
from
'
~/boards/graphql/group_board_members.query.graphql
'
;
import
listsIssuesQuery
from
'
~/boards/graphql/lists_issues.query.graphql
'
;
import
projectBoardMembersQuery
from
'
~/boards/graphql/project_board_members.query.graphql
'
;
import
actionsCE
,
{
gqlClient
}
from
'
~/boards/stores/actions
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
*
as
typesCE
from
'
~/boards/stores/mutation_types
'
;
...
...
@@ -30,13 +32,11 @@ import { EpicFilterType, GroupByParamType, FilterFields } from '../constants';
import
createEpicBoardListMutation
from
'
../graphql/epic_board_list_create.mutation.graphql
'
;
import
epicMoveListMutation
from
'
../graphql/epic_move_list.mutation.graphql
'
;
import
epicsSwimlanesQuery
from
'
../graphql/epics_swimlanes.query.graphql
'
;
import
groupBoardAssigneesQuery
from
'
../graphql/group_board_assignees.query.graphql
'
;
import
groupBoardIterationsQuery
from
'
../graphql/group_board_iterations.query.graphql
'
;
import
groupBoardMilestonesQuery
from
'
../graphql/group_board_milestones.query.graphql
'
;
import
issueSetWeightMutation
from
'
../graphql/issue_set_weight.mutation.graphql
'
;
import
listUpdateLimitMetricsMutation
from
'
../graphql/list_update_limit_metrics.mutation.graphql
'
;
import
listsEpicsQuery
from
'
../graphql/lists_epics.query.graphql
'
;
import
projectBoardAssigneesQuery
from
'
../graphql/project_board_assignees.query.graphql
'
;
import
projectBoardIterationsQuery
from
'
../graphql/project_board_iterations.query.graphql
'
;
import
projectBoardMilestonesQuery
from
'
../graphql/project_board_milestones.query.graphql
'
;
import
updateBoardEpicUserPreferencesMutation
from
'
../graphql/update_board_epic_user_preferences.mutation.graphql
'
;
...
...
@@ -522,10 +522,10 @@ export default {
let
query
;
if
(
boardType
===
BoardType
.
project
)
{
query
=
projectBoard
Assignee
sQuery
;
query
=
projectBoard
Member
sQuery
;
}
if
(
boardType
===
BoardType
.
group
)
{
query
=
groupBoard
Assignee
sQuery
;
query
=
groupBoard
Member
sQuery
;
}
if
(
!
query
)
{
...
...
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