From cba6409e5dda5d0ca9bde5426fc5c1cecdab78a9 Mon Sep 17 00:00:00 2001 From: Alexander Zaslonov Date: Thu, 4 Jun 2020 17:15:30 -0700 Subject: [PATCH] Added support for wildcard hostnames in Test console. (#681) --- .../ko/runtime/operation-console.html | 99 +++++++++++-------- .../ko/runtime/operation-console.ts | 20 +++- src/themes/website/styles/forms.scss | 4 + src/themes/website/styles/reboot.scss | 1 - src/themes/website/styles/utils.scss | 4 + 5 files changed, 80 insertions(+), 48 deletions(-) diff --git a/src/components/operations/operation-details/ko/runtime/operation-console.html b/src/components/operations/operation-details/ko/runtime/operation-console.html index 7ddee6bc6..6d1d165de 100644 --- a/src/components/operations/operation-details/ko/runtime/operation-console.html +++ b/src/components/operations/operation-details/ko/runtime/operation-console.html @@ -8,7 +8,7 @@
@@ -36,11 +36,13 @@

Host

- +
- @@ -50,11 +52,30 @@

Host

+ +
+
+ +
+
+
+ +
+
+
+ +

Authorization

- +
@@ -71,37 +92,31 @@

Authorization

+ data-bind="textInput: $component.selectedSubscriptionKey" />
-

Parameters

+

Parameters

-
-
- - -
-
+
+ data-bind="value: parameter.value, options: parameter.options, optionsAfterRender: $component.updateRequestSummary, event:{ change: $component.updateRequestSummary }">
+ spellcheck="false" aria-label="Parameter value" + data-bind="event: { keyup: $component.updateRequestSummary }, textInput: parameter.value">
@@ -115,7 +130,7 @@

Parameters

+ spellcheck="false" aria-label="Parameter name" data-bind="textInput: parameter.name">
@@ -124,12 +139,12 @@

Parameters

+ data-bind="value: parameter.value, options: parameter.options, optionsAfterRender: $component.updateRequestSummary, event:{ change: $component.updateRequestSummary }"> + spellcheck="false" aria-label="Parameter value" + data-bind="event: { keyup: $component.updateRequestSummary }, textInput: parameter.value">
@@ -155,7 +170,7 @@

Headers

+ spellcheck="false" aria-label="Header name" data-bind="textInput: header.name">
@@ -164,18 +179,16 @@

Headers

+ data-bind="value: header.value, options: header.options, optionsAfterRender: $component.updateRequestSummary, event:{ change: $component.updateRequestSummary }">
+ spellcheck="false" aria-label="Header value" + data-bind="event: { keyup: $component.updateRequestSummary }, textInput: header.value">
- -
@@ -196,24 +209,24 @@

Body

+ data-bind="checked: request.bodyFormat">
+ data-bind="checked: request.bodyFormat">
+ data-bind="event: { keyup: $component.updateRequestSummary }, textInput: request.body, valueUpdate: 'keyup'"> - - + +
@@ -223,55 +236,55 @@

Body