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

Dashboard edit - make it possible to drop into an empty column #5622

Merged
merged 1 commit into from Dec 2, 2015
Merged

Dashboard edit - make it possible to drop into an empty column #5622

merged 1 commit into from Dec 2, 2015

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Nov 26, 2015

Go to CI > Reports > Dashboards.. and edit a dashboard.

Move all widgets out from one column.. it will be impossible to move them back, because that column will have height of 0 or 1 pixels.

This forces a height of at least 1 widget even if empty, in edit mode.

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

@himdel
Copy link
Contributor Author

himdel commented Nov 26, 2015

@epwinchell can you please review? Not sure if the css should be in main.scss and/or whether we have some style styling ( 😄 ) conventions I'm unaware of...

@miq-bot
Copy link
Member

miq-bot commented Nov 26, 2015

Checked commit https://github.com/himdel/manageiq/commit/8c53f8fadb5d51a88a6911c6a6816a85b6f3750e with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0
0 files checked, 0 offenses detected
Everything looks good. 👍

@epwinchell
Copy link
Contributor

@himdel Can you move the styling to patternfly_overrides.scss? Main.scss is for variables and things that need to change between upstream and productized versions. Thanks.

@himdel
Copy link
Contributor Author

himdel commented Nov 30, 2015

Sure, will do in the morning.. What about the 3 lines that were already there, should they stay or move as well?

@epwinchell
Copy link
Contributor

They're fine

@chessbyte
Copy link
Member

@dclarizio @martinpovolny @h-kataria Please review

@himdel
Copy link
Contributor Author

himdel commented Dec 1, 2015

Moved to patternfly_overrides & rebased, ready..

Go to CI > Reports > Dashboards.. and edit a dashboard.

Move all widgets out from one column.. it will be impossible to move them back, because that column will have height of 0 or 1 pixels.

This forces a height of at least 1 widget even if empty, in edit mode.

https://bugzilla.redhat.com/show_bug.cgi?id=1287178
dclarizio pushed a commit that referenced this pull request Dec 2, 2015
Dashboard edit - make it possible to drop into an empty column
@dclarizio dclarizio merged commit 79da9ce into ManageIQ:master Dec 2, 2015
@dclarizio dclarizio added this to the Sprint 33 Ending Dec 7, 2015 milestone Dec 2, 2015
@himdel himdel deleted the dashboard-sortable-padding branch December 2, 2015 12:32
dclarizio pushed a commit to dclarizio/manageiq that referenced this pull request Dec 16, 2015
Dashboard edit - make it possible to drop into an empty column

Go to CI > Reports > Dashboards.. and edit a dashboard.

Move all widgets out from one column.. it will be impossible to move them back, because that column will have height of 0 or 1 pixels.

This forces a height of at least 1 widget even if empty, in edit mode.

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

https://bugzilla.redhat.com/show_bug.cgi?id=1287178
(cherry picked from commit 143c22c)

ManageIQ#5622
clean cherry pick

See merge request !568
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.

None yet

5 participants