Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the dragdrop placeholder in the main dashboard visible #2324

Merged
merged 1 commit into from
Nov 9, 2017

Conversation

skateman
Copy link
Member

@skateman skateman commented Oct 9, 2017

The sortable module in jquery-ui is not sensitive enough when moving a dashboard widget to the bottom of the page. I was trying to add some temporary extra padding when moving a widget, but that was not working. But as we're moving towards angular we'll drop all the jquery code and so the issue will disappear. Until then I'm adding this placeholder feature to help the drag & drop process to be more understandable for the user.

screenshot from 2017-10-09 10-52-08

@epwinchell can you please review the styling of the placeholder box? I'm pretty sure I did it wrong 😉

https://bugzilla.redhat.com/show_bug.cgi?id=1485637

@skateman skateman changed the title Make the dragdrop placeholder in the main dashboard visible [WIP] Make the dragdrop placeholder in the main dashboard visible Oct 9, 2017
@miq-bot miq-bot added the wip label Oct 9, 2017
@epwinchell
Copy link
Contributor

@skateman Looks good. Just add this change:

.sortable-placeholder { background-color: rgba(255, 255, 255, 0.8); border: 2px dashed #ddd; }

@skateman skateman force-pushed the dashboard-dragdrop-placeholder branch from 95a459e to f4c1207 Compare October 21, 2017 15:50
@skateman skateman changed the title [WIP] Make the dragdrop placeholder in the main dashboard visible Make the dragdrop placeholder in the main dashboard visible Oct 21, 2017
@miq-bot miq-bot removed the wip label Oct 21, 2017
@epwinchell
Copy link
Contributor

@miq-bot assign @himdel

@epwinchell
Copy link
Contributor

@miq-bot add_label bug

@epwinchell
Copy link
Contributor

@miq-bot add_label fine/no

@mfeifer
Copy link
Contributor

mfeifer commented Oct 24, 2017

@himdel can you please take a look?

@miq-bot
Copy link
Member

miq-bot commented Oct 30, 2017

This pull request is not mergeable. Please rebase and repush.

@miq-bot
Copy link
Member

miq-bot commented Oct 30, 2017

Checked commit skateman@1a80f58 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 🍰

@chessbyte chessbyte closed this Oct 31, 2017
@chessbyte chessbyte reopened this Oct 31, 2017
@himdel
Copy link
Contributor

himdel commented Nov 9, 2017

LGTM, merging 👍

@himdel himdel merged commit 1decfd8 into ManageIQ:master Nov 9, 2017
@himdel himdel added this to the Sprint 73 Ending Nov 13, 2017 milestone Nov 9, 2017
@himdel
Copy link
Contributor

himdel commented Nov 9, 2017

Adding gaprindashvili/yes, this was created before the branching, and should not be relevant anymore once the H-release comes.

@skateman skateman deleted the dashboard-dragdrop-placeholder branch November 9, 2017 12:57
simaishi pushed a commit that referenced this pull request Nov 15, 2017
Make the dragdrop placeholder in the main dashboard visible
(cherry picked from commit 1decfd8)

https://bugzilla.redhat.com/show_bug.cgi?id=1511524
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit a2973c46e98c297c441009f1d92cc89d4d2caa41
Author: Martin Hradil <himdel@seznam.cz>
Date:   Thu Nov 9 12:54:50 2017 +0000

    Merge pull request #2324 from skateman/dashboard-dragdrop-placeholder
    
    Make the dragdrop placeholder in the main dashboard visible
    (cherry picked from commit 1decfd8295b28d0a60458dce18c4d185c21e183e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1511524

@simaishi
Copy link
Contributor

@skateman The BZ has cfme-5.8.z flag, but this PR is marked as fine/no. A separate PR will be needed for Fine branch?

@skateman
Copy link
Member Author

@miq-bot add_label fine/yes

simaishi pushed a commit that referenced this pull request Apr 18, 2018
Make the dragdrop placeholder in the main dashboard visible
(cherry picked from commit 1decfd8)

https://bugzilla.redhat.com/show_bug.cgi?id=1568168
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit 26322cb3f1ad8c86e6cd95439b4880463150d742
Author: Martin Hradil <himdel@seznam.cz>
Date:   Thu Nov 9 12:54:50 2017 +0000

    Merge pull request #2324 from skateman/dashboard-dragdrop-placeholder
    
    Make the dragdrop placeholder in the main dashboard visible
    (cherry picked from commit 1decfd8295b28d0a60458dce18c4d185c21e183e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1568168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants