From 9c62e77ac7f78accfff876959a3af00a33a81968 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs <30730276+1000TurquoisePogs@users.noreply.github.com> Date: Wed, 11 Mar 2020 16:53:16 -0400 Subject: [PATCH 1/4] Elaboration on imports Resolves https://github.com/zowe/zlux/issues/405 Signed-off-by: 1000TurquoisePogs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81940b4..842dc78 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Content within an IFrame interacts with content in a webpage differently than co This app presents a few fields which allow you to launch another App, or communicate with an already open App instance, in both cases with some context that the other App may interpret and some action. -**Note: This App requires the [Sample Angular App](https://github.com/zowe/sample-angular-app) to be installed.** +**Note: This App requires the [Sample Angular App](https://github.com/zowe/sample-angular-app) to be installed, because it imports the dataservice from the Angular App for example purposes. [Read more about import here](https://github.com/zowe/zlux/wiki/ZLUX-Dataservices)** **To request features or report bugs, please use the issues page at the [zlux repo](https://github.com/zowe/zlux/issues) with the sample-app or app tags** From ddab8a2ab1e70e99649b20e632d28a4e61747944 Mon Sep 17 00:00:00 2001 From: Leanid Astrakou Date: Sun, 3 May 2020 17:42:59 -0400 Subject: [PATCH 2/4] Test context menu with disabled button Signed-off-by: Leanid Astrakou --- web/html/index.html | 7 ++++++- web/js/main.js | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/web/html/index.html b/web/html/index.html index fd1433c..e8443dc 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -159,6 +159,11 @@ { text: "Action 1 - Don't click me", action: contextMenuAction1 + }, + { + text: "Action 3 - Disabled action", + action: contextMenuAction1, + disabled: true } ], false) } @@ -330,7 +335,7 @@
-
diff --git a/web/js/main.js b/web/js/main.js index d1c9ff2..4a9e83f 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -235,6 +235,16 @@ function inputChanged() { document.getElementById('runButton').style.color = "grey"; document.getElementById('runButton').style.borderColor = "grey"; } + + if(document.getElementById('helloTextStandalone').value) { + document.getElementById('runButtonStandalone').disabled = false; + document.getElementById('runButtonStandalone').style.color = "#047cc0"; + document.getElementById('runButtonStandalone').style.borderColor = "#047cc0"; + } else { + document.getElementById('runButtonStandalone').disabled = true; + document.getElementById('runButtonStandalone').style.color = "grey"; + document.getElementById('runButtonStandalone').style.borderColor = "grey"; + } } async function sayHello() { From 08e338faa4a4954d9b203b72827547b8b43e83c3 Mon Sep 17 00:00:00 2001 From: Leanid Astrakou Date: Sun, 3 May 2020 17:46:35 -0400 Subject: [PATCH 3/4] Revert README Signed-off-by: Leanid Astrakou --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 842dc78..81940b4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Content within an IFrame interacts with content in a webpage differently than co This app presents a few fields which allow you to launch another App, or communicate with an already open App instance, in both cases with some context that the other App may interpret and some action. -**Note: This App requires the [Sample Angular App](https://github.com/zowe/sample-angular-app) to be installed, because it imports the dataservice from the Angular App for example purposes. [Read more about import here](https://github.com/zowe/zlux/wiki/ZLUX-Dataservices)** +**Note: This App requires the [Sample Angular App](https://github.com/zowe/sample-angular-app) to be installed.** **To request features or report bugs, please use the issues page at the [zlux repo](https://github.com/zowe/zlux/issues) with the sample-app or app tags** From a5c878894c3fad0e348c490bc367d9b1112c4915 Mon Sep 17 00:00:00 2001 From: Leanid Astrakou Date: Fri, 20 Nov 2020 11:43:47 -0500 Subject: [PATCH 4/4] Added a few test ID's to the buttons Signed-off-by: Leanid Astrakou --- web/html/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/html/index.html b/web/html/index.html index fd1433c..1ffcef0 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -304,8 +304,8 @@

Desktop Components:

- - + +