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
4bab999d
Commit
4bab999d
authored
Nov 25, 2019
by
Marvin Karegyeya
Committed by
Martin Wortschack
Nov 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove all refrences to boardService in index.js
parent
bc50a970
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
app/assets/javascripts/boards/index.js
app/assets/javascripts/boards/index.js
+5
-5
changelogs/unreleased/Upate-boards-index-js-to-use-boardsStore.yml
...s/unreleased/Upate-boards-index-js-to-use-boardsStore.yml
+5
-0
No files found.
app/assets/javascripts/boards/index.js
View file @
4bab999d
...
@@ -16,7 +16,6 @@ import '~/boards/models/project';
...
@@ -16,7 +16,6 @@ import '~/boards/models/project';
import
store
from
'
~/boards/stores
'
;
import
store
from
'
~/boards/stores
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
ModalStore
from
'
~/boards/stores/modal_store
'
;
import
ModalStore
from
'
~/boards/stores/modal_store
'
;
import
BoardService
from
'
ee_else_ce/boards/services/board_service
'
;
import
modalMixin
from
'
~/boards/mixins/modal_mixins
'
;
import
modalMixin
from
'
~/boards/mixins/modal_mixins
'
;
import
'
~/boards/filters/due_date_filters
'
;
import
'
~/boards/filters/due_date_filters
'
;
import
Board
from
'
ee_else_ce/boards/components/board
'
;
import
Board
from
'
ee_else_ce/boards/components/board
'
;
...
@@ -97,7 +96,6 @@ export default () => {
...
@@ -97,7 +96,6 @@ export default () => {
bulkUpdatePath
:
this
.
bulkUpdatePath
,
bulkUpdatePath
:
this
.
bulkUpdatePath
,
boardId
:
this
.
boardId
,
boardId
:
this
.
boardId
,
});
});
gl
.
boardService
=
new
BoardService
();
boardsStore
.
rootPath
=
this
.
boardsEndpoint
;
boardsStore
.
rootPath
=
this
.
boardsEndpoint
;
eventHub
.
$on
(
'
updateTokens
'
,
this
.
updateTokens
);
eventHub
.
$on
(
'
updateTokens
'
,
this
.
updateTokens
);
...
@@ -116,7 +114,7 @@ export default () => {
...
@@ -116,7 +114,7 @@ export default () => {
this
.
filterManager
.
setup
();
this
.
filterManager
.
setup
();
boardsStore
.
disabled
=
this
.
disabled
;
boardsStore
.
disabled
=
this
.
disabled
;
gl
.
boardServic
e
boardsStor
e
.
all
()
.
all
()
.
then
(
res
=>
res
.
data
)
.
then
(
res
=>
res
.
data
)
.
then
(
lists
=>
{
.
then
(
lists
=>
{
...
@@ -155,7 +153,8 @@ export default () => {
...
@@ -155,7 +153,8 @@ export default () => {
newIssue
.
setFetchingState
(
'
subscriptions
'
,
true
);
newIssue
.
setFetchingState
(
'
subscriptions
'
,
true
);
setWeigthFetchingState
(
newIssue
,
true
);
setWeigthFetchingState
(
newIssue
,
true
);
setEpicFetchingState
(
newIssue
,
true
);
setEpicFetchingState
(
newIssue
,
true
);
BoardService
.
getIssueInfo
(
sidebarInfoEndpoint
)
boardsStore
.
getIssueInfo
(
sidebarInfoEndpoint
)
.
then
(
res
=>
res
.
data
)
.
then
(
res
=>
res
.
data
)
.
then
(
data
=>
{
.
then
(
data
=>
{
const
{
const
{
...
@@ -211,7 +210,8 @@ export default () => {
...
@@ -211,7 +210,8 @@ export default () => {
const
{
issue
}
=
boardsStore
.
detail
;
const
{
issue
}
=
boardsStore
.
detail
;
if
(
issue
.
id
===
id
&&
issue
.
toggleSubscriptionEndpoint
)
{
if
(
issue
.
id
===
id
&&
issue
.
toggleSubscriptionEndpoint
)
{
issue
.
setFetchingState
(
'
subscriptions
'
,
true
);
issue
.
setFetchingState
(
'
subscriptions
'
,
true
);
BoardService
.
toggleIssueSubscription
(
issue
.
toggleSubscriptionEndpoint
)
boardsStore
.
toggleIssueSubscription
(
issue
.
toggleSubscriptionEndpoint
)
.
then
(()
=>
{
.
then
(()
=>
{
issue
.
setFetchingState
(
'
subscriptions
'
,
false
);
issue
.
setFetchingState
(
'
subscriptions
'
,
false
);
issue
.
updateData
({
issue
.
updateData
({
...
...
changelogs/unreleased/Upate-boards-index-js-to-use-boardsStore.yml
0 → 100644
View file @
4bab999d
---
title
:
Removed all references of BoardService
merge_request
:
20144
author
:
nuwe1
type
:
other
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