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
37a4f502
Unverified
Commit
37a4f502
authored
Apr 11, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix resolve spinner and add test
parent
3082a119
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
notes.scss
app/assets/stylesheets/pages/notes.scss
+0
-1
_note.html.haml
app/views/projects/notes/_note.html.haml
+2
-3
diff_notes_resolve_spec.rb
spec/features/merge_requests/diff_notes_resolve_spec.rb
+2
-0
No files found.
app/assets/stylesheets/pages/notes.scss
View file @
37a4f502
...
...
@@ -619,7 +619,6 @@ ul.notes {
}
&
:not
(
.is-disabled
)
:hover
,
&
:not
(
.is-disabled
)
:focus
,
&
.is-active
{
color
:
$gl-text-green
;
...
...
app/views/projects/notes/_note.html.haml
View file @
37a4f502
...
...
@@ -52,11 +52,10 @@
":aria-label"
=>
"buttonText"
,
"@click"
=>
"resolve"
,
":title"
=>
"buttonText"
,
"v-show"
=>
"!loading"
,
":ref"
=>
"'button'"
}
=
icon
(
"spin spinner"
,
"v-show"
=>
"loading"
)
=
render
"shared/icons/icon_status_success.svg"
=
icon
(
"spin spinner"
,
"v-show"
=>
"loading"
,
class:
'loading'
)
%div
{
'v-show'
=>
'!loading'
}=
render
"shared/icons/icon_status_success.svg"
-
if
current_user
-
if
note
.
emoji_awardable?
...
...
spec/features/merge_requests/diff_notes_resolve_spec.rb
View file @
37a4f502
...
...
@@ -198,6 +198,8 @@ feature 'Diff notes resolve', feature: true, js: true do
it
'does not mark discussion as resolved when resolving single note'
do
page
.
first
'.diff-content .note'
do
first
(
'.line-resolve-btn'
).
click
expect
(
page
).
to
have_selector
(
'.note-action-button .loading'
)
expect
(
first
(
'.line-resolve-btn'
)[
'data-original-title'
]).
to
eq
(
"Resolved by
#{
user
.
name
}
"
)
end
...
...
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