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
58c27033
Commit
58c27033
authored
May 03, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed incorrect computed prop being used
reduced duplicated CSS
parent
0917b1d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
app/assets/javascripts/ide/components/commit_sidebar/actions.vue
...ets/javascripts/ide/components/commit_sidebar/actions.vue
+1
-1
app/assets/javascripts/ide/components/commit_sidebar/list.vue
...assets/javascripts/ide/components/commit_sidebar/list.vue
+5
-2
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+4
-10
No files found.
app/assets/javascripts/ide/components/commit_sidebar/actions.vue
View file @
58c27033
...
@@ -45,7 +45,7 @@ export default {
...
@@ -45,7 +45,7 @@ export default {
:value=
"$options.commitToNewBranchMR"
:value=
"$options.commitToNewBranchMR"
:label=
"__('Create a new branch and merge request')"
:label=
"__('Create a new branch and merge request')"
:show-input=
"true"
:show-input=
"true"
:disabled=
"!!changedFiles.length && !!
chan
gedFiles.length"
:disabled=
"!!changedFiles.length && !!
sta
gedFiles.length"
/>
/>
</div>
</div>
</
template
>
</
template
>
app/assets/javascripts/ide/components/commit_sidebar/list.vue
View file @
58c27033
...
@@ -61,6 +61,9 @@ export default {
...
@@ -61,6 +61,9 @@ export default {
actionBtnClicked
()
{
actionBtnClicked
()
{
this
[
this
.
action
]();
this
[
this
.
action
]();
},
},
setShowActionButton
(
show
)
{
this
.
showActionButton
=
show
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -83,14 +86,14 @@ export default {
...
@@ -83,14 +86,14 @@ export default {
{{
titleText
}}
{{
titleText
}}
<span
<span
v-show=
"!showActionButton"
v-show=
"!showActionButton"
@
mouseenter=
"s
howActionButton = true
"
@
mouseenter=
"s
etShowActionButton(true)
"
class=
"ide-commit-file-count"
class=
"ide-commit-file-count"
>
>
{{
fileList
.
length
}}
{{
fileList
.
length
}}
</span>
</span>
<button
<button
v-show=
"showActionButton"
v-show=
"showActionButton"
@
mouseleave=
"s
howActionButton = false
"
@
mouseleave=
"s
etShowActionButton(false)
"
type=
"button"
type=
"button"
class=
"btn btn-blank btn-link ide-staged-action-btn"
class=
"btn btn-blank btn-link ide-staged-action-btn"
@
click=
"actionBtnClicked"
@
click=
"actionBtnClicked"
...
...
app/assets/stylesheets/pages/repo.scss
View file @
58c27033
...
@@ -986,11 +986,13 @@
...
@@ -986,11 +986,13 @@
transition
:
all
0
.3s
ease
;
transition
:
all
0
.3s
ease
;
}
}
.is-full
.commit-form-slide-up-enter
{
.is-full
.commit-form-slide-up-enter
,
.is-compact
.commit-form-slide-up-leave-to
{
transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
);
}
}
.is-full
.commit-form-slide-up-enter-to
{
.is-full
.commit-form-slide-up-enter-to
,
.is-compact
.commit-form-slide-up-leave
{
transform
:
translateY
(
0
);
transform
:
translateY
(
0
);
}
}
...
@@ -999,14 +1001,6 @@
...
@@ -999,14 +1001,6 @@
opacity
:
0
;
opacity
:
0
;
}
}
.is-compact
.commit-form-slide-up-leave
{
transform
:
translateY
(
0
);
}
.is-compact
.commit-form-slide-up-leave-to
{
transform
:
translateY
(
100%
);
}
.ide-review-header
{
.ide-review-header
{
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
flex-start
;
align-items
:
flex-start
;
...
...
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