From 9f9fdca8fab4e1a26b4fb0ab8277c3024e130975 Mon Sep 17 00:00:00 2001
From: Samir Kamal <1954121+skamril@users.noreply.github.com>
Date: Tue, 6 Feb 2024 10:46:58 +0100
Subject: [PATCH] save
---
.../CommandListItem/style.ts | 2 +-
.../HomeView/InformationView/Notes/utils.ts | 2 +-
.../App/Singlestudy/NavHeader/Actions.tsx | 13 +-
.../App/Singlestudy/NavHeader/index.tsx | 2 +-
.../App/Singlestudy/UpgradeDialog.tsx | 1 -
.../explore/Configuration/General/Fields.tsx | 10 +-
.../AddConstraintTermForm/index.tsx | 2 -
.../BindingConstView/ConstraintTerm/index.tsx | 2 -
.../BindingConstView/constraintviews/style.ts | 2 +-
.../Modelization/Map/Areas/AreaConfig.tsx | 1 -
.../Districts/UpdateDistrictDialog.tsx | 1 -
.../MapConfig/Layers/UpdateLayerDialog.tsx | 1 -
.../Xpansion/Candidates/CandidateForm.tsx | 6 -
.../Xpansion/Settings/SettingsForm.tsx | 10 +-
.../ExportModal/ExportFilter/Filter/index.tsx | 2 -
.../ExportFilter/TagSelect/index.tsx | 1 -
.../components/App/Studies/FilterDrawer.tsx | 2 +-
.../components/App/Studies/HeaderBottom.tsx | 6 -
.../components/App/Studies/LauncherDialog.tsx | 4 -
webapp/src/components/App/Studies/SideNav.tsx | 2 +-
.../App/Studies/StudiesList/index.tsx | 6 +-
.../src/components/App/Studies/StudyCard.tsx | 1 -
webapp/src/components/App/Tasks/index.tsx | 2 -
webapp/src/components/App/index.tsx | 24 +-
webapp/src/components/App/theme.ts | 244 +++++++++++++++++
.../components/common/FormGenerator/index.tsx | 4 -
webapp/src/components/common/Handsontable.tsx | 2 +-
webapp/src/components/common/SelectMulti.tsx | 1 -
.../common/fieldEditors/CheckboxesTagsFE.tsx | 5 +-
.../src/components/wrappers/LoginWrapper.tsx | 2 -
.../components/wrappers/MenuWrapper/index.tsx | 10 +-
.../components/wrappers/MenuWrapper/styles.ts | 4 +-
webapp/src/theme.ts | 247 ------------------
33 files changed, 282 insertions(+), 342 deletions(-)
create mode 100644 webapp/src/components/App/theme.ts
delete mode 100644 webapp/src/theme.ts
diff --git a/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts b/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts
index 55b979cdfc..9e21b56b7c 100644
--- a/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts
+++ b/webapp/src/components/App/Singlestudy/Commands/Edition/DraggableCommands/CommandListItem/style.ts
@@ -1,6 +1,6 @@
import { Accordion, Box, styled } from "@mui/material";
import DeleteIcon from "@mui/icons-material/HighlightOff";
-import { PAPER_BACKGROUND_NO_TRANSPARENCY } from "../../../../../../../theme";
+import { PAPER_BACKGROUND_NO_TRANSPARENCY } from "../../../../../theme";
export const ItemContainer = styled(Box, {
shouldForwardProp: (prop) => prop !== "onTopVisible",
diff --git a/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts b/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts
index 91ca0f7b57..471e22f654 100644
--- a/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts
+++ b/webapp/src/components/App/Singlestudy/HomeView/InformationView/Notes/utils.ts
@@ -4,7 +4,7 @@ import { ContentState, convertToRaw, EditorState } from "draft-js";
import draftToHtml from "draftjs-to-html";
import { convertFromHTML } from "draft-convert";
import { Element as XMLElement, js2xml, xml2json } from "xml-js";
-import theme from "../../../../../../theme";
+import theme from "../../../../theme";
interface BlockMap {
from: string;
diff --git a/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx b/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx
index b922b7589c..814d476ab8 100644
--- a/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx
+++ b/webapp/src/components/App/Singlestudy/NavHeader/Actions.tsx
@@ -124,18 +124,11 @@ function Actions({
/>
{isManaged ? (
-
+
) : (
-
+
)}
- {study.tags?.map((tag) => (
-
- ))}
+ {study.tags?.map((tag) => )}
{isExplorer && (
diff --git a/webapp/src/components/App/Singlestudy/explore/Configuration/General/Fields.tsx b/webapp/src/components/App/Singlestudy/explore/Configuration/General/Fields.tsx
index 0fe6af285b..8913ce3f49 100644
--- a/webapp/src/components/App/Singlestudy/explore/Configuration/General/Fields.tsx
+++ b/webapp/src/components/App/Singlestudy/explore/Configuration/General/Fields.tsx
@@ -141,7 +141,6 @@ function Fields(props: Props) {