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
16f9857b
Commit
16f9857b
authored
Nov 26, 2020
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove boards_with_swimlanes feature flag
Review feedback
parent
7a7dd923
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
12 deletions
+7
-12
app/assets/javascripts/boards/components/modal/filters.js
app/assets/javascripts/boards/components/modal/filters.js
+2
-1
app/assets/javascripts/boards/filtered_search_boards.js
app/assets/javascripts/boards/filtered_search_boards.js
+1
-1
app/assets/javascripts/boards/index.js
app/assets/javascripts/boards/index.js
+2
-2
app/assets/javascripts/boards/stores/getters.js
app/assets/javascripts/boards/stores/getters.js
+1
-3
ee/app/assets/javascripts/boards/stores/getters.js
ee/app/assets/javascripts/boards/stores/getters.js
+1
-5
No files found.
app/assets/javascripts/boards/components/modal/filters.js
View file @
16f9857b
import
FilteredSearchBoards
from
'
../../filtered_search_boards
'
;
import
FilteredSearchContainer
from
'
../../../filtered_search/container
'
;
import
vuexstore
from
'
~/boards/stores
'
;
export
default
{
name
:
'
modal-filters
'
,
...
...
@@ -12,7 +13,7 @@ export default {
mounted
()
{
FilteredSearchContainer
.
container
=
this
.
$el
;
this
.
filteredSearch
=
new
FilteredSearchBoards
(
this
.
store
);
this
.
filteredSearch
=
new
FilteredSearchBoards
(
this
.
store
,
vuexstore
);
this
.
filteredSearch
.
setup
();
this
.
filteredSearch
.
removeTokens
();
this
.
filteredSearch
.
handleInputPlaceholder
();
...
...
app/assets/javascripts/boards/filtered_search_boards.js
View file @
16f9857b
...
...
@@ -4,7 +4,7 @@ import FilteredSearchContainer from '../filtered_search/container';
import
boardsStore
from
'
./stores/boards_store
'
;
export
default
class
FilteredSearchBoards
extends
FilteredSearchManager
{
constructor
(
store
,
updateUrl
=
false
,
cantEdit
=
[],
vuexstore
=
{}
)
{
constructor
(
store
,
vuexstore
,
updateUrl
=
false
,
cantEdit
=
[]
)
{
super
({
page
:
'
boards
'
,
isGroupDecendent
:
true
,
...
...
app/assets/javascripts/boards/index.js
View file @
16f9857b
...
...
@@ -154,9 +154,9 @@ export default () => {
mounted
()
{
this
.
filterManager
=
new
FilteredSearchBoards
(
boardsStore
.
filter
,
store
,
true
,
boardsStore
.
cantEdit
,
store
,
);
this
.
filterManager
.
setup
();
...
...
@@ -200,7 +200,7 @@ export default () => {
this
.
resetEpics
();
this
.
resetIssues
();
this
.
fetchEpicsSwimlanes
({});
}
else
if
(
gon
.
features
.
graphqlBoardLists
&&
!
this
.
isSwimlanesOn
)
{
}
else
if
(
gon
.
features
.
graphqlBoardLists
)
{
this
.
fetchLists
();
this
.
resetIssues
();
}
...
...
app/assets/javascripts/boards/stores/getters.js
View file @
16f9857b
...
...
@@ -4,9 +4,7 @@ import { inactiveId } from '../constants';
export
default
{
labelToggleState
:
state
=>
(
state
.
isShowingLabels
?
'
on
'
:
'
off
'
),
isSidebarOpen
:
state
=>
state
.
activeId
!==
inactiveId
,
isSwimlanesOn
:
()
=>
{
return
false
;
},
isSwimlanesOn
:
()
=>
false
,
getIssueById
:
state
=>
id
=>
{
return
state
.
issues
[
id
]
||
{};
},
...
...
ee/app/assets/javascripts/boards/stores/getters.js
View file @
16f9857b
...
...
@@ -4,11 +4,7 @@ export default {
...
gettersCE
,
isSwimlanesOn
:
state
=>
{
if
(
!
gon
?.
features
?.
swimlanes
)
{
return
false
;
}
return
state
.
isShowingEpicsSwimlanes
;
return
Boolean
(
gon
?.
features
?.
swimlanes
&&
state
.
isShowingEpicsSwimlanes
);
},
getIssuesByEpic
:
(
state
,
getters
)
=>
(
listId
,
epicId
)
=>
{
return
getters
.
getIssuesByList
(
listId
).
filter
(
issue
=>
issue
.
epic
&&
issue
.
epic
.
id
===
epicId
);
...
...
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