From b07b9078948bf37291e3cc576c9e99544bf4fef2 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Thu, 19 Oct 2023 11:26:04 +0300
Subject: [PATCH] question dropdown reanames

---
 editors/demo/config-overrides.js              |  5 ++++
 editors/demo/src/Editors.js                   | 28 ++++++-------------
 .../DropDownComponent.js                      |  8 +++---
 3 files changed, 17 insertions(+), 24 deletions(-)

diff --git a/editors/demo/config-overrides.js b/editors/demo/config-overrides.js
index bd35c480b..38e43053b 100644
--- a/editors/demo/config-overrides.js
+++ b/editors/demo/config-overrides.js
@@ -24,6 +24,11 @@ module.exports = function override(config, env) {
         '../../wax-table-service/index',
       ),
     };
+  } else {
+    require('wax-prosemirror-core/dist/index.css');
+    require('wax-prosemirror-services/dist/index.css');
+    require('wax-questions-service/dist/index.css');
+    require('wax-table-service/dist/index.css');
   }
 
   config.module = {
diff --git a/editors/demo/src/Editors.js b/editors/demo/src/Editors.js
index 64ac46a24..0e36a5c07 100644
--- a/editors/demo/src/Editors.js
+++ b/editors/demo/src/Editors.js
@@ -11,18 +11,13 @@ import OEN from './OEN/OEN';
 import en from './locale/en';
 import es from './locale/es';
 
-// import 'wax-prosemirror-core/dist/index.css';
-// import 'wax-prosemirror-services/dist/index.css';
-// import 'wax-questions-service/dist/index.css';
-// import 'wax-table-service/dist/index.css';
-
-i18next.use(initReactI18next).init({
-  resources: { es },
-  lng: 'es',
-  interpolation: {
-    escapeValue: false,
-  },
-});
+// i18next.use(initReactI18next).init({
+//   resources: { es },
+//   lng: 'es',
+//   interpolation: {
+//     escapeValue: false,
+//   },
+// });
 
 const GlobalStyle = createGlobalStyle`
   body {
@@ -77,13 +72,6 @@ const ProjectButton = styled.button`
   padding: 8px 15px 8px 15px;
   ${props => props.isActive && activeStyles}
 `;
-i18next.use(initReactI18next).init({
-  resources: { es },
-  lng: 'es',
-  interpolation: {
-    escapeValue: false,
-  },
-});
 
 const Editors = () => {
   const [project, setProject] = useState('hhmi');
@@ -112,7 +100,7 @@ const Editors = () => {
       <ChooseProject>
         <Projects>
           <span>Select Project:</span>
-          <button onMouseDown={onClick}>hhh</button>
+          {/* <button onMouseDown={onClick}>hhh</button> */}
           <ProjectButton
             isActive={project === 'hhmi'}
             onClick={() => setProject('hhmi')}
diff --git a/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js b/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js
index f94fc6c89..a58b93166 100644
--- a/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js
+++ b/wax-questions-service/src/QuestionsDropDownToolGroupService/DropDownComponent.js
@@ -68,22 +68,22 @@ const StyledIcon = styled(Icon)`
 const DropDownComponent = ({ view, tools }) => {
   const dropDownOptions = [
     {
-      label: 'Multiple choice',
+      label: 'Multi-Select',
       value: '0',
       item: tools[0],
     },
     {
-      label: 'Multiple choice (single correct)',
+      label: 'Multiple Choice',
       value: '1',
       item: tools[1],
     },
     {
-      label: 'True/False',
+      label: 'Multiple True/False',
       value: '2',
       item: tools[2],
     },
     {
-      label: 'True/False (single correct)',
+      label: 'True/False',
       value: '3',
       item: tools[3],
     },
-- 
GitLab