horizon/horizon/static/framework/widgets
Richard Jones f9b3bc7b2b Remove use of scope from action service
The scope being handed to (and retained on) the action
service was being used for two purposes:

1. handing data down to the underlying wizard steps, and
2. receiving data back from the underlying wizard steps.

This patch provides a mechanism for passing data down through
injection, and removes the need for event-based data return
by explicitly passing the captured wizard data to the submit()
resolution.

It also adds the controller scope to the allowed() and
perform() action service handlers to grant access to
contextual information without needing to attach state
to the service.

Change-Id: Ieb293d0a849cd84d15e7aae0a68558fde80fd2c2
Fixes-Bug: 1640049
2016-11-24 18:42:49 +11:00
..
action-list Remove use of scope from action service 2016-11-24 18:42:49 +11: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 Fix jasmine test failures due to missing ngRoute, schema-form dep 2016-08-19 10:12:33 -07: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 Fixing typo in horizon widgets 2016-10-17 14:36:08 +08: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 Remove use of scope from action service 2016-11-24 18:42:49 +11: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 Do not embed unsafe content 2016-09-13 13:58:55 +10:00
table Remove unnecessary translate mark 2016-10-07 04:31:04 +00:00
toast Added test coverage for toast.service.js 2015-12-08 00:17:53 +00:00
transfer-table Change icons in launch instance ng transfer 2016-11-18 22:03:10 +00:00
wizard Remove use of scope from action service 2016-11-24 18:42:49 +11: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