Organised images display

Registered by Kieran Spear on 2013-01-15

We'd like to highlight or separate public images belonging to our official tenant, to gently push users towards using images that our cloud officially supports (i.e., the images we maintain as admins). It would also help to highlight or separate a user's own images so they're easier to find.

Blueprint information

Status:
Complete
Approver:
Gabriel Hurley
Priority:
Low
Drafter:
Kieran Spear
Direction:
Approved
Assignee:
Kieran Spear
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Gabriel Hurley on 2013-01-23
Completed by
Kieran Spear on 2013-02-18

Related branches

Sprints

Whiteboard

Regarding the UI design. I was initially thinking to split up the image list into separate tables for local tenant, special filter tenants, and public images. But it'd probably be a lot nicer to just use a single table with a filter button for each category.

I made a mock-up, here's a screenshot:
http://i.imgur.com/iUkIrGP.png

Only one button would be selectable at a time. By default this would show just a user's own images. If a user has no images, the next non-empty tab would be shown by default.

The "Supported" button would be hidden unless configured in django settings.
settings.IMAGES_LIST_FILTER_TENANTS would be a list of dictionaries, where each dictionary defines a button with the given text/icon and a tenant id to filter on.

I'd also like to remove the redundant "Type" column from the images and instance snapshots tables.

[Gabriel] Looks good. I approve on all points!

Gerrit topic: https://review.openstack.org/#q,topic:bp/organised-images-display,n,z

Addressed by: https://review.openstack.org/20783
    Remove image_type column from images/snaps tables

Addressed by: https://review.openstack.org/21251
    Allow image filtering based on image ownership

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.