From 6bb5bf85bd2ac98b00db5186ba90380193c1ef9c Mon Sep 17 00:00:00 2001 From: Daniil Palagin Date: Thu, 29 Aug 2024 10:11:59 +0200 Subject: [PATCH] [#51] Refactor js extension to jsx --- src/components/{App.js => App.jsx} | 2 +- src/components/{DelayRender.js => DelayRender.jsx} | 0 src/components/{DynamicPage.js => DynamicPage.jsx} | 0 src/components/{Executions.js => Executions.jsx} | 0 src/components/{Features.js => Features.jsx} | 0 src/components/{Home.js => Home.jsx} | 0 src/components/{Layout.js => Layout.jsx} | 0 src/components/{Loading.js => Loading.jsx} | 0 .../{ModuleTypesSelection.js => ModuleTypesSelection.jsx} | 0 src/components/{NavbarMenu.js => NavbarMenu.jsx} | 0 src/components/{NoMatch.js => NoMatch.jsx} | 0 src/components/{Profile.js => Profile.jsx} | 0 .../{ScriptFunctionSelection.js => ScriptFunctionSelection.jsx} | 0 src/components/{Scripts.js => Scripts.jsx} | 0 src/components/dagre/{Dagre.js => Dagre.jsx} | 0 src/components/dagre/{DagreIcons.js => DagreIcons.jsx} | 0 src/components/modal/{ErrorModal.js => ErrorModal.jsx} | 0 .../{FunctionExecutionModal.js => FunctionExecutionModal.jsx} | 0 .../modal/{MoveModuleModal.js => MoveModuleModal.jsx} | 0 ...ScriptActionsModuleModal.js => ScriptActionsModuleModal.jsx} | 0 .../modal/{ScriptExecutionModal.js => ScriptExecutionModal.jsx} | 0 .../modal/{ScriptOntologyModal.js => ScriptOntologyModal.jsx} | 0 .../{ValidationReportModal.js => ValidationReportModal.jsx} | 0 src/components/rest/{Rest.js => Rest.jsx} | 0 .../sform/{SFormsFunctionModal.js => SFormsFunctionModal.jsx} | 0 src/components/sform/{SFormsModal.js => SFormsModal.jsx} | 0 .../{ScriptInputOutputModal.js => ScriptInputOutputModal.jsx} | 0 src/components/spinner/{Spinner.js => Spinner.jsx} | 0 src/components/treebeard/{Header.js => Header.jsx} | 0 src/components/treebeard/{ScriptsTree.js => ScriptsTree.jsx} | 0 src/components/treebeard/{styles.js => styles.jsx} | 0 src/{index.js => index.jsx} | 0 32 files changed, 1 insertion(+), 1 deletion(-) rename src/components/{App.js => App.jsx} (97%) rename src/components/{DelayRender.js => DelayRender.jsx} (100%) rename src/components/{DynamicPage.js => DynamicPage.jsx} (100%) rename src/components/{Executions.js => Executions.jsx} (100%) rename src/components/{Features.js => Features.jsx} (100%) rename src/components/{Home.js => Home.jsx} (100%) rename src/components/{Layout.js => Layout.jsx} (100%) rename src/components/{Loading.js => Loading.jsx} (100%) rename src/components/{ModuleTypesSelection.js => ModuleTypesSelection.jsx} (100%) rename src/components/{NavbarMenu.js => NavbarMenu.jsx} (100%) rename src/components/{NoMatch.js => NoMatch.jsx} (100%) rename src/components/{Profile.js => Profile.jsx} (100%) rename src/components/{ScriptFunctionSelection.js => ScriptFunctionSelection.jsx} (100%) rename src/components/{Scripts.js => Scripts.jsx} (100%) rename src/components/dagre/{Dagre.js => Dagre.jsx} (100%) rename src/components/dagre/{DagreIcons.js => DagreIcons.jsx} (100%) rename src/components/modal/{ErrorModal.js => ErrorModal.jsx} (100%) rename src/components/modal/{FunctionExecutionModal.js => FunctionExecutionModal.jsx} (100%) rename src/components/modal/{MoveModuleModal.js => MoveModuleModal.jsx} (100%) rename src/components/modal/{ScriptActionsModuleModal.js => ScriptActionsModuleModal.jsx} (100%) rename src/components/modal/{ScriptExecutionModal.js => ScriptExecutionModal.jsx} (100%) rename src/components/modal/{ScriptOntologyModal.js => ScriptOntologyModal.jsx} (100%) rename src/components/modal/{ValidationReportModal.js => ValidationReportModal.jsx} (100%) rename src/components/rest/{Rest.js => Rest.jsx} (100%) rename src/components/sform/{SFormsFunctionModal.js => SFormsFunctionModal.jsx} (100%) rename src/components/sform/{SFormsModal.js => SFormsModal.jsx} (100%) rename src/components/sform/{ScriptInputOutputModal.js => ScriptInputOutputModal.jsx} (100%) rename src/components/spinner/{Spinner.js => Spinner.jsx} (100%) rename src/components/treebeard/{Header.js => Header.jsx} (100%) rename src/components/treebeard/{ScriptsTree.js => ScriptsTree.jsx} (100%) rename src/components/treebeard/{styles.js => styles.jsx} (100%) rename src/{index.js => index.jsx} (100%) diff --git a/src/components/App.js b/src/components/App.jsx similarity index 97% rename from src/components/App.js rename to src/components/App.jsx index 4294925..81a4f35 100644 --- a/src/components/App.js +++ b/src/components/App.jsx @@ -14,7 +14,7 @@ const Executions = importedComponent(() => import(/* webpackChunkName:'Execution const AsyncDynamicPAge = importedComponent(() => import(/* webpackChunkName:'DynamicPage' */ "./DynamicPage"), { LoadingComponent: Loading, }); -const AsyncDagre = importedComponent(() => import(/* webpackChunkName:'Dagre' */ "./dagre/Dagre.js"), { +const AsyncDagre = importedComponent(() => import(/* webpackChunkName:'Dagre' */ "./dagre/Dagre.jsx"), { LoadingComponent: Loading, }); const AsyncNoMatch = importedComponent(() => import(/* webpackChunkName:'NoMatch' */ "./NoMatch"), { diff --git a/src/components/DelayRender.js b/src/components/DelayRender.jsx similarity index 100% rename from src/components/DelayRender.js rename to src/components/DelayRender.jsx diff --git a/src/components/DynamicPage.js b/src/components/DynamicPage.jsx similarity index 100% rename from src/components/DynamicPage.js rename to src/components/DynamicPage.jsx diff --git a/src/components/Executions.js b/src/components/Executions.jsx similarity index 100% rename from src/components/Executions.js rename to src/components/Executions.jsx diff --git a/src/components/Features.js b/src/components/Features.jsx similarity index 100% rename from src/components/Features.js rename to src/components/Features.jsx diff --git a/src/components/Home.js b/src/components/Home.jsx similarity index 100% rename from src/components/Home.js rename to src/components/Home.jsx diff --git a/src/components/Layout.js b/src/components/Layout.jsx similarity index 100% rename from src/components/Layout.js rename to src/components/Layout.jsx diff --git a/src/components/Loading.js b/src/components/Loading.jsx similarity index 100% rename from src/components/Loading.js rename to src/components/Loading.jsx diff --git a/src/components/ModuleTypesSelection.js b/src/components/ModuleTypesSelection.jsx similarity index 100% rename from src/components/ModuleTypesSelection.js rename to src/components/ModuleTypesSelection.jsx diff --git a/src/components/NavbarMenu.js b/src/components/NavbarMenu.jsx similarity index 100% rename from src/components/NavbarMenu.js rename to src/components/NavbarMenu.jsx diff --git a/src/components/NoMatch.js b/src/components/NoMatch.jsx similarity index 100% rename from src/components/NoMatch.js rename to src/components/NoMatch.jsx diff --git a/src/components/Profile.js b/src/components/Profile.jsx similarity index 100% rename from src/components/Profile.js rename to src/components/Profile.jsx diff --git a/src/components/ScriptFunctionSelection.js b/src/components/ScriptFunctionSelection.jsx similarity index 100% rename from src/components/ScriptFunctionSelection.js rename to src/components/ScriptFunctionSelection.jsx diff --git a/src/components/Scripts.js b/src/components/Scripts.jsx similarity index 100% rename from src/components/Scripts.js rename to src/components/Scripts.jsx diff --git a/src/components/dagre/Dagre.js b/src/components/dagre/Dagre.jsx similarity index 100% rename from src/components/dagre/Dagre.js rename to src/components/dagre/Dagre.jsx diff --git a/src/components/dagre/DagreIcons.js b/src/components/dagre/DagreIcons.jsx similarity index 100% rename from src/components/dagre/DagreIcons.js rename to src/components/dagre/DagreIcons.jsx diff --git a/src/components/modal/ErrorModal.js b/src/components/modal/ErrorModal.jsx similarity index 100% rename from src/components/modal/ErrorModal.js rename to src/components/modal/ErrorModal.jsx diff --git a/src/components/modal/FunctionExecutionModal.js b/src/components/modal/FunctionExecutionModal.jsx similarity index 100% rename from src/components/modal/FunctionExecutionModal.js rename to src/components/modal/FunctionExecutionModal.jsx diff --git a/src/components/modal/MoveModuleModal.js b/src/components/modal/MoveModuleModal.jsx similarity index 100% rename from src/components/modal/MoveModuleModal.js rename to src/components/modal/MoveModuleModal.jsx diff --git a/src/components/modal/ScriptActionsModuleModal.js b/src/components/modal/ScriptActionsModuleModal.jsx similarity index 100% rename from src/components/modal/ScriptActionsModuleModal.js rename to src/components/modal/ScriptActionsModuleModal.jsx diff --git a/src/components/modal/ScriptExecutionModal.js b/src/components/modal/ScriptExecutionModal.jsx similarity index 100% rename from src/components/modal/ScriptExecutionModal.js rename to src/components/modal/ScriptExecutionModal.jsx diff --git a/src/components/modal/ScriptOntologyModal.js b/src/components/modal/ScriptOntologyModal.jsx similarity index 100% rename from src/components/modal/ScriptOntologyModal.js rename to src/components/modal/ScriptOntologyModal.jsx diff --git a/src/components/modal/ValidationReportModal.js b/src/components/modal/ValidationReportModal.jsx similarity index 100% rename from src/components/modal/ValidationReportModal.js rename to src/components/modal/ValidationReportModal.jsx diff --git a/src/components/rest/Rest.js b/src/components/rest/Rest.jsx similarity index 100% rename from src/components/rest/Rest.js rename to src/components/rest/Rest.jsx diff --git a/src/components/sform/SFormsFunctionModal.js b/src/components/sform/SFormsFunctionModal.jsx similarity index 100% rename from src/components/sform/SFormsFunctionModal.js rename to src/components/sform/SFormsFunctionModal.jsx diff --git a/src/components/sform/SFormsModal.js b/src/components/sform/SFormsModal.jsx similarity index 100% rename from src/components/sform/SFormsModal.js rename to src/components/sform/SFormsModal.jsx diff --git a/src/components/sform/ScriptInputOutputModal.js b/src/components/sform/ScriptInputOutputModal.jsx similarity index 100% rename from src/components/sform/ScriptInputOutputModal.js rename to src/components/sform/ScriptInputOutputModal.jsx diff --git a/src/components/spinner/Spinner.js b/src/components/spinner/Spinner.jsx similarity index 100% rename from src/components/spinner/Spinner.js rename to src/components/spinner/Spinner.jsx diff --git a/src/components/treebeard/Header.js b/src/components/treebeard/Header.jsx similarity index 100% rename from src/components/treebeard/Header.js rename to src/components/treebeard/Header.jsx diff --git a/src/components/treebeard/ScriptsTree.js b/src/components/treebeard/ScriptsTree.jsx similarity index 100% rename from src/components/treebeard/ScriptsTree.js rename to src/components/treebeard/ScriptsTree.jsx diff --git a/src/components/treebeard/styles.js b/src/components/treebeard/styles.jsx similarity index 100% rename from src/components/treebeard/styles.js rename to src/components/treebeard/styles.jsx diff --git a/src/index.js b/src/index.jsx similarity index 100% rename from src/index.js rename to src/index.jsx