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
06d60068
Commit
06d60068
authored
Nov 10, 2021
by
Simon Knox
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'board-scope-follow-up' into 'master'
Board scope follow up See merge request gitlab-org/gitlab!74041
parents
7e64b97a
f88be03c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
app/assets/javascripts/boards/components/boards_selector.vue
app/assets/javascripts/boards/components/boards_selector.vue
+1
-2
app/assets/javascripts/boards/mount_multiple_boards_switcher.js
...sets/javascripts/boards/mount_multiple_boards_switcher.js
+14
-1
No files found.
app/assets/javascripts/boards/components/boards_selector.vue
View file @
06d60068
...
@@ -268,12 +268,11 @@ export default {
...
@@ -268,12 +268,11 @@ export default {
<
template
>
<
template
>
<div
class=
"boards-switcher js-boards-selector gl-mr-3"
>
<div
class=
"boards-switcher js-boards-selector gl-mr-3"
>
<span
class=
"boards-selector-wrapper js-boards-selector-wrapper"
>
<span
class=
"boards-selector-wrapper js-boards-selector-wrapper"
>
<gl-loading-icon
v-if=
"isBoardLoading"
size=
"md"
class=
"gl-mt-2"
/>
<gl-dropdown
<gl-dropdown
v-else
data-qa-selector=
"boards_dropdown"
data-qa-selector=
"boards_dropdown"
toggle-class=
"dropdown-menu-toggle js-dropdown-toggle"
toggle-class=
"dropdown-menu-toggle js-dropdown-toggle"
menu-class=
"flex-column dropdown-extended-height"
menu-class=
"flex-column dropdown-extended-height"
:loading=
"isBoardLoading"
:text=
"board.name"
:text=
"board.name"
@
show=
"loadBoards"
@
show=
"loadBoards"
>
>
...
...
app/assets/javascripts/boards/mount_multiple_boards_switcher.js
View file @
06d60068
import
{
IntrospectionFragmentMatcher
}
from
'
apollo-cache-inmemory
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
VueApollo
from
'
vue-apollo
'
;
import
VueApollo
from
'
vue-apollo
'
;
import
BoardsSelector
from
'
ee_else_ce/boards/components/boards_selector.vue
'
;
import
BoardsSelector
from
'
ee_else_ce/boards/components/boards_selector.vue
'
;
import
store
from
'
~/boards/stores
'
;
import
store
from
'
~/boards/stores
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
{
parseBoolean
}
from
'
~/lib/utils/common_utils
'
;
import
{
parseBoolean
}
from
'
~/lib/utils/common_utils
'
;
import
introspectionQueryResultData
from
'
~/sidebar/fragmentTypes.json
'
;
Vue
.
use
(
VueApollo
);
Vue
.
use
(
VueApollo
);
const
fragmentMatcher
=
new
IntrospectionFragmentMatcher
({
introspectionQueryResultData
,
});
const
apolloProvider
=
new
VueApollo
({
const
apolloProvider
=
new
VueApollo
({
defaultClient
:
createDefaultClient
(),
defaultClient
:
createDefaultClient
(
{},
{
cacheConfig
:
{
fragmentMatcher
,
},
},
),
});
});
export
default
(
params
=
{})
=>
{
export
default
(
params
=
{})
=>
{
...
...
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