GitHub user ahgittin opened a pull request:
https://github.com/apache/brooklyn-ui/pull/59
Customizable config widgets
Adds the ability to define custom widgets for config, and supplies one such
with an example as shown in `docs/vanilla-with-custom-widget.bom`.
<img width="465" alt="screen shot 2018-08-07 at 16 37 58"
src="https://user-images.githubusercontent.com/496540/43786331-48a09010-9a60-11e8-8203-ae8aa0adac76.png">
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/brooklyn-ui
customizable-config-widgets
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-ui/pull/59.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #59
----
commit f9d239ed03d0f1b0b957c746603f4bfd09b53cf8
Author: Alex Heneveld <alex.heneveld@...>
Date: 2018-08-03T15:22:03Z
add basic docs for the customizations
and remove reference of tool
commit 29ba70e1936367a4e226823add0a4272252b0922
Author: Alex Heneveld <alex.heneveld@...>
Date: 2018-08-06T21:59:11Z
initial JS poc of custom config widget
all the hard angular stuff working, but hard-coded. now just need to wire
it to real tags.
commit 19de59de10894f8a3720c989d0e3be7fd68b260a
Author: Alex Heneveld <alex.heneveld@...>
Date: 2018-08-07T00:18:01Z
collect config-widget metadata from ui-composer-hints tags on registered
types
all that's left is to show the suggested dropdown values
commit ee98bd40f5c68b97b06343b061b674fad4332b22
Author: Alex Heneveld <alex.heneveld@...>
Date: 2018-08-07T11:20:06Z
show a nice dropdown for the values supplied, including supporting
description
commit 6e030377cd5d0b32d585c7ffc597622c115f120f
Author: Alex Heneveld <alex.heneveld@...>
Date: 2018-08-07T15:31:51Z
tidy of dropdown, and also cleanup the "add config" dropdown
----
---