Add Angular defaults panel in admin

Registered by Rajat Vig on 2015-07-23

Adding another defaults panel in admin implemented in angular

The community has agreed to migrate existing panels to angular.js.

The existing defaults page (written using django templates) will be converted to angular js.

Uses the exiting table design from other panels.

Wireframes, Mocks, Videos and UI Markup
No specific mockups were provided.

Blueprint information

Rajat Vig
Needs approval
Rajat Vig
Series goal:
Milestone target:
Completed by
Rob Cresswell on 2017-02-21

Related branches



Gerrit topic:,topic:defaults_panel,n,z

Addressed by:
    Add angular defaults panel for admin

Gerrit topic:,topic:bp/ng-defaults-panel,n,z

Addressed by:
    WIP : API for getting default quotas in admin

Gerrit topic:,topic:bp/ng-defaults-panel-1,n,z

Addressed by:
    WIP: API for updating default quotas in admin

Addressed by:
    Create a Angular Modules for Admin Dashboard

Gerrit topic:,topic:bug/1485885,n,z

Addressed by:
    WIP : API for Metadata Definitions

Addressed by:
    WIP : Angular panel for Metadata Definitions

Gerrit topic:,topic:bp/ng-metadata-defs-panel,n,z

Addressed by:
    Dashboard Panels should not include SCSS

Addressed by:
    WIP: Add API services for system information

Gerrit topic:,topic:bp/ng-system-information,n,z

Gerrit topic:,topic:bp/ng-flavors,n,z

Addressed by:
    Add angular defaults panel subflows for admin

UX Review: Closed out with the following notes:

We identified that there were lots of requests/factors that needed to be acknowledged (not necessarily implemented):
1. Use of the Wizard-style modal rather than the old modal style
          a. It was agreed that we should use the wizard-style in all cases so that additional steps/areas may be added
2. Inline editing on the main page
          a. It was agreed that we should only do this as a secondary approach
          b. Not all values are editable
3. Selection of units (GB, MB, etc. and/or default increments)
          a. This can’t be done logically since the exact data points displayed and their ranges and nature are not known
          b. In other words, these are just numbers that go into a black box that either accepts or rejects them.
4. Better handling of -1 as “unlimited”
          a. Same problem as 3; cannot be addressed because we cannot be assured of which fields allow for “unlimited” in which contexts.
5. Grouping of defaults
          a. We agreed that this should be doable; both to display the source (name and general type, e.g. ‘Nova’ and ‘Compute’)

Thus the only remaining execution items for Defaults are:
1. Use the Wizard-style modal [kbrown: this has been implemented. The update defaults modal is now using the wizard-style modal]
2. Display the Source as a column in the table [kbrown: also implemented]
3. Group the fields by Source in the wizard [kbrown: done]
          a. Do not separate them into steps
          b. Use standard bootstrap header to separate

Gerrit topic:,topic:bp/angularize-images-table,n,z


Work Items

This blueprint contains Public information 
Everyone can see this information.