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
8229bed2
Commit
8229bed2
authored
Apr 12, 2021
by
Jarek Ostrowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce pipeline tooltip delay to 0
MR:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59155
parent
42954bd5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
app/assets/javascripts/pipelines/components/pipelines_list/pipeline_stage.vue
...ts/pipelines/components/pipelines_list/pipeline_stage.vue
+1
-1
changelogs/unreleased/reduce-pipline-tooltip-delay-to-zero.yml
...elogs/unreleased/reduce-pipline-tooltip-delay-to-zero.yml
+5
-0
spec/frontend/pipelines/components/pipelines_list/pipeline_stage_spec.js
...ipelines/components/pipelines_list/pipeline_stage_spec.js
+9
-0
No files found.
app/assets/javascripts/pipelines/components/pipelines_list/pipeline_stage.vue
View file @
8229bed2
...
...
@@ -103,7 +103,7 @@ export default {
<
template
>
<gl-dropdown
ref=
"dropdown"
v-gl-tooltip
.
hover
v-gl-tooltip
.
hover
.
ds0
data-testid=
"mini-pipeline-graph-dropdown"
:title=
"stage.title"
variant=
"link"
...
...
changelogs/unreleased/reduce-pipline-tooltip-delay-to-zero.yml
0 → 100644
View file @
8229bed2
---
title
:
Reduce pipeline tooltip delay to
0
merge_request
:
59155
author
:
type
:
changed
spec/frontend/pipelines/components/pipelines_list/pipeline_stage_spec.js
View file @
8229bed2
...
...
@@ -11,10 +11,15 @@ const dropdownPath = 'path.json';
describe
(
'
Pipelines stage component
'
,
()
=>
{
let
wrapper
;
let
mock
;
let
glTooltipDirectiveMock
;
const
createComponent
=
(
props
=
{})
=>
{
glTooltipDirectiveMock
=
jest
.
fn
();
wrapper
=
mount
(
PipelineStage
,
{
attachTo
:
document
.
body
,
directives
:
{
GlTooltip
:
glTooltipDirectiveMock
,
},
propsData
:
{
stage
:
{
status
:
{
...
...
@@ -62,6 +67,10 @@ describe('Pipelines stage component', () => {
createComponent
();
});
it
(
'
sets up the tooltip to not have a show delay animation
'
,
()
=>
{
expect
(
glTooltipDirectiveMock
.
mock
.
calls
[
0
][
1
].
modifiers
.
ds0
).
toBe
(
true
);
});
it
(
'
should render a dropdown with the status icon
'
,
()
=>
{
expect
(
findDropdown
().
exists
()).
toBe
(
true
);
expect
(
findDropdownToggle
().
exists
()).
toBe
(
true
);
...
...
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