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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
ca3f7cf0
Commit
ca3f7cf0
authored
Apr 19, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added line height to label in modal
fixed spec because of object key change
parent
8e0d073b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
app/assets/javascripts/ide/components/new_dropdown/modal.vue
app/assets/javascripts/ide/components/new_dropdown/modal.vue
+1
-1
app/assets/javascripts/ide/stores/actions.js
app/assets/javascripts/ide/stores/actions.js
+1
-1
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+4
-0
spec/javascripts/ide/stores/actions_spec.js
spec/javascripts/ide/stores/actions_spec.js
+3
-3
No files found.
app/assets/javascripts/ide/components/new_dropdown/modal.vue
View file @
ca3f7cf0
...
...
@@ -75,7 +75,7 @@ export default {
@
submit.prevent=
"createEntryInStore"
>
<fieldset
class=
"form-group append-bottom-0"
>
<label
class=
"label-light col-sm-3"
>
<label
class=
"label-light col-sm-3
ide-new-modal-label
"
>
{{
__
(
'
Name
'
)
}}
</label>
<div
class=
"col-sm-9"
>
...
...
app/assets/javascripts/ide/stores/actions.js
View file @
ca3f7cf0
...
...
@@ -142,7 +142,7 @@ export const updateTempFlagForEntry = ({ commit, dispatch, state }, { file, temp
commit
(
types
.
UPDATE_TEMP_FLAG
,
{
path
:
file
.
path
,
tempFile
});
if
(
file
.
parentPath
)
{
dispatch
(
'
updateTempFlagForEntry
'
,
{
entry
:
state
.
entries
[
file
.
parentPath
],
tempFile
});
dispatch
(
'
updateTempFlagForEntry
'
,
{
file
:
state
.
entries
[
file
.
parentPath
],
tempFile
});
}
};
...
...
app/assets/stylesheets/pages/repo.scss
View file @
ca3f7cf0
...
...
@@ -950,3 +950,7 @@
background
:
transparent
;
resize
:
none
;
}
.ide-new-modal-label
{
line-height
:
34px
;
}
spec/javascripts/ide/stores/actions_spec.js
View file @
ca3f7cf0
...
...
@@ -352,7 +352,7 @@ describe('Multi-file store actions', () => {
testAction
(
actions
.
updateTempFlagForEntry
,
{
entry
:
f
,
tempFile
:
false
},
{
file
:
f
,
tempFile
:
false
},
store
.
state
,
[{
type
:
'
UPDATE_TEMP_FLAG
'
,
payload
:
{
path
:
f
.
path
,
tempFile
:
false
}
}],
[],
...
...
@@ -375,10 +375,10 @@ describe('Multi-file store actions', () => {
testAction
(
actions
.
updateTempFlagForEntry
,
{
entry
:
f
,
tempFile
:
false
},
{
file
:
f
,
tempFile
:
false
},
store
.
state
,
[{
type
:
'
UPDATE_TEMP_FLAG
'
,
payload
:
{
path
:
f
.
path
,
tempFile
:
false
}
}],
[{
type
:
'
updateTempFlagForEntry
'
,
payload
:
{
entry
:
parent
,
tempFile
:
false
}
}],
[{
type
:
'
updateTempFlagForEntry
'
,
payload
:
{
file
:
parent
,
tempFile
:
false
}
}],
done
,
);
});
...
...
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