-
Notifications
You must be signed in to change notification settings - Fork 356
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 textarea based item selector responsive #1376
Conversation
@miq-bot add_label, formatting/styling, bug, enhancement, fine/no, euwe/no, wip |
@epwinchell Cannot apply the following label because they are not recognized: |
@miq-bot assign @dclarizio |
@dclarizio Please test on "edit policy's condition assignment" screen. |
cc @quarckster |
@miq-bot rm_label fine/no, euwe/no |
@miq-bot add_label fine/yes, euwe/yes |
@miq-bot assign @h-kataria |
Checked commits https://github.com/epwinchell/manageiq-ui-classic/compare/26cbaa179419022451dfc406a58ac7b56a4d416c~...9cf0eed7e61e8203607136f2b607c5d0b8ba3acd with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/views/catalog/_column_lists.html.haml
app/views/miq_policy/_action_options.html.haml
app/views/miq_policy/_alert_profile_details.html.haml
app/views/miq_policy/_event_details.html.haml
app/views/miq_policy/_policy_details.html.haml
app/views/miq_policy/_profile_details.html.haml
app/views/shared/buttons/_column_lists.html.haml
|
@miq-bot rm_label wip |
@miq-bot assign @dclarizio |
make textarea based item selector responsive (cherry picked from commit c6e3ae2) https://bugzilla.redhat.com/show_bug.cgi?id=1460387
Fine backport details:
|
Backported to Euwe via ManageIQ/manageiq#15322 |
:style => "overflow-x: scroll;", | ||
:size => 8, | ||
:id => "available_fields") | ||
- if x_active_tree == :ab_tree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Eric @epwinchell , I have a question: why do we have here this condition if x_active_tree == :ab_tree
twice? Once in https://github.com/ManageIQ/manageiq-ui-classic/pull/1376/files#diff-fb2d45f8fceb60d60e1267c1d866e824R2, the second time in https://github.com/ManageIQ/manageiq-ui-classic/pull/1376/files#diff-fb2d45f8fceb60d60e1267c1d866e824R12
Is there any reason for that? Thank you! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@h-kataria Any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@epwinchell @hstastna if you look closely at the old/refactored code that was removed had piece of code that was not part of if block
https://github.com/ManageIQ/manageiq-ui-classic/pull/1376/files#diff-fb2d45f8fceb60d60e1267c1d866e824L8
looks like same for the second if block as well https://github.com/ManageIQ/manageiq-ui-classic/pull/1376/files#diff-fb2d45f8fceb60d60e1267c1d866e824L47
@epwinchell Cannot apply the following label because they are not recognized: |
This PR redesigns the textarea-based "item selector" to be fully responsive, including converting png images to font icons.
#1314
https://www.pivotaltracker.com/n/projects/1613907/stories/123185601
https://bugzilla.redhat.com/show_bug.cgi?id=1374761
Old
(full desktop)
(mobile)
New
(full desktop)
(mobile)