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
67d9e922
Commit
67d9e922
authored
Aug 19, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hides tooltips when dragging issues
parent
12fe6a6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
app/assets/javascripts/boards/components/board_list.js.es6
app/assets/javascripts/boards/components/board_list.js.es6
+4
-0
app/assets/javascripts/boards/mixins/sortable_default_options.js.es6
...javascripts/boards/mixins/sortable_default_options.js.es6
+3
-0
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+6
-7
No files found.
app/assets/javascripts/boards/components/board_list.js.es6
View file @
67d9e922
...
@@ -63,6 +63,10 @@
...
@@ -63,6 +63,10 @@
Store.moving.issue = card.issue;
Store.moving.issue = card.issue;
Store.moving.list = card.list;
Store.moving.list = card.list;
$('.has-tooltip').tooltip('hide')
.tooltip('disable');
document.body.classList.add('is-dragging');
},
},
onAdd: (e) => {
onAdd: (e) => {
gl.issueBoards.BoardsStore.moveIssueToList(Store.moving.list, this.list, Store.moving.issue);
gl.issueBoards.BoardsStore.moveIssueToList(Store.moving.list, this.list, Store.moving.issue);
...
...
app/assets/javascripts/boards/mixins/sortable_default_options.js.es6
View file @
67d9e922
...
@@ -12,9 +12,12 @@
...
@@ -12,9 +12,12 @@
scrollSensitivity: 100,
scrollSensitivity: 100,
scrollSpeed: 20,
scrollSpeed: 20,
onStart () {
onStart () {
$('.has-tooltip').tooltip('hide')
.tooltip('disable');
document.body.classList.add('is-dragging');
document.body.classList.add('is-dragging');
},
},
onEnd () {
onEnd () {
$('.has-tooltip').tooltip('enable');
document.body.classList.remove('is-dragging');
document.body.classList.remove('is-dragging');
}
}
}
}
...
...
app/assets/stylesheets/pages/boards.scss
View file @
67d9e922
...
@@ -8,9 +8,13 @@
...
@@ -8,9 +8,13 @@
}
}
.is-dragging
{
.is-dragging
{
// Important because plugin sets inline CSS
opacity
:
1
!
important
;
*
{
*
{
cursor
:
-
webkit-grabbing
;
// !important to make sure no style can override this when dragging
cursor
:
grabbing
;
cursor
:
-
webkit-grabbing
!
important
;
cursor
:
grabbing
!
important
;
}
}
}
}
...
@@ -254,11 +258,6 @@
...
@@ -254,11 +258,6 @@
opacity
:
0
.3
;
opacity
:
0
.3
;
}
}
.is-dragging
{
// Important because plugin sets inline CSS
opacity
:
1
!
important
;
}
.card
{
.card
{
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
...
...
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