horizon/horizon/static/framework/widgets
Rob Cresswell 0e957dd41a Add Angular Schema Form
This patch adds Angular Schema Form[1] and its requirements to Horizon.
There are a number of advantages to this over the current methods of
defining forms and workflows:

- All fields have an individual template, making theming improvements,
  bug fixes, and bootstrap conformity easier.
- The file and line count, especially for workflows, is dramatically
  reduced. The Create Net workflow, for example, goes from 12+ files to
  2, with a big reduction in boilerplate HTML.
- All field validation messages are standardised, so we can match them
  across Horizon and plugins

What this patch contains:
- Many common form fields, including things like the themable checkboxes
  and selects.
- A basic modal template that can be passed with ui-bootstraps $modal
  service to take advantage of schema-form

Next steps:
- Remove the other modal templates so we can standardise. A single
  template opened from the $modal service is fine, and we shouldn't need
  several directives. In this case, we should deprecate them, as the
  modal forms will be used elsewhere.
- Map commonly used form items, like transfer tables, to a schema form
  type like array (they serve similar purposes, so maybe thats what
  should be replaced)
- Use themable selects instead of regular ones

1. http://schemaform.io/

Co-Authored-By: Tyr Johanson <tyr@hpe.com>
Implements: blueprint angular-schema-form
Change-Id: Ib22b2d0db2c4d4775fdef62a180cc994e8ae6280
2016-08-04 16:53:41 +00:00
..
action-list Documentation and other improvements for registry 2016-07-14 15:23:50 -07:00
charts No more block-scoped-var eslint errors 2016-07-22 16:08:47 -06:00
details No more braces-style eslint errors 2016-07-22 15:39:39 -06:00
form Add Angular Schema Form 2016-08-04 16:53:41 +00:00
headers Enable no-multi-spaces 2015-11-16 18:04:16 -08:00
help-panel Add Angular Schema Form 2016-08-04 16:53:41 +00:00
load-edit No more space-in-parens eslint errors 2016-07-22 15:27:22 -06:00
magic-search Merge "Allow listFunction extra params" 2016-08-04 10:44:57 +00:00
metadata Merge "Style: Update Image Metadata overflow fail Style: Host Aggregate: Update Metadata overflow fail" 2016-08-04 11:40:52 +00:00
modal add 'x' dismiss button to simpleModal 2016-05-31 10:34:29 +00:00
modal-wait-spinner Use correct casing on jQuery. 2016-05-12 09:25:03 -07:00
panel Adding resource panel and table features 2016-06-14 11:12:08 -06:00
property Adding hz-resource-property/-list and filter/value retrieval 2016-07-18 07:33:56 -06:00
table Allow listFunction extra params 2016-08-03 12:07:20 -06:00
toast Added test coverage for toast.service.js 2015-12-08 00:17:53 +00:00
transfer-table Allow wiring of <hz-dynamic-table> into <transfer-table> 2016-07-20 16:47:03 -07:00
wizard Add Angular Schema Form 2016-08-04 16:53:41 +00:00
widgets.module.js Add Angular Schema Form 2016-08-04 16:53:41 +00:00
widgets.module.spec.js Clean up spec files in horizon framework directory 2015-11-03 07:28:56 -07:00
widgets.scss Fix Magic Search Width Problems 2016-06-29 14:16:19 -07:00