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
b27942c0
Commit
b27942c0
authored
Apr 05, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
adbfff09
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
51 deletions
+0
-51
app/assets/javascripts/environments/components/environment.js
...assets/javascripts/environments/components/environment.js
+0
-6
app/assets/javascripts/environments/components/environment_item.js
...s/javascripts/environments/components/environment_item.js
+0
-4
app/assets/javascripts/environments/components/environments_table.js
...javascripts/environments/components/environments_table.js
+0
-3
app/assets/javascripts/environments/stores/environments_store.js
...ets/javascripts/environments/stores/environments_store.js
+0
-7
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+0
-3
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+0
-5
spec/javascripts/environments/environment_spec.js
spec/javascripts/environments/environment_spec.js
+0
-5
spec/javascripts/environments/environments_store_spec.js
spec/javascripts/environments/environments_store_spec.js
+0
-18
No files found.
app/assets/javascripts/environments/components/environment.js
View file @
b27942c0
...
...
@@ -89,7 +89,6 @@ export default Vue.component('environment-component', {
},
methods
:
{
<<<<<<<
HEAD
/**
* Toggles the visibility of the deploy boards of the clicked environment.
...
...
@@ -101,8 +100,6 @@ export default Vue.component('environment-component', {
return
this
.
store
.
toggleDeployBoard
(
model
.
id
);
},
=======
>>>>>>>
ce
/
master
toggleFolder
(
folder
,
folderUrl
)
{
this
.
store
.
toggleFolder
(
folder
);
...
...
@@ -226,11 +223,8 @@ export default Vue.component('environment-component', {
:environments="state.environments"
:can-create-deployment="canCreateDeploymentParsed"
:can-read-environment="canReadEnvironmentParsed"
<<<<<<< HEAD
:toggleDeployBoard="toggleDeployBoard"
:store="store"
=======
>>>>>>> ce/master
:service="service"
:is-loading-folder-content="isLoadingFolderContent" />
</div>
...
...
app/assets/javascripts/environments/components/environment_item.js
View file @
b27942c0
...
...
@@ -465,12 +465,8 @@ export default {
:href="environmentPath">
{{model.name}}
</a>
<<<<<<< HEAD
<span v-if="model.isFolder"
=======
<span v-else
>>>>>>> ce/master
class="folder-name"
@click="onClickFolder"
role="button">
...
...
app/assets/javascripts/environments/components/environments_table.js
View file @
b27942c0
...
...
@@ -98,7 +98,6 @@ export default {
:toggleDeployBoard="toggleDeployBoard"
:service="service"></tr>
<<<<<<< HEAD
<tr v-if="model.hasDeployBoard && model.isDeployBoardVisible" class="js-deploy-board-row">
<td colspan="6" class="deploy-board-container">
<deploy-board
...
...
@@ -111,8 +110,6 @@ export default {
</td>
</tr>
=======
>>>>>>> ce/master
<template v-if="model.isFolder && model.isOpen && model.children && model.children.length > 0">
<tr v-if="isLoadingFolderContent">
<td colspan="6" class="text-center">
...
...
app/assets/javascripts/environments/stores/environments_store.js
View file @
b27942c0
...
...
@@ -121,7 +121,6 @@ export default class EnvironmentsStore {
}
/**
<<<<<<< HEAD
* Toggles deploy board visibility for the provided environment ID.
*
* @param {Object} environment
...
...
@@ -164,8 +163,6 @@ export default class EnvironmentsStore {
}
/*
=======
>>>>>>> ce/master
* Toggles folder open property for the given folder.
*
* @param {Object} folder
...
...
@@ -226,8 +223,4 @@ export default class EnvironmentsStore {
return
updatedEnvironments
;
}
<<<<<<<
HEAD
=======
>>>>>>>
ce
/
master
}
app/assets/javascripts/main.js
View file @
b27942c0
...
...
@@ -187,7 +187,6 @@ import './visibility_select';
import
'
./wikis
'
;
import
'
./zen_mode
'
;
<<<<<<<
HEAD
// EE-only scripts
require
(
'
./admin_email_select
'
);
require
(
'
./application_settings
'
);
...
...
@@ -196,8 +195,6 @@ require('./ldap_groups_select');
require
(
'
./path_locks
'
);
require
(
'
./weight_select
'
);
=======
>>>>>>>
ce
/
master
// eslint-disable-next-line global-require
if
(
process
.
env
.
NODE_ENV
!==
'
production
'
)
require
(
'
./test_utils/
'
);
...
...
app/assets/stylesheets/pages/boards.scss
View file @
b27942c0
...
...
@@ -101,13 +101,8 @@
@media
(
min-width
:
$screen-sm-min
)
{
height
:
475px
;
// Needed for PhantomJS
<<<<<<<
HEAD
height
:
calc
(
100vh
-
220px
);
min-height
:
409px
;
=======
height
:
calc
(
100vh
-
222px
);
min-height
:
475px
;
>>>>>>>
ce
/
master
transition
:
width
.2s
;
&
.is-compact
{
...
...
spec/javascripts/environments/environment_spec.js
View file @
b27942c0
...
...
@@ -279,14 +279,9 @@ describe('Environment', () => {
setTimeout
(()
=>
{
expect
(
component
.
$el
.
querySelectorAll
(
'
.js-child-row
'
).
length
).
toEqual
(
1
);
expect
(
component
.
$el
.
querySelector
(
'
td.text-center > a.btn
'
).
textContent
).
toContain
(
'
Show all
'
);
<<<<<<<
HEAD
done
();
Vue
.
http
.
interceptors
=
_
.
without
(
Vue
.
http
.
interceptors
,
folderInterceptor
);
=======
Vue
.
http
.
interceptors
=
_
.
without
(
Vue
.
http
.
interceptors
,
folderInterceptor
);
done
();
>>>>>>>
ce
/
master
});
});
});
...
...
spec/javascripts/environments/environments_store_spec.js
View file @
b27942c0
...
...
@@ -14,7 +14,6 @@ describe('Store', () => {
expect
(
store
.
state
.
availableCounter
).
toEqual
(
0
);
expect
(
store
.
state
.
paginationInformation
).
toEqual
({});
});
<<<<<<<
HEAD
it
(
'
should store environments
'
,
()
=>
{
const
expectedResult
=
{
...
...
@@ -39,13 +38,6 @@ describe('Store', () => {
store
.
storeEnvironments
(
serverData
);
expect
(
store
.
state
.
environments
.
length
).
toEqual
(
serverData
.
length
);
expect
(
store
.
state
.
environments
[
0
]).
toEqual
(
expectedResult
);
=======
it
(
'
should store environments
'
,
()
=>
{
store
.
storeEnvironments
(
serverData
);
expect
(
store
.
state
.
environments
.
length
).
toEqual
(
serverData
.
length
);
expect
(
store
.
state
.
environments
[
0
]).
toEqual
(
environmentsList
[
0
]);
>>>>>>>
ce
/
master
});
it
(
'
should store available count
'
,
()
=>
{
...
...
@@ -64,7 +56,6 @@ describe('Store', () => {
expect
(
store
.
state
.
environments
.
length
).
toEqual
(
serverData
.
length
);
});
<<<<<<<
HEAD
it
(
'
should store a non folder environment with deploy board if rollout_status_path key is provided
'
,
()
=>
{
const
environment
=
{
name
:
'
foo
'
,
...
...
@@ -79,8 +70,6 @@ describe('Store', () => {
expect
(
store
.
state
.
environments
[
0
].
deployBoardData
).
toEqual
({});
});
=======
>>>>>>>
ce
/
master
it
(
'
should add folder keys when environment is a folder
'
,
()
=>
{
const
environment
=
{
name
:
'
bar
'
,
...
...
@@ -111,11 +100,7 @@ describe('Store', () => {
it
(
'
should store latest.name when the environment is not a folder
'
,
()
=>
{
store
.
storeEnvironments
(
serverData
);
<<<<<<<
HEAD
expect
(
store
.
state
.
environments
[
2
].
name
).
toEqual
(
serverData
[
2
].
latest
.
name
);
=======
expect
(
store
.
state
.
environments
[
0
].
name
).
toEqual
(
serverData
[
0
].
latest
.
name
);
>>>>>>>
ce
/
master
});
it
(
'
should store root level name when environment is a folder
'
,
()
=>
{
...
...
@@ -171,7 +156,6 @@ describe('Store', () => {
expect
(
store
.
state
.
paginationInformation
).
toEqual
(
expectedResult
);
});
});
<<<<<<<
HEAD
describe
(
'
deploy boards
'
,
()
=>
{
beforeEach
(()
=>
{
...
...
@@ -194,6 +178,4 @@ describe('Store', () => {
expect
(
store
.
state
.
environments
[
0
].
deployBoardData
).
toEqual
(
deployBoardMockData
);
});
});
=======
>>>>>>>
ce
/
master
});
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