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
d4a92a7c
Commit
d4a92a7c
authored
Nov 24, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename issue_note_actions.vue to note_actions
parent
3e558d8d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
app/assets/javascripts/notes/components/issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+0
-2
app/assets/javascripts/notes/components/issue_note.vue
app/assets/javascripts/notes/components/issue_note.vue
+3
-3
app/assets/javascripts/notes/components/note_actions.vue
app/assets/javascripts/notes/components/note_actions.vue
+1
-1
spec/javascripts/notes/components/note_actions_spec.js
spec/javascripts/notes/components/note_actions_spec.js
+2
-2
No files found.
app/assets/javascripts/notes/components/issue_discussion.vue
View file @
d4a92a7c
...
...
@@ -5,7 +5,6 @@
import
issueNote
from
'
./issue_note.vue
'
;
import
userAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
issueNoteHeader
from
'
./issue_note_header.vue
'
;
import
issueNoteActions
from
'
./issue_note_actions.vue
'
;
import
issueNoteSignedOutWidget
from
'
./issue_note_signed_out_widget.vue
'
;
import
issueNoteEditedText
from
'
./issue_note_edited_text.vue
'
;
import
issueNoteForm
from
'
./issue_note_form.vue
'
;
...
...
@@ -29,7 +28,6 @@
issueNote
,
userAvatarLink
,
issueNoteHeader
,
issueNoteActions
,
issueNoteSignedOutWidget
,
issueNoteEditedText
,
issueNoteForm
,
...
...
app/assets/javascripts/notes/components/issue_note.vue
View file @
d4a92a7c
...
...
@@ -3,7 +3,7 @@
import
Flash
from
'
../../flash
'
;
import
userAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
issueNoteHeader
from
'
./issue_note_header.vue
'
;
import
issueNoteActions
from
'
./issue_
note_actions.vue
'
;
import
noteActions
from
'
./
note_actions.vue
'
;
import
issueNoteBody
from
'
./issue_note_body.vue
'
;
import
eventHub
from
'
../event_hub
'
;
...
...
@@ -24,7 +24,7 @@
components
:
{
userAvatarLink
,
issueNoteHeader
,
issueN
oteActions
,
n
oteActions
,
issueNoteBody
,
},
computed
:
{
...
...
@@ -161,7 +161,7 @@
:note-id=
"note.id"
action-text=
"commented"
/>
<
issue-
note-actions
<note-actions
:author-id=
"author.id"
:note-id=
"note.id"
:access-level=
"note.human_access"
...
...
app/assets/javascripts/notes/components/
issue_
note_actions.vue
→
app/assets/javascripts/notes/components/note_actions.vue
View file @
d4a92a7c
...
...
@@ -9,7 +9,7 @@
import
tooltip
from
'
../../vue_shared/directives/tooltip
'
;
export
default
{
name
:
'
issueN
oteActions
'
,
name
:
'
n
oteActions
'
,
props
:
{
authorId
:
{
type
:
Number
,
...
...
spec/javascripts/notes/components/
issue_
note_actions_spec.js
→
spec/javascripts/notes/components/note_actions_spec.js
View file @
d4a92a7c
import
Vue
from
'
vue
'
;
import
store
from
'
~/notes/stores
'
;
import
issueActions
from
'
~/notes/components/issue_
note_actions.vue
'
;
import
noteActions
from
'
~/notes/components/
note_actions.vue
'
;
import
{
userDataMock
}
from
'
../mock_data
'
;
describe
(
'
issse_note_actions component
'
,
()
=>
{
...
...
@@ -8,7 +8,7 @@ describe('issse_note_actions component', () => {
let
Component
;
beforeEach
(()
=>
{
Component
=
Vue
.
extend
(
issu
eActions
);
Component
=
Vue
.
extend
(
not
eActions
);
});
afterEach
(()
=>
{
...
...
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