Add button, which allows to assign several packages to one category at a time

Registered by Ekaterina Chernova

In Kilo release, we are adding category management support.
Admin user can add new category, but could apply it only for one package at a time.

Need to add new button, called "Manage categories", to the 'Package Definition' page. It will be active, only if packages are selected and should do the following:

* Open list with all categories, where categories that belongs to packages will be highlighted
* User should be able to select/unselect any category one by one;
* Selectors should have three states of category assignment:
    a) All
    b) Some
    c) None
* After all changes are made, selected packages should be updated with categories, that user just picked.

Blueprint information

Status:
Not started
Approver:
Serg Melikyan
Priority:
Medium
Drafter:
Ekaterina Chernova
Direction:
Approved
Assignee:
Andrew Pashkin
Definition:
Approved
Series goal:
Accepted for future
Implementation:
Deferred
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

[Andrew Pashkin]
Mockup that demonstrates tri-state checkboxes thing:
http://i.imgur.com/hZNQCvA.png
http://i.imgur.com/upKYk6n.png

[Timur Sufiev]
Checkboxes IMO are not good since there can be a lot of categories, which will stretch the form vertically too much.

[Andrew Pashkin]
Scroll is the solution?

[Andrew Pashkin]
BTW, Gmail uses same style:
http://i.imgur.com/KslpvKn.png

Gerrit topic: https://review.openstack.org/#q,topic:bp/assign-category-button,n,z

Addressed by: https://review.openstack.org/168027
    Adds capabilities for user to manage packages categories

Addressed by: https://review.openstack.org/171779
    Adds util for Selenium that waits for page change

Addressed by: https://review.openstack.org/175215
    Tri-state checkbox widget

Gerrit topic: https://review.openstack.org/#q,topic:add_filtering_packages_by_id,n,z

Addressed by: https://review.openstack.org/185124
    Add an option to filter packages by 'id' in API

Addressed by: https://review.openstack.org/337739
    Tri-state checkbox widget

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.