From 91059a57bafd1be1c8565db0debd9cb664020546 Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 19 Apr 2022 12:58:25 +0300 Subject: [PATCH] UI: Rename "Start over" to "Reset" --- docs/content/usage/scenarios/_index.md | 4 ++-- monkey/monkey_island/cc/ui/src/components/Main.tsx | 2 +- .../monkey_island/cc/ui/src/components/SideNavComponent.tsx | 2 +- .../src/components/pages/{StartOverPage.js => ResetPage.js} | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename monkey/monkey_island/cc/ui/src/components/pages/{StartOverPage.js => ResetPage.js} (95%) diff --git a/docs/content/usage/scenarios/_index.md b/docs/content/usage/scenarios/_index.md index dedaf554c..77945e88f 100644 --- a/docs/content/usage/scenarios/_index.md +++ b/docs/content/usage/scenarios/_index.md @@ -20,8 +20,8 @@ Choosing the "Custom" scenario will allow you to fine-tune your simulation and a ![Choose scenario](/images/usage/scenarios/choose-scenario.png "Choose a scenario") -To exit a scenario and select another one, click on "Start Over". - +To exit a scenario and select another one, click on "Reset". + ![Start over](/images/usage/scenarios/start-over.png "Start over") ## Section contents diff --git a/monkey/monkey_island/cc/ui/src/components/Main.tsx b/monkey/monkey_island/cc/ui/src/components/Main.tsx index d9dda8e4f..2b31ae37b 100644 --- a/monkey/monkey_island/cc/ui/src/components/Main.tsx +++ b/monkey/monkey_island/cc/ui/src/components/Main.tsx @@ -6,7 +6,7 @@ import ConfigurePage from './pages/ConfigurePage.js'; import RunMonkeyPage from './pages/RunMonkeyPage/RunMonkeyPage'; import MapPage from './pages/MapPage'; import TelemetryPage from './pages/TelemetryPage'; -import StartOverPage from './pages/StartOverPage'; +import StartOverPage from './pages/ResetPage'; import ReportPage from './pages/ReportPage'; import LicensePage from './pages/LicensePage'; import AuthComponent from './AuthComponent'; diff --git a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx index 2654f9fc9..170a80a02 100644 --- a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx +++ b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx @@ -78,7 +78,7 @@ const SideNavComponent = ({disabled,
  • - Start Over + Reset
  • diff --git a/monkey/monkey_island/cc/ui/src/components/pages/StartOverPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js similarity index 95% rename from monkey/monkey_island/cc/ui/src/components/pages/StartOverPage.js rename to monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js index 84b84d6f7..857aa478a 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/StartOverPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js @@ -8,7 +8,7 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle'; import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck'; -class StartOverPageComponent extends AuthComponent { +class ResetPageComponent extends AuthComponent { constructor(props) { super(props); @@ -43,7 +43,7 @@ class StartOverPageComponent extends AuthComponent { allMonkeysAreDead={this.state.allMonkeysAreDead} onVerify={this.cleanup} onClose={this.closeModal}/> -

    Start Over

    +

    Reset

    If you are finished and want to start over with a fresh configuration, erase the logs and clear the map @@ -101,4 +101,4 @@ class StartOverPageComponent extends AuthComponent { }; } -export default StartOverPageComponent; +export default ResetPageComponent;