Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Service params editing #1253

Merged
merged 8 commits into from
Sep 21, 2017
Merged

Service params editing #1253

merged 8 commits into from
Sep 21, 2017

Conversation

nwmac
Copy link
Contributor

@nwmac nwmac commented Sep 8, 2017

No description provided.

Copy link
Contributor

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another quick review before the update

  • bind service instance modal
    • newServiceInstance is not defined error on clicking add (on line newServiceInstance.name = undefined;)
  • create service instance modal
    • enter text for a tag, but don't hit return/defocus, then click edit. the tags input box is shown above the new pop up
  • create service instance service parameters modal
    • The text block input focus is blue
    • There's no feedback when invalid json is ignored. It would be good to have the standard 'invalid input' input field error.

Copy link
Contributor

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, picked up a couple of things I'd missed last time around (see comments). Also, there's a bug where '[object Object]' is shown when editing an existing service param.

@@ -31,9 +31,14 @@
name: userInput.name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in file name... create-servince-instance.service.js

<div ng-if="wizardCtrl.options.editParams" class="async-dialog-param-editor" ng-class="{'param-editor-open' : wizardCtrl.options.editParams}">
<form name="form.paramEditor" class="async-dialog-param-editor param-editor-container">
<div class="form-group json-input-field" focusable-input ng-model-options="{ debounce: 200 }" ng-class="{'has-error': form.paramEditor.$invalid && form.paramEditor.$dirty}">
<label class="control-label" translate>app.app-info.app-tabs.services.create.service-params</label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, late comment... instead of 'Parameters' could we call this 'Binding Parameters' and in the create instance dialog 'Instance Parameters'?

@richard-cox richard-cox merged commit 957e6bd into master Sep 21, 2017
@richard-cox richard-cox deleted the service-params-editing branch September 21, 2017 11:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants