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
03d8e2bd
Commit
03d8e2bd
authored
Jun 03, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
f86803a1
98e1f7d5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
4 deletions
+24
-4
app/assets/javascripts/boards/components/board_list.vue
app/assets/javascripts/boards/components/board_list.vue
+4
-2
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+5
-0
doc/user/project/import/gitlab_com.md
doc/user/project/import/gitlab_com.md
+3
-2
spec/javascripts/boards/boards_store_spec.js
spec/javascripts/boards/boards_store_spec.js
+12
-0
No files found.
app/assets/javascripts/boards/components/board_list.vue
View file @
03d8e2bd
...
...
@@ -142,8 +142,10 @@ export default {
const
card
=
this
.
$refs
.
issue
[
e
.
oldIndex
];
card
.
showDetail
=
false
;
boardsStore
.
moving
.
list
=
card
.
list
;
boardsStore
.
moving
.
issue
=
boardsStore
.
moving
.
list
.
findIssue
(
+
e
.
item
.
dataset
.
issueId
);
const
{
list
}
=
card
;
const
issue
=
list
.
findIssue
(
Number
(
e
.
item
.
dataset
.
issueId
));
boardsStore
.
startMoving
(
list
,
issue
);
sortableStart
();
},
...
...
app/assets/javascripts/boards/stores/boards_store.js
View file @
03d8e2bd
...
...
@@ -109,6 +109,11 @@ const boardsStore = {
});
listFrom
.
update
();
},
startMoving
(
list
,
issue
)
{
Object
.
assign
(
this
.
moving
,
{
list
,
issue
});
},
moveIssueToList
(
listFrom
,
listTo
,
issue
,
newIndex
)
{
const
issueTo
=
listTo
.
findIssue
(
issue
.
id
);
const
issueLists
=
issue
.
getLists
();
...
...
doc/user/project/import/gitlab_com.md
View file @
03d8e2bd
# Project importing from GitLab.com to your private GitLab instance
You can import your existing GitLab.com projects to your GitLab instance. But keep in mind that it is possible only if
GitLab support is enabled on your GitLab instance.
You can read more about GitLab support
[
here
](
http://docs.gitlab.com/ce/integration/gitlab.html
)
GitLab.com integration is enabled on your GitLab instance.
[
Read more about GitLab.com integration for self-managed GitLab instances
](
../../../integration/gitlab.md
)
.
To get to the importer page you need to go to "New project" page.
>**Note:**
...
...
spec/javascripts/boards/boards_store_spec.js
View file @
03d8e2bd
...
...
@@ -287,4 +287,16 @@ describe('Store', () => {
expect
(
boardsStore
.
detail
.
issue
).
toEqual
({});
});
});
describe
(
'
startMoving
'
,
()
=>
{
it
(
'
stores list and issue
'
,
()
=>
{
const
dummyIssue
=
'
some issue
'
;
const
dummyList
=
'
some list
'
;
boardsStore
.
startMoving
(
dummyList
,
dummyIssue
);
expect
(
boardsStore
.
moving
.
issue
).
toEqual
(
dummyIssue
);
expect
(
boardsStore
.
moving
.
list
).
toEqual
(
dummyList
);
});
});
});
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