BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
58c27033
Unverified
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
actions.vue
...ets/javascripts/ide/components/commit_sidebar/actions.vue
+1
-1
list.vue
...assets/javascripts/ide/components/commit_sidebar/list.vue
+5
-2
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