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
fa8d70a9
Unverified
Commit
fa8d70a9
authored
May 03, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed specs
fixed review mode not being editable
parent
9b8332d3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
+3
-8
success_message.vue
...scripts/ide/components/commit_sidebar/success_message.vue
+1
-7
repo_commit_section.vue
...assets/javascripts/ide/components/repo_commit_section.vue
+0
-1
repo_editor.vue
app/assets/javascripts/ide/components/repo_editor.vue
+1
-0
getters.js
app/assets/javascripts/ide/stores/getters.js
+1
-0
No files found.
app/assets/javascripts/ide/components/commit_sidebar/success_message.vue
View file @
fa8d70a9
...
...
@@ -2,14 +2,8 @@
import
{
mapState
}
from
'vuex'
;
export
default
{
props
:
{
committedStateSvgPath
:
{
type
:
String
,
required
:
true
,
},
},
computed
:
{
...
mapState
([
'lastCommitMsg'
]),
...
mapState
([
'lastCommitMsg'
,
'committedStateSvgPath'
]),
},
};
</
script
>
...
...
app/assets/javascripts/ide/components/repo_commit_section.vue
View file @
fa8d70a9
...
...
@@ -105,7 +105,6 @@ export default {
>
<success-message
v-if=
"lastCommitMsg && !someUncommitedChanges"
:committed-state-svg-path=
"committedStateSvgPath"
/>
<commit-message-field
:text=
"commitMessage"
...
...
app/assets/javascripts/ide/components/repo_editor.vue
View file @
fa8d70a9
...
...
@@ -26,6 +26,7 @@ export default {
'getStagedFile'
,
'isEditModeActive'
,
'isCommitModeActive'
,
'isReviewModeActive'
,
]),
shouldHideEditor
()
{
return
this
.
file
&&
this
.
file
.
binary
&&
!
this
.
file
.
content
;
...
...
app/assets/javascripts/ide/stores/getters.js
View file @
fa8d70a9
...
...
@@ -56,6 +56,7 @@ export const getStagedFile = state => path => state.stagedFiles.find(f => f.path
export
const
isEditModeActive
=
state
=>
state
.
currentActivityView
===
activityBarViews
.
edit
;
export
const
isCommitModeActive
=
state
=>
state
.
currentActivityView
===
activityBarViews
.
commit
;
export
const
isReviewModeActive
=
state
=>
state
.
currentActivityView
===
activityBarViews
.
review
;
// prevent babel-plugin-rewire from generating an invalid default during karma tests
export
default
()
=>
{};
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