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
e5deffc4
Commit
e5deffc4
authored
Apr 04, 2022
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-add js-user-link to design note
parent
6fe83a71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
app/assets/javascripts/design_management/components/design_notes/design_note.vue
...design_management/components/design_notes/design_note.vue
+1
-0
spec/frontend/design_management/components/design_notes/__snapshots__/design_note_spec.js.snap
...nents/design_notes/__snapshots__/design_note_spec.js.snap
+1
-0
spec/frontend/shortcuts_spec.js
spec/frontend/shortcuts_spec.js
+1
-1
No files found.
app/assets/javascripts/design_management/components/design_notes/design_note.vue
View file @
e5deffc4
...
...
@@ -102,6 +102,7 @@ export default {
<gl-link
v-once
:href=
"author.webUrl"
class=
"js-user-link"
data-testid=
"user-link"
:data-user-id=
"authorId"
:data-username=
"author.username"
...
...
spec/frontend/design_management/components/design_notes/__snapshots__/design_note_spec.js.snap
View file @
e5deffc4
...
...
@@ -24,6 +24,7 @@ exports[`Design note component should match the snapshot 1`] = `
>
<div>
<gl-link-stub
class="js-user-link"
data-testid="user-link"
data-user-id="1"
data-username="foo-bar"
...
...
spec/frontend/shortcuts_spec.js
View file @
e5deffc4
...
...
@@ -41,7 +41,7 @@ describe('Shortcuts', () => {
).
toHaveBeenCalled
();
});
it
(
'
focues preview button inside edit comment form
'
,
()
=>
{
it
(
'
focu
s
es preview button inside edit comment form
'
,
()
=>
{
document
.
querySelector
(
'
.js-note-edit
'
).
click
();
Shortcuts
.
toggleMarkdownPreview
(
...
...
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