From 9f4a9c913fc6f79d5a754bc872443c1c057096e7 Mon Sep 17 00:00:00 2001 From: Silarn Date: Fri, 5 Jul 2019 16:19:52 -0500 Subject: Rework methods to detect the current tab to use the object name --- src/tutorials/tutorial_firststeps_settings.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/tutorials/tutorial_firststeps_settings.js') diff --git a/src/tutorials/tutorial_firststeps_settings.js b/src/tutorials/tutorial_firststeps_settings.js index 1dd77d2e..ed49d97f 100644 --- a/src/tutorials/tutorial_firststeps_settings.js +++ b/src/tutorials/tutorial_firststeps_settings.js @@ -4,7 +4,7 @@ function getTutorialSteps() function() { highlightItem("tabWidget", true) tutorial.text = qsTr("You can use your regular browser to download from Nexus.\nPlease open the \"Nexus\"-tab") - tutorialControl.waitForTabOpen("tabWidget", 2) + tutorialControl.waitForTabOpen("tabWidget", "tabNexus") }, function() { @@ -16,9 +16,11 @@ function getTutorialSteps() function() { highlightItem("nexusBox", false) - tutorial.text = qsTr("You can also store your Nexus-credentials " - +"here for automatic login. The password is " - +"stored unencrypted on your disk!") + tutorial.text = qsTr("Use this interface to obtain an API key from NexusMods." + +"This is used for all API connections - downloads, updates" + +"etc. MO2 uses the Windows Credential Manager to store" + +"this data securely. If the SSO page on Nexus is failing," + +"use the manual entry and copy the API key from your profile.") waitForClick() } ] -- cgit v1.3.1 From e8d14d1ea527608bdaae4fe8f83c949082067b16 Mon Sep 17 00:00:00 2001 From: Silarn Date: Fri, 5 Jul 2019 18:39:42 -0500 Subject: Fix the help button tutorial step and a typo --- src/tutorials/tutorial_firststeps_main.js | 5 +++-- src/tutorials/tutorial_firststeps_settings.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/tutorials/tutorial_firststeps_settings.js') diff --git a/src/tutorials/tutorial_firststeps_main.js b/src/tutorials/tutorial_firststeps_main.js index 47545d24..96bfd0e7 100644 --- a/src/tutorials/tutorial_firststeps_main.js +++ b/src/tutorials/tutorial_firststeps_main.js @@ -27,8 +27,8 @@ function getTutorialSteps() function() { console.log("next") tutorial.text = qsTr("This button provides multiple sources of information and further tutorials.") - if (tutorialControl.waitForButton("actionHelp")) { - highlightItem("actionHelp", true) + if (tutorialControl.waitForAction("actionHelp")) { + highlightAction("actionHelp", true) } else { console.error("help button broken") waitForClick() @@ -36,6 +36,7 @@ function getTutorialSteps() }, function() { + unhighlight() tutorial.text = qsTr("Finally there are tooltips on almost every part of Mod Organizer. If there is a control " + "in MO you don't understand, please try hovering over it to get a short description or " + "use \"Help on UI\" from the help menu to get a longer explanation") diff --git a/src/tutorials/tutorial_firststeps_settings.js b/src/tutorials/tutorial_firststeps_settings.js index ed49d97f..792712be 100644 --- a/src/tutorials/tutorial_firststeps_settings.js +++ b/src/tutorials/tutorial_firststeps_settings.js @@ -4,7 +4,7 @@ function getTutorialSteps() function() { highlightItem("tabWidget", true) tutorial.text = qsTr("You can use your regular browser to download from Nexus.\nPlease open the \"Nexus\"-tab") - tutorialControl.waitForTabOpen("tabWidget", "tabNexus") + tutorialControl.waitForTabOpen("tabWidget", "nexusTab") }, function() { -- cgit v1.3.1 From 4bfb1a0d7666cbde7b10f59feaccde0af723a9e1 Mon Sep 17 00:00:00 2001 From: Silarn Date: Mon, 8 Jul 2019 13:20:41 -0500 Subject: Fix missing spaces in tutorial message --- src/tutorials/tutorial_firststeps_settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tutorials/tutorial_firststeps_settings.js') diff --git a/src/tutorials/tutorial_firststeps_settings.js b/src/tutorials/tutorial_firststeps_settings.js index 792712be..b0e0c3c3 100644 --- a/src/tutorials/tutorial_firststeps_settings.js +++ b/src/tutorials/tutorial_firststeps_settings.js @@ -16,10 +16,10 @@ function getTutorialSteps() function() { highlightItem("nexusBox", false) - tutorial.text = qsTr("Use this interface to obtain an API key from NexusMods." - +"This is used for all API connections - downloads, updates" - +"etc. MO2 uses the Windows Credential Manager to store" - +"this data securely. If the SSO page on Nexus is failing," + tutorial.text = qsTr("Use this interface to obtain an API key from NexusMods. " + +"This is used for all API connections - downloads, updates " + +"etc. MO2 uses the Windows Credential Manager to store " + +"this data securely. If the SSO page on Nexus is failing, " +"use the manual entry and copy the API key from your profile.") waitForClick() } -- cgit v1.3.1