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
a2326c8a
Commit
a2326c8a
authored
Jul 21, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueNotesRefactor: kebab-case all Vue data bindings.
parent
787616d4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
48 deletions
+48
-48
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+4
-4
app/assets/javascripts/notes/components/issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+12
-12
app/assets/javascripts/notes/components/issue_note.vue
app/assets/javascripts/notes/components/issue_note.vue
+19
-19
app/assets/javascripts/notes/components/issue_note_body.vue
app/assets/javascripts/notes/components/issue_note_body.vue
+9
-9
app/assets/javascripts/notes/components/issue_note_edited_text.vue
...s/javascripts/notes/components/issue_note_edited_text.vue
+1
-1
app/assets/javascripts/notes/components/issue_system_note.vue
...assets/javascripts/notes/components/issue_system_note.vue
+3
-3
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
a2326c8a
...
@@ -161,10 +161,10 @@ export default {
...
@@ -161,10 +161,10 @@ export default {
<div
class=
"timeline-icon hidden-xs hidden-sm"
>
<div
class=
"timeline-icon hidden-xs hidden-sm"
>
<user-avatar-link
<user-avatar-link
v-if=
"author"
v-if=
"author"
:link
H
ref=
"author.path"
:link
-h
ref=
"author.path"
:img
S
rc=
"author.avatar_url"
:img
-s
rc=
"author.avatar_url"
:img
A
lt=
"author.name"
:img
-a
lt=
"author.name"
:img
S
ize=
"40"
/>
:img
-s
ize=
"40"
/>
</div>
</div>
<div
class=
"js-main-target-form timeline-content timeline-content-form common-note-form"
>
<div
class=
"js-main-target-form timeline-content timeline-content-form common-note-form"
>
<markdown-field
<markdown-field
...
...
app/assets/javascripts/notes/components/issue_discussion.vue
View file @
a2326c8a
...
@@ -109,25 +109,25 @@ export default {
...
@@ -109,25 +109,25 @@ export default {
<div
class=
"timeline-entry-inner"
>
<div
class=
"timeline-entry-inner"
>
<div
class=
"timeline-icon"
>
<div
class=
"timeline-icon"
>
<user-avatar-link
<user-avatar-link
:link
H
ref=
"author.path"
:link
-h
ref=
"author.path"
:img
S
rc=
"author.avatar_url"
:img
-s
rc=
"author.avatar_url"
:img
A
lt=
"author.name"
:img
-a
lt=
"author.name"
:img
S
ize=
"40"
/>
:img
-s
ize=
"40"
/>
</div>
</div>
<div
class=
"timeline-content"
>
<div
class=
"timeline-content"
>
<div
class=
"discussion"
>
<div
class=
"discussion"
>
<div
class=
"discussion-header"
>
<div
class=
"discussion-header"
>
<issue-note-header
<issue-note-header
:author=
"author"
:author=
"author"
:created
A
t=
"discussion.created_at"
:created
-a
t=
"discussion.created_at"
:note
I
d=
"discussion.id"
:note
-i
d=
"discussion.id"
:include
T
oggle=
"true"
:include
-t
oggle=
"true"
:toggle
H
andler=
"toggleDiscussion"
:toggle
-h
andler=
"toggleDiscussion"
actionText=
"started a discussion"
/>
actionText=
"started a discussion"
/>
<issue-note-edited-text
<issue-note-edited-text
v-if=
"note.last_updated_by"
v-if=
"note.last_updated_by"
:edited
A
t=
"note.last_updated_at"
:edited
-a
t=
"note.last_updated_at"
:edited
B
y=
"note.last_updated_by"
:edited
-b
y=
"note.last_updated_by"
actionText=
"Last updated"
actionText=
"Last updated"
className=
"discussion-headline-light js-discussion-headline"
/>
className=
"discussion-headline-light js-discussion-headline"
/>
</div>
</div>
...
@@ -155,8 +155,8 @@ export default {
...
@@ -155,8 +155,8 @@ export default {
<issue-note-form
<issue-note-form
v-if=
"isReplying"
v-if=
"isReplying"
saveButtonTitle=
"Comment"
saveButtonTitle=
"Comment"
:update
H
andler=
"saveReply"
:update
-h
andler=
"saveReply"
:cancel
H
andler=
"cancelReplyForm"
:cancel
-h
andler=
"cancelReplyForm"
ref=
"noteForm"
/>
ref=
"noteForm"
/>
<issue-note-signed-out-widget
v-if=
"!canReply"
/>
<issue-note-signed-out-widget
v-if=
"!canReply"
/>
</div>
</div>
...
...
app/assets/javascripts/notes/components/issue_note.vue
View file @
a2326c8a
...
@@ -121,35 +121,35 @@ export default {
...
@@ -121,35 +121,35 @@ export default {
<div
class=
"timeline-entry-inner"
>
<div
class=
"timeline-entry-inner"
>
<div
class=
"timeline-icon"
>
<div
class=
"timeline-icon"
>
<user-avatar-link
<user-avatar-link
:link
H
ref=
"author.path"
:link
-h
ref=
"author.path"
:img
S
rc=
"author.avatar_url"
:img
-s
rc=
"author.avatar_url"
:img
A
lt=
"author.name"
:img
-a
lt=
"author.name"
:img
S
ize=
"40"
/>
:img
-s
ize=
"40"
/>
</div>
</div>
<div
class=
"timeline-content"
>
<div
class=
"timeline-content"
>
<div
class=
"note-header"
>
<div
class=
"note-header"
>
<issue-note-header
<issue-note-header
:author=
"author"
:author=
"author"
:created
A
t=
"note.created_at"
:created
-a
t=
"note.created_at"
:note
I
d=
"note.id"
:note
-i
d=
"note.id"
actionText=
"commented"
/>
actionText=
"commented"
/>
<issue-note-actions
<issue-note-actions
:author
I
d=
"author.id"
:author
-i
d=
"author.id"
:note
I
d=
"note.id"
:note
-i
d=
"note.id"
:access
L
evel=
"note.human_access"
:access
-l
evel=
"note.human_access"
:can
E
dit=
"note.current_user.can_edit"
:can
-e
dit=
"note.current_user.can_edit"
:can
D
elete=
"note.current_user.can_edit"
:can
-d
elete=
"note.current_user.can_edit"
:can
ReportAsA
buse=
"canReportAsAbuse"
:can
-report-as-a
buse=
"canReportAsAbuse"
:report
AbuseP
ath=
"note.report_abuse_path"
:report
-abuse-p
ath=
"note.report_abuse_path"
:edit
H
andler=
"editHandler"
:edit
-h
andler=
"editHandler"
:delete
H
andler=
"deleteHandler"
/>
:delete
-h
andler=
"deleteHandler"
/>
</div>
</div>
<issue-note-body
<issue-note-body
:note=
"note"
:note=
"note"
:can
E
dit=
"note.current_user.can_edit"
:can
-e
dit=
"note.current_user.can_edit"
:is
E
diting=
"isEditing"
:is
-e
diting=
"isEditing"
:form
UpdateH
andler=
"formUpdateHandler"
:form
-update-h
andler=
"formUpdateHandler"
:form
CancelH
andler=
"formCancelHandler"
:form
-cancel-h
andler=
"formCancelHandler"
ref=
"noteBody"
/>
ref=
"noteBody"
/>
</div>
</div>
</div>
</div>
...
...
app/assets/javascripts/notes/components/issue_note_body.vue
View file @
a2326c8a
...
@@ -78,10 +78,10 @@ export default {
...
@@ -78,10 +78,10 @@ export default {
<issue-note-form
<issue-note-form
v-if=
"isEditing"
v-if=
"isEditing"
ref=
"noteForm"
ref=
"noteForm"
:update
H
andler=
"handleFormUpdate"
:update
-h
andler=
"handleFormUpdate"
:cancel
H
andler=
"formCancelHandler"
:cancel
-h
andler=
"formCancelHandler"
:note
B
ody=
"noteBody"
:note
-b
ody=
"noteBody"
:note
I
d=
"note.id"
/>
:note
-i
d=
"note.id"
/>
<textarea
<textarea
v-if=
"canEdit"
v-if=
"canEdit"
v-model=
"note.note"
v-model=
"note.note"
...
@@ -89,14 +89,14 @@ export default {
...
@@ -89,14 +89,14 @@ export default {
class=
"hidden js-task-list-field"
></textarea>
class=
"hidden js-task-list-field"
></textarea>
<issue-note-edited-text
<issue-note-edited-text
v-if=
"note.last_edited_by"
v-if=
"note.last_edited_by"
:edited
A
t=
"note.last_edited_at"
:edited
-a
t=
"note.last_edited_at"
:edited
B
y=
"note.last_edited_by"
:edited
-b
y=
"note.last_edited_by"
actionText=
"Edited"
/>
actionText=
"Edited"
/>
<issue-note-awards-list
<issue-note-awards-list
v-if=
"note.award_emoji.length"
v-if=
"note.award_emoji.length"
:note
I
d=
"note.id"
:note
-i
d=
"note.id"
:note
AuthorI
d=
"note.author.id"
:note
-author-i
d=
"note.author.id"
:awards=
"note.award_emoji"
:awards=
"note.award_emoji"
:toggle
AwardP
ath=
"note.toggle_award_path"
/>
:toggle
-award-p
ath=
"note.toggle_award_path"
/>
</div>
</div>
</
template
>
</
template
>
app/assets/javascripts/notes/components/issue_note_edited_text.vue
View file @
a2326c8a
...
@@ -38,6 +38,6 @@ export default {
...
@@ -38,6 +38,6 @@ export default {
</a>
</a>
<time-ago-tooltip
<time-ago-tooltip
:time=
"editedAt"
:time=
"editedAt"
tooltip
P
lacement=
"bottom"
/>
tooltip
-p
lacement=
"bottom"
/>
</div>
</div>
</
template
>
</
template
>
app/assets/javascripts/notes/components/issue_system_note.vue
View file @
a2326c8a
...
@@ -45,9 +45,9 @@ export default {
...
@@ -45,9 +45,9 @@ export default {
<div
class=
"note-header"
>
<div
class=
"note-header"
>
<issue-note-header
<issue-note-header
:author=
"note.author"
:author=
"note.author"
:created
A
t=
"note.created_at"
:created
-a
t=
"note.created_at"
:note
I
d=
"note.id"
:note
-i
d=
"note.id"
:action
TextH
tml=
"note.note_html"
/>
:action
-text-h
tml=
"note.note_html"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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