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
8fe378e0
Commit
8fe378e0
authored
Nov 27, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename note signed out widget
parent
cf2e909c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+3
-3
app/assets/javascripts/notes/components/issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+3
-3
app/assets/javascripts/notes/components/note_signed_out_widget.vue
...s/javascripts/notes/components/note_signed_out_widget.vue
+0
-1
spec/javascripts/notes/components/note_signed_out_widget_spec.js
...vascripts/notes/components/note_signed_out_widget_spec.js
+3
-3
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
8fe378e0
...
...
@@ -8,7 +8,7 @@
import
*
as
constants
from
'
../constants
'
;
import
eventHub
from
'
../event_hub
'
;
import
issueWarning
from
'
../../vue_shared/components/issue/issue_warning.vue
'
;
import
issueNoteSignedOutWidget
from
'
./issue_
note_signed_out_widget.vue
'
;
import
noteSignedOutWidget
from
'
./
note_signed_out_widget.vue
'
;
import
discussionLockedWidget
from
'
./discussion_locked_widget.vue
'
;
import
markdownField
from
'
../../vue_shared/components/markdown/field.vue
'
;
import
userAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
...
...
@@ -29,7 +29,7 @@
},
components
:
{
issueWarning
,
issueN
oteSignedOutWidget
,
n
oteSignedOutWidget
,
discussionLockedWidget
,
markdownField
,
userAvatarLink
,
...
...
@@ -240,7 +240,7 @@
<
template
>
<div>
<
issue-
note-signed-out-widget
v-if=
"!isLoggedIn"
/>
<note-signed-out-widget
v-if=
"!isLoggedIn"
/>
<discussion-locked-widget
issuable-type=
"issue"
v-else-if=
"!canCreateNote"
...
...
app/assets/javascripts/notes/components/issue_discussion.vue
View file @
8fe378e0
...
...
@@ -5,7 +5,7 @@
import
issueNote
from
'
./issue_note.vue
'
;
import
userAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
noteHeader
from
'
./note_header.vue
'
;
import
issueNoteSignedOutWidget
from
'
./issue_
note_signed_out_widget.vue
'
;
import
noteSignedOutWidget
from
'
./
note_signed_out_widget.vue
'
;
import
noteEditedText
from
'
./note_edited_text.vue
'
;
import
issueNoteForm
from
'
./issue_note_form.vue
'
;
import
placeholderNote
from
'
../../vue_shared/components/notes/placeholder_note.vue
'
;
...
...
@@ -28,7 +28,7 @@
issueNote
,
userAvatarLink
,
noteHeader
,
issueN
oteSignedOutWidget
,
n
oteSignedOutWidget
,
noteEditedText
,
issueNoteForm
,
placeholderNote
,
...
...
@@ -218,7 +218,7 @@
@
cancelFormEdition=
"cancelReplyForm"
ref=
"noteForm"
/>
<
issue-
note-signed-out-widget
v-if=
"!canReply"
/>
<note-signed-out-widget
v-if=
"!canReply"
/>
</div>
</div>
</div>
...
...
app/assets/javascripts/notes/components/
issue_
note_signed_out_widget.vue
→
app/assets/javascripts/notes/components/note_signed_out_widget.vue
View file @
8fe378e0
...
...
@@ -2,7 +2,6 @@
import
{
mapGetters
}
from
'
vuex
'
;
export
default
{
name
:
'
singInLinksNotes
'
,
computed
:
{
...
mapGetters
([
'
getNotesDataByProp
'
,
...
...
spec/javascripts/notes/components/
issue_
note_signed_out_widget_spec.js
→
spec/javascripts/notes/components/note_signed_out_widget_spec.js
View file @
8fe378e0
import
Vue
from
'
vue
'
;
import
issueNoteSignedOut
from
'
~/notes/components/issue_
note_signed_out_widget.vue
'
;
import
noteSignedOut
from
'
~/notes/components/
note_signed_out_widget.vue
'
;
import
store
from
'
~/notes/stores
'
;
import
{
notesDataMock
}
from
'
../mock_data
'
;
describe
(
'
issue_
note_signed_out_widget component
'
,
()
=>
{
describe
(
'
note_signed_out_widget component
'
,
()
=>
{
let
vm
;
beforeEach
(()
=>
{
const
Component
=
Vue
.
extend
(
issueN
oteSignedOut
);
const
Component
=
Vue
.
extend
(
n
oteSignedOut
);
store
.
dispatch
(
'
setNotesData
'
,
notesDataMock
);
vm
=
new
Component
({
...
...
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