From bc1c5345317f1aa99a81223af54e5cb07bc1c337 Mon Sep 17 00:00:00 2001 From: Rahul Chougule Date: Sat, 28 Dec 2024 10:05:49 +0530 Subject: [PATCH 1/7] changed green to blue --- src/style/app.module.css | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/style/app.module.css b/src/style/app.module.css index 6be00d217a..10b9725c50 100644 --- a/src/style/app.module.css +++ b/src/style/app.module.css @@ -30,6 +30,7 @@ --tablerow-bg-color: #eff1f7; --row-background: var(--bs-white, white); --font-size-header: 16px; + --bg-blue: #afffe8; } .fonts { color: #707070; @@ -117,7 +118,7 @@ font-size: 20px; margin-bottom: 30px; padding-bottom: 5px; - border-bottom: 3px solid #31bb6b; + border-bottom: 3px solid var(--bg-blue); width: 15%; } @@ -127,7 +128,7 @@ font-size: 18px; margin-bottom: 20px; padding-bottom: 5px; - border-bottom: 3px solid #31bb6b; + border-bottom: 3px solid var(--bg-blue); width: 60%; } @@ -610,7 +611,7 @@ hr { .pageNotFound h1.head { font-size: 250px; font-weight: 900; - color: #31bb6b; + color: var(--bg-blue); letter-spacing: 25px; margin: 10px 0 0 0; } @@ -690,7 +691,7 @@ hr { .inputFieldPledge { background-color: var(--bs-white); - box-shadow: 0 1px 1px #31bb6b; + box-shadow: 0 1px 1px var(--bg-blue); } .dropdownPledge { @@ -856,7 +857,7 @@ hr { } .toggleBtnPledge:hover { - color: #31bb6b !important; + color: var(--bg-blue) !important; } .card { @@ -1007,7 +1008,7 @@ hr { } .customcell { - background-color: #31bb6b !important; + background-color: var(--bg-blue) !important; color: var(--bs-white) !important; font-size: medium !important; font-weight: 500 !important; @@ -1033,7 +1034,7 @@ hr { } .table-body > .table-row:nth-child(2n) { - background: #afffe8 !important; + background: var(--bg-blue) !important; } .organizationFundCampaignContainer { @@ -1469,7 +1470,7 @@ hr { } .toggleBtn:hover { - color: #31bb6b !important; + color: var(--bg-blue) !important; } input[type='radio']:checked + label { @@ -1580,10 +1581,10 @@ input[type='radio']:checked + label:hover { .dropdowns { background-color: var(--bs-white); - border: 1px solid #31bb6b; + border: 1px solid var(--dropdown-border-color); position: relative; display: inline-block; - color: #31bb6b; + color: black; } .chipIcon { @@ -1682,6 +1683,7 @@ input[type='radio']:checked + label:hover { border: 0.5px solid var(--brown-color); } .searchButtonOrgList { + background-color: var(--bg-blue); position: absolute; z-index: 10; bottom: 0; @@ -3219,7 +3221,7 @@ button[data-testid='createPostBtn'] { display: flex !important; align-items: center; background-color: transparent; - color: #31bb6b; + color: var(--bg-blue); } .entryaction .spinner-grow { From 771a2024fb6f6a6fc119550d1a238e5766accf0b Mon Sep 17 00:00:00 2001 From: rahul Date: Thu, 2 Jan 2025 21:14:39 +0530 Subject: [PATCH 2/7] updated funds section --- src/assets/css/app.css | 2 +- .../OrgListCard/OrgListCard.module.css | 4 + .../FundCampaignPledge/FundCampaignPledge.tsx | 19 ++- .../FundCampaignPledge/PledgeModal.tsx | 2 +- src/screens/OrgList/OrgList.tsx | 5 +- .../CampaignModal.tsx | 2 +- .../OrganizationFundCampagins.tsx | 139 +++++++++--------- src/screens/OrganizationFunds/FundModal.tsx | 6 +- .../OrganizationFunds/OrganizationFunds.tsx | 20 +-- src/style/app.module.css | 72 ++++++++- 10 files changed, 168 insertions(+), 103 deletions(-) diff --git a/src/assets/css/app.css b/src/assets/css/app.css index b3a8613975..e80ea147e1 100644 --- a/src/assets/css/app.css +++ b/src/assets/css/app.css @@ -5644,7 +5644,7 @@ fieldset:disabled .btn { --bs-progress-border-radius: var(--bs-border-radius); --bs-progress-box-shadow: var(--bs-box-shadow-inset); --bs-progress-bar-color: #fff; - --bs-progress-bar-bg: #31bb6b; + --bs-progress-bar-bg: #286fe0; --bs-progress-bar-transition: width 0.6s ease; display: flex; height: var(--bs-progress-height); diff --git a/src/components/OrgListCard/OrgListCard.module.css b/src/components/OrgListCard/OrgListCard.module.css index f242b39f01..292456f310 100644 --- a/src/components/OrgListCard/OrgListCard.module.css +++ b/src/components/OrgListCard/OrgListCard.module.css @@ -60,6 +60,10 @@ border: 1px solid var(--dropdown-border-color); } +.manageBtn:hover { + border: 1px solid var(--dropdown-border-color) !important; +} + .orgName { text-overflow: ellipsis; white-space: nowrap; diff --git a/src/screens/FundCampaignPledge/FundCampaignPledge.tsx b/src/screens/FundCampaignPledge/FundCampaignPledge.tsx index 8942265eea..9c5a0860ea 100644 --- a/src/screens/FundCampaignPledge/FundCampaignPledge.tsx +++ b/src/screens/FundCampaignPledge/FundCampaignPledge.tsx @@ -356,7 +356,7 @@ const fundCampaignPledge = (): JSX.Element => { - -
-
- - +
+
+ setSearchTerm(e.target.value)} + data-testid="searchFullName" + /> + +
+
+
+ + + + {tCommon('sort')} + + + setSortBy('fundingGoal_ASC')} + data-testid="fundingGoal_ASC" + > + {t('lowestGoal')} + + setSortBy('fundingGoal_DESC')} + data-testid="fundingGoal_DESC" + > + {t('highestGoal')} + + setSortBy('endDate_DESC')} + data-testid="endDate_DESC" + > + {t('latestEndDate')} + + setSortBy('endDate_ASC')} + data-testid="endDate_ASC" + > + {t('earliestEndDate')} + + + +
+
+
-
- + + {t('addCampaign')} + +
diff --git a/src/screens/OrganizationFunds/FundModal.tsx b/src/screens/OrganizationFunds/FundModal.tsx index b33270b30f..42806f7a30 100644 --- a/src/screens/OrganizationFunds/FundModal.tsx +++ b/src/screens/OrganizationFunds/FundModal.tsx @@ -228,7 +228,7 @@ const FundModal: React.FC = ({ type="checkbox" checked={formState.taxDeductible} data-testid="setTaxDeductibleSwitch" - className="ms-2" + className={`ms-2 ${styles.switch}`} onChange={() => setFormState({ ...formState, @@ -241,7 +241,7 @@ const FundModal: React.FC = ({ @@ -259,7 +259,7 @@ const FundModal: React.FC = ({ type="checkbox" checked={formState.isArchived} data-testid="archivedSwitch" - className="ms-2" + className={`ms-2 ${styles.switch}`} onChange={() => setFormState({ ...formState, diff --git a/src/screens/OrganizationFunds/OrganizationFunds.tsx b/src/screens/OrganizationFunds/OrganizationFunds.tsx index ec9409fbe0..efd936fca6 100644 --- a/src/screens/OrganizationFunds/OrganizationFunds.tsx +++ b/src/screens/OrganizationFunds/OrganizationFunds.tsx @@ -160,7 +160,7 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, align: 'center', headerAlign: 'center', - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, sortable: false, renderCell: (params: GridCellParams) => { return
{params.row.id}
; @@ -174,11 +174,11 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return (
handleClick(params.row._id as string)} > @@ -195,7 +195,7 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return params.row.creator.firstName + ' ' + params.row.creator.lastName; }, @@ -207,7 +207,7 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, flex: 2, renderCell: (params: GridCellParams) => { return ( @@ -225,7 +225,7 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return params.row.isArchived ? 'Archived' : 'Active'; }, @@ -238,7 +238,7 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return ( <> @@ -266,7 +266,7 @@ const organizationFunds = (): JSX.Element => { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return (
- + ); diff --git a/src/style/app.module.css b/src/style/app.module.css index 46ee28974c..e47cab329a 100644 --- a/src/style/app.module.css +++ b/src/style/app.module.css @@ -273,7 +273,15 @@ margin-bottom: 10px; } -.dropdown:is(:hover, :focus, :active, :focus-visible, .show, :disabled) { +.dropdown:is( + :hover, + :focus, + :active, + :focus-visible, + .show, + :disabled, + :checked + ) { background-color: transparent !important; border: 1px solid var(--brown-color); color: var(--brown-color) !important; @@ -281,6 +289,13 @@ .dropdown:is(:focus, :focus-visible) { outline: 2px solid var(--highlight-color, var(--search-button-bg)); + border: 1px solid var(--brown-color); +} + +.dropdown:not(:focus) { + background-color: var(--bs-white); + border: 1px solid var(--brown-color); + color: var(--brown-color) !important; } /* .dropdown:disabled { @@ -376,6 +391,11 @@ gap: 8px; } +.deleteButton:is(:hover, :active) { + background-color: var(--delete-button-color) !important; + color: white; +} + .actionItemDeleteButton { background-color: var(--delete-button-bg); color: var(--delete-button-color); @@ -411,7 +431,11 @@ margin-top: 10px; margin-bottom: 10px; background-color: var(--bs-white); - box-shadow: 0 1px 1px var(--input-shadow-color); + /* box-shadow: 0 1px 1px var(--input-shadow-color); */ +} + +.inputField:focus { + box-shadow: 0 0 0 0.25rem var(--search-button-bg); } .inputFieldModal { @@ -460,11 +484,34 @@ border-color: var(--search-button-border); } +.removeButton { + margin-bottom: 10px; + background-color: var(--delete-button-bg); + color: var(--delete-button-color); + margin-right: 10px; +} + +.removeButton:is(:hover, :active, :focus) { + background-color: var(--delete-button-color) !important; + border-color: var(--delete-button-color); + color: white; +} + .yesButton { background-color: var(--search-button-bg); border-color: var(--search-button-border); } +.regularBtn { + background-color: var(--search-button-bg); + border-color: var(--search-button-border); +} + +.regularBtn:is(:hover, :active) { + background-color: #286fe0 !important; + border-color: var(--search-button-border) !important; +} + .searchIcon { color: var(--brown-color); } @@ -899,9 +946,9 @@ hr { gap: 0.3rem; } -.progressBar .bg-info { +/* .progressBar .bg-info { background-color: #286fe0 !important; -} +} */ .endpoints { display: flex; From 8090392afc6f2455e22558b631d494a89b6b8e8b Mon Sep 17 00:00:00 2001 From: rahul Date: Tue, 7 Jan 2025 00:33:23 +0530 Subject: [PATCH 4/7] updated Tags section --- .../AddPeopleToTag/AddPeopleToTag.module.css | 54 ------------------- .../AddPeopleToTag/AddPeopleToTag.tsx | 18 ++++--- .../TagActions/TagActions.module.css | 42 --------------- src/components/TagActions/TagActions.tsx | 15 ++++-- src/components/TagActions/TagNode.tsx | 2 +- src/screens/ManageTag/EditUserTagModal.tsx | 13 +++-- src/screens/ManageTag/ManageTag.tsx | 14 ++--- src/screens/ManageTag/RemoveUserTagModal.tsx | 7 +-- .../ManageTag/UnassignUserTagModal.tsx | 8 +-- .../OrganizationTags/OrganizationTags.tsx | 8 +-- src/screens/SubTags/SubTags.tsx | 8 +-- src/style/app.module.css | 41 +++++++++++++- src/utils/organizationTagsUtils.ts | 6 +++ 13 files changed, 103 insertions(+), 133 deletions(-) delete mode 100644 src/components/AddPeopleToTag/AddPeopleToTag.module.css delete mode 100644 src/components/TagActions/TagActions.module.css diff --git a/src/components/AddPeopleToTag/AddPeopleToTag.module.css b/src/components/AddPeopleToTag/AddPeopleToTag.module.css deleted file mode 100644 index 5dd04ffed5..0000000000 --- a/src/components/AddPeopleToTag/AddPeopleToTag.module.css +++ /dev/null @@ -1,54 +0,0 @@ -.errorContainer { - min-height: 100vh; -} - -.errorMessage { - margin-top: 25%; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; -} - -.errorIcon { - transform: scale(1.5); - color: var(--bs-danger); - margin-bottom: 1rem; -} - -.tableHeader { - background-color: var(--bs-primary); - color: var(--bs-white); - font-size: 1rem; -} - -.rowBackground { - background-color: var(--bs-white); - max-height: 120px; -} - -.scrollContainer { - height: 100px; - overflow-y: auto; - margin-bottom: 1rem; -} - -.memberBadge { - display: flex; - align-items: center; - padding: 5px 10px; - border-radius: 12px; - box-shadow: 0 1px 3px var(--bs-gray-400); - max-width: calc(100% - 2rem); -} - -.removeFilterIcon { - cursor: pointer; -} - -.loadingDiv { - min-height: 300px; - display: flex; - justify-content: center; - align-items: center; -} diff --git a/src/components/AddPeopleToTag/AddPeopleToTag.tsx b/src/components/AddPeopleToTag/AddPeopleToTag.tsx index 51d21a6a1c..450051794c 100644 --- a/src/components/AddPeopleToTag/AddPeopleToTag.tsx +++ b/src/components/AddPeopleToTag/AddPeopleToTag.tsx @@ -7,7 +7,7 @@ import React, { useEffect, useState } from 'react'; import { Modal, Form, Button } from 'react-bootstrap'; import { useParams } from 'react-router-dom'; import type { InterfaceQueryUserTagsMembersToAssignTo } from 'utils/interfaces'; -import styles from './AddPeopleToTag.module.css'; +import styles from '../../style/app.module.css'; import type { InterfaceTagUsersToAssignToQuery } from 'utils/organizationTagsUtils'; import { TAGS_QUERY_DATA_CHUNK_SIZE, @@ -244,7 +244,10 @@ const AddPeopleToTag: React.FC = ({ data-testid={ isToBeAssigned ? 'deselectMemberBtn' : 'selectMemberBtn' } - variant={!isToBeAssigned ? 'primary' : 'danger'} + // variant={!isToBeAssigned ? 'primary' : 'danger'} + className={ + !isToBeAssigned ? styles.editButton : `btn btn-danger btn-sm` + } > {isToBeAssigned ? 'x' : '+'} @@ -263,7 +266,7 @@ const AddPeopleToTag: React.FC = ({ centered > @@ -301,7 +304,7 @@ const AddPeopleToTag: React.FC = ({ setMemberToAssignToSearchFirstName(e.target.value.trim()) @@ -315,7 +318,7 @@ const AddPeopleToTag: React.FC = ({ setMemberToAssignToSearchLastName(e.target.value.trim()) @@ -396,16 +399,17 @@ const AddPeopleToTag: React.FC = ({ diff --git a/src/components/TagActions/TagActions.module.css b/src/components/TagActions/TagActions.module.css deleted file mode 100644 index 079dffea65..0000000000 --- a/src/components/TagActions/TagActions.module.css +++ /dev/null @@ -1,42 +0,0 @@ -.errorContainer { - min-height: 100vh; -} - -.errorMessage { - margin-top: 25%; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; -} - -.errorIcon { - transform: scale(1.5); - color: var(--bs-danger); - margin-bottom: 1rem; -} - -.scrollContainer { - height: 100px; - overflow-y: auto; -} - -.tagBadge { - display: flex; - align-items: center; - padding: 5px 10px; - border-radius: 12px; - box-shadow: 0 1px 3px var(--bs-gray-400); - max-width: calc(100% - 2rem); -} - -.removeFilterIcon { - cursor: pointer; -} - -.loadingDiv { - min-height: 300px; - display: flex; - justify-content: center; - align-items: center; -} diff --git a/src/components/TagActions/TagActions.tsx b/src/components/TagActions/TagActions.tsx index 083341372f..f7ffef8d38 100644 --- a/src/components/TagActions/TagActions.tsx +++ b/src/components/TagActions/TagActions.tsx @@ -7,7 +7,7 @@ import type { InterfaceQueryOrganizationUserTags, InterfaceTagData, } from 'utils/interfaces'; -import styles from './TagActions.module.css'; +import styles from '../../style/app.module.css'; import { ORGANIZATION_USER_TAGS_LIST } from 'GraphQl/Queries/OrganizationQueries'; import { ASSIGN_TO_TAGS, @@ -270,7 +270,7 @@ const TagActions: React.FC = ({ centered > @@ -312,7 +312,7 @@ const TagActions: React.FC = ({ setTagSearchName(e.target.value.trim())} data-testid="searchByName" @@ -388,13 +388,18 @@ const TagActions: React.FC = ({ - diff --git a/src/components/TagActions/TagNode.tsx b/src/components/TagActions/TagNode.tsx index fc41ef4066..05e3564a9b 100644 --- a/src/components/TagActions/TagNode.tsx +++ b/src/components/TagActions/TagNode.tsx @@ -7,7 +7,7 @@ import type { } from 'utils/interfaces'; import type { InterfaceOrganizationSubTagsQuery } from 'utils/organizationTagsUtils'; import { TAGS_QUERY_DATA_CHUNK_SIZE } from 'utils/organizationTagsUtils'; -import styles from './TagActions.module.css'; +import styles from '../../style/app.module.css'; import InfiniteScroll from 'react-infinite-scroll-component'; import InfiniteScrollLoader from 'components/InfiniteScrollLoader/InfiniteScrollLoader'; import { WarningAmberRounded } from '@mui/icons-material'; diff --git a/src/screens/ManageTag/EditUserTagModal.tsx b/src/screens/ManageTag/EditUserTagModal.tsx index 5fa8ae2771..f75c19cbb8 100644 --- a/src/screens/ManageTag/EditUserTagModal.tsx +++ b/src/screens/ManageTag/EditUserTagModal.tsx @@ -2,6 +2,7 @@ import type { TFunction } from 'i18next'; import type { FormEvent } from 'react'; import React from 'react'; import { Button, Form, Modal } from 'react-bootstrap'; +import styles from '../../style/app.module.css'; /** * Edit UserTag Modal component for the Manage Tag screen. @@ -37,7 +38,7 @@ const EditUserTagModal: React.FC = ({ centered > @@ -56,7 +57,7 @@ const EditUserTagModal: React.FC = ({ = ({ variant="secondary" onClick={(): void => hideEditUserTagModal()} data-testid="closeEditTagModalBtn" + className={styles.removeButton} > {tCommon('cancel')} - diff --git a/src/screens/ManageTag/ManageTag.tsx b/src/screens/ManageTag/ManageTag.tsx index 38466f6f11..d2af763dae 100644 --- a/src/screens/ManageTag/ManageTag.tsx +++ b/src/screens/ManageTag/ManageTag.tsx @@ -292,7 +292,7 @@ function ManageTag(): JSX.Element { minWidth: 100, align: 'center', headerAlign: 'center', - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, sortable: false, renderCell: (params: GridCellParams) => { return
{params.row.id}
; @@ -304,7 +304,7 @@ function ManageTag(): JSX.Element { flex: 2, minWidth: 100, sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return (
@@ -321,7 +321,7 @@ function ManageTag(): JSX.Element { minWidth: 100, headerAlign: 'center', sortable: false, - headerClassName: `${styles.tableHeaders}`, + headerClassName: `${styles.tableHeader}`, renderCell: (params: GridCellParams) => { return (
@@ -330,7 +330,9 @@ function ManageTag(): JSX.Element { state={{ id: params.row._id }} data-testid="viewProfileBtn" > -
+
{t('viewProfile')}
@@ -519,7 +521,7 @@ function ManageTag(): JSX.Element { setTagActionType('assignToTags'); showTagActionsModal(); }} - className="my-2 btn btn-primary btn-sm w-75" + className={`my-2 btn btn-primary btn-sm w-75 ${styles.editButton}`} data-testid="assignToTags" > {t('assignToTags')} @@ -543,7 +545,7 @@ function ManageTag(): JSX.Element { />
{tCommon('edit')} diff --git a/src/screens/ManageTag/RemoveUserTagModal.tsx b/src/screens/ManageTag/RemoveUserTagModal.tsx index dc000f443c..91ba0b38aa 100644 --- a/src/screens/ManageTag/RemoveUserTagModal.tsx +++ b/src/screens/ManageTag/RemoveUserTagModal.tsx @@ -1,6 +1,7 @@ import type { TFunction } from 'i18next'; import React from 'react'; import { Button, Modal } from 'react-bootstrap'; +import styles from '../../style/app.module.css'; /** * Remove UserTag Modal component for the Manage Tag screen. @@ -33,7 +34,7 @@ const RemoveUserTagModal: React.FC = ({ keyboard={false} centered > - + {t('removeUserTag')} @@ -44,7 +45,7 @@ const RemoveUserTagModal: React.FC = ({ @@ -407,6 +407,7 @@ function OrganizationTags(): JSX.Element { '& .MuiDataGrid-row': { backgroundColor: 'var(--tablerow-bg-color)', '&:focus-within': { + outline: '2px solid #000', outlineOffset: '-2px', }, }, @@ -419,6 +420,7 @@ function OrganizationTags(): JSX.Element { boxShadow: '0 0 0 1px rgba(0, 0, 0, 0.1)', }, '& .MuiDataGrid-cell:focus': { + outline: '2px solid #000', outlineOffset: '-2px', }, }} @@ -460,7 +462,7 @@ function OrganizationTags(): JSX.Element { hideCreateTagModal()} data-testid="closeCreateTagModal" - className={styles.closeButton} + className={styles.removeButton} > {tCommon('cancel')} diff --git a/src/screens/SubTags/SubTags.tsx b/src/screens/SubTags/SubTags.tsx index 6a20e875ec..e0763997e3 100644 --- a/src/screens/SubTags/SubTags.tsx +++ b/src/screens/SubTags/SubTags.tsx @@ -266,9 +266,9 @@ function SubTags(): JSX.Element { return ( @@ -445,7 +445,7 @@ function SubTags(): JSX.Element { centered > @@ -457,7 +457,7 @@ function SubTags(): JSX.Element { hideAddSubTagModal()} data-testid="addSubTagModalCloseBtn" - className={styles.closeButton} + className={styles.removeButton} > {tCommon('cancel')} diff --git a/src/style/app.module.css b/src/style/app.module.css index 981ff08b1e..5580f21ab2 100644 --- a/src/style/app.module.css +++ b/src/style/app.module.css @@ -491,6 +491,11 @@ border-color: var(--search-button-border); } +.addButton:not(:hover, :active, :focus) { + background-color: #286fe0 !important; + border-color: var(--search-button-border); +} + .removeButton { margin-bottom: 10px; background-color: var(--delete-button-bg); @@ -558,6 +563,37 @@ overflow-y: auto; } +.scrollContainer { + height: 100px; + overflow-y: auto; + margin-bottom: 1rem; +} + +.memberBadge { + display: flex; + align-items: center; + padding: 5px 10px; + border-radius: 12px; + box-shadow: 0 1px 3px var(--bs-gray-400); + max-width: calc(100% - 2rem); +} + +.loadingDiv { + min-height: 300px; + display: flex; + justify-content: center; + align-items: center; +} + +.tagBadge { + display: flex; + align-items: center; + padding: 5px 10px; + border-radius: 12px; + box-shadow: 0 1px 3px var(--bs-gray-400); + max-width: calc(100% - 2rem); +} + .tableHeader { background-color: var(--table-head-bg); color: var(--table-header-color); @@ -630,6 +666,7 @@ scrollbar-color: var(--bs-gray-400) var(--bs-white); max-height: calc(100vh - 18rem); overflow: auto; + margin-top: 20px !important; } .tagsBreadCrumbs:hover { @@ -737,7 +774,7 @@ hr { } .switch input { - /* box-shadow: 0 0 0.1rem 0.2rem var(--bg-blue); */ + box-shadow: 0 0 0.1rem 0.2rem var(--bg-blue); } .switch input:checked { @@ -1650,6 +1687,8 @@ hr { .modalHeader { border: none; padding-bottom: 0; + background-color: var(--bs-primary) !important; + padding: 1rem 1rem; } .label { diff --git a/src/utils/organizationTagsUtils.ts b/src/utils/organizationTagsUtils.ts index 56654a3abb..9105a5629e 100644 --- a/src/utils/organizationTagsUtils.ts +++ b/src/utils/organizationTagsUtils.ts @@ -18,9 +18,11 @@ export const dataGridStyle = { }, '& .MuiDataGrid-row:hover': { backgroundColor: 'transparent', + boxShadow: '0 0 0 1px rgba(0, 0, 0, 0.1)', }, '& .MuiDataGrid-row.Mui-hovered': { backgroundColor: 'transparent', + boxShadow: '0 0 0 1px rgba(0, 0, 0, 0.1)', }, '& .MuiDataGrid-root': { borderRadius: '0.1rem', @@ -36,6 +38,10 @@ export const dataGridStyle = { '& .MuiDataGrid-virtualScrollerContent': { marginTop: 6.5, }, + '& .MuiDataGrid-cell:focus': { + outline: '2px solid #000', + outlineOffset: '-2px', + }, }; // the data chunk size for tag related queries From 851e246acc2c3caa7fb8def9209036279cf901c6 Mon Sep 17 00:00:00 2001 From: rahul Date: Sat, 11 Jan 2025 21:15:10 +0530 Subject: [PATCH 5/7] venues, action items, advertisments, plugins sections updated --- .../AddOn/core/AddOnEntry/AddOnEntry.tsx | 6 +- .../AdvertisementEntry.module.css | 79 -------- .../AdvertisementEntry/AdvertisementEntry.tsx | 13 +- .../AdvertisementRegister.tsx | 12 +- .../EventCalendar/EventCalendar.tsx | 2 +- src/components/EventCalendar/EventHeader.tsx | 2 +- .../EventListCard/EventListCardModals.tsx | 38 ++-- .../OrgPostCard/DeletePostModal.tsx | 4 +- src/components/OrgPostCard/OrgPostCard.tsx | 17 +- src/components/Venues/VenueCard.tsx | 4 +- src/components/Venues/VenueModal.tsx | 4 + src/screens/BlockUser/BlockUser.tsx | 20 ++- src/screens/OrgPost/OrgPost.tsx | 10 +- .../ItemUpdateStatusModal.tsx | 13 +- .../OrganizationEvents/OrganizationEvents.tsx | 14 +- .../OrganizationFundCampagins.tsx | 68 +++---- src/style/app.module.css | 168 +++++++++++++----- 17 files changed, 260 insertions(+), 214 deletions(-) delete mode 100644 src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.module.css diff --git a/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx b/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx index 0d317266d9..9c9a822e22 100644 --- a/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx +++ b/src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx @@ -113,7 +113,11 @@ function addOnEntry({ {description} {formStatus === 'register' ? ( diff --git a/src/components/EventCalendar/EventCalendar.tsx b/src/components/EventCalendar/EventCalendar.tsx index c9048eb552..397df845fb 100644 --- a/src/components/EventCalendar/EventCalendar.tsx +++ b/src/components/EventCalendar/EventCalendar.tsx @@ -549,7 +549,7 @@ const Calendar: React.FC = ({
) : (
))} @@ -745,7 +746,7 @@ function EventListCardModals({
))} @@ -811,7 +813,7 @@ function EventListCardModals({ - diff --git a/src/components/Venues/VenueCard.tsx b/src/components/Venues/VenueCard.tsx index 43da734bd6..557a5c77e4 100644 --- a/src/components/Venues/VenueCard.tsx +++ b/src/components/Venues/VenueCard.tsx @@ -85,22 +85,22 @@ const VenueCard = ({
{/* Edit button */} {/* Delete button */}
-
-
-
+ {/*
*/} + {/*
*/} +
{ dataTestIdPrefix="userFilter" className={`${styles.createButton} mt-2`} /> +
+
{ />
+ {/*
*/} + {/*
*/}
{/* Table */} {loadingMembers === false && diff --git a/src/screens/OrgPost/OrgPost.tsx b/src/screens/OrgPost/OrgPost.tsx index 8ccdb47692..5bf11f5aba 100644 --- a/src/screens/OrgPost/OrgPost.tsx +++ b/src/screens/OrgPost/OrgPost.tsx @@ -413,7 +413,7 @@ function orgPost(): JSX.Element { {postformState.addMedia && file && ( @@ -506,13 +507,14 @@ function orgPost(): JSX.Element { pinPost: !postformState.pinPost, }) } + className={styles.switch} /> diff --git a/src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx b/src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx index 640fdde032..099a897435 100644 --- a/src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx +++ b/src/screens/OrganizationActionItems/ItemUpdateStatusModal.tsx @@ -113,17 +113,24 @@ const ItemUpdateStatusModal: FC = ({ {isCompleted ? (
- -
) : (
-
-
- - setSortBy( - value as - | 'fundingGoal_ASC' - | 'fundingGoal_DESC' - | 'endDate_ASC' - | 'endDate_DESC', - ) - } - dataTestIdPrefix="filter" - buttonLabel={tCommon('sort')} - /> -
-
- -
+ {/*
*/} +
+ + setSortBy( + value as + | 'fundingGoal_ASC' + | 'fundingGoal_DESC' + | 'endDate_ASC' + | 'endDate_DESC', + ) + } + dataTestIdPrefix="filter" + buttonLabel={tCommon('sort')} + /> +
+
+
+ {/*
*/}
diff --git a/src/style/app.module.css b/src/style/app.module.css index 9c1a168a01..dfba774886 100644 --- a/src/style/app.module.css +++ b/src/style/app.module.css @@ -55,7 +55,7 @@ --tablerow-bg: #eff1f7; --date-picker-bg: #f2f2f2; --table-bg-color: var(--grey-bg-color); - --tablerow-bg-color: var(--dropdown-hover-color); + --tablerow-bg-color: #ffffff; --row-background: var(--bs-white, var(--bs-white)); --modal-background: rgba(0, 0, 0, 0.7); @@ -91,17 +91,16 @@ --bs-gray-400: #9ca3af; --bs-gray-300: #d1d5db; --toggle-button-bg: #1e4e8c; - - --table-head-bg: var(--blue-subtle, var(--blue-color)); + --table-head-bg: #eaebef; --table-head-color: var(--bs-white, var(--white-color)); - - --table-header-color: var(--bs-white, var(--bs-gray-300)); + --table-header-color: #000000; --input-area-color: #f1f3f6; --date-picker-background: #f2f2f2; --grey-bg-color-dark: #707070; --dropdown-border-color: #cccccc; --primary-border-solid: 1px solid var(--dropdown-border-color); - --bg-blue: #a8c7fa; + --light-blue: #a8c7fa; + --dark-blue: #1778f2; --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* breakpoints */ @@ -196,7 +195,7 @@ font-size: 20px; margin-bottom: 30px; padding-bottom: 5px; - border-bottom: 3px solid var(--bg-blue); + border-bottom: 3px solid var(--light-blue); width: 15%; } @@ -206,7 +205,7 @@ font-size: 18px; margin-bottom: 20px; padding-bottom: 5px; - border-bottom: 3px solid var(--bg-blue); + border-bottom: 3px solid var(--light-blue); width: 60%; } @@ -442,11 +441,11 @@ margin-top: 10px; margin-bottom: 10px; background-color: var(--bs-white); - /* box-shadow: 0 1px 1px var(--input-shadow-color); */ + box-shadow: 0 1px 1px var(--input-shadow-color); } .inputField:focus { - box-shadow: 0 0 0 0.25rem var(--search-button-bg); + box-shadow: 0 0 0 0.25rem var(--light-blue); } .inputFieldModal { @@ -486,17 +485,12 @@ .addButton { margin-bottom: 10px; - background-color: var(--search-button-bg); + background-color: var(--light-blue); border-color: var(--grey-bg-color); } -.addButton:is(:hover, :active, :focus) { - background-color: #286fe0 !important; - border-color: var(--search-button-border); -} - -.addButton:not(:hover, :active, :focus) { - background-color: #286fe0 !important; +.addButton:is(:hover, :active) { + background-color: var(--dark-blue) !important; border-color: var(--search-button-border); } @@ -605,21 +599,18 @@ } .editButton { - background-color: var(--bs-primary); - color: var(--bs-white); + background-color: var(--light-blue); + color: var(--brown-color); border-color: var(--grey-bg-color); + --bs-btn-active-bg: var(--dark-blue); + --bs-btn-active-border-color: var(--grey-bg-color); } -.editButton:hover { - background-color: var(--subtle-blue-grey); +.editButton:is(:hover, :active) { + background-color: var(--dark-blue); border-color: var(--search-button-border); } -.editButton:focus, -.editButton:active { - background-color: var(--bs-primary) !important; -} - .errorContainer { min-height: 100vh; } @@ -778,13 +769,14 @@ hr { } .switch input { - box-shadow: 0 0 0.1rem 0.2rem var(--bg-blue); + /* box-shadow: 0 0 0.1rem 0.2rem var(--light-blue); */ + --bs-form-switch-bg: transparent; } .switch input:checked { - background-color: #286fe0; - border: var(--bs-primary); - box-shadow: 0 0 0.1rem 0.2rem var(--bg-blue); + background-color: var(--dark-blue); + border-color: var(--dark-blue); + box-shadow: 0 0 0.1rem 0.2rem var(--light-blue); } .pageNotFound { @@ -811,7 +803,7 @@ hr { .pageNotFound h1.head { font-size: 250px; font-weight: 900; - color: var(--bg-blue); + color: var(--light-blue); letter-spacing: 25px; margin: 10px 0 0 0; } @@ -892,7 +884,7 @@ hr { .inputFieldPledge { background-color: var(--bs-white); - box-shadow: 0 1px 1px var(--bg-blue); + box-shadow: 0 1px 1px var(--light-blue); } .dropdownPledge { @@ -1072,7 +1064,7 @@ hr { } .toggleBtnPledge:is(:hover) + label { - color: var(--bg-blue) !important; + color: var(--light-blue) !important; } .card { @@ -1323,7 +1315,7 @@ hr { } .customcell { - background-color: var(--bg-blue) !important; + background-color: var(--light-blue) !important; color: var(--bs-white) !important; font-size: medium !important; font-weight: 500 !important; @@ -1349,7 +1341,7 @@ hr { } .table-body > .table-row:nth-child(2n) { - background: var(--bg-blue) !important; + background: var(--light-blue) !important; } .organizationFundCampaignContainer { @@ -1716,8 +1708,13 @@ hr { .modalHeader { border: none; padding-bottom: 0; - background-color: var(--bs-primary) !important; + background-color: var(--white-color) !important; padding: 1rem 1rem; + color: #000000; +} + +.modalHeader div { + color: #000000 !important; } .label { @@ -1814,7 +1811,7 @@ hr { } .toggleBtn:hover { - color: var(--bg-blue) !important; + color: var(--light-blue) !important; } input[type='radio']:checked + label { @@ -1941,12 +1938,19 @@ input[type='radio']:checked + label:hover { .active { background-color: var(--status-active-bg); + color: var(--light-blue) !important; + border-color: var(--light-blue) !important; } .pending { background-color: var(--status-pending-bg); - color: var(--status-pending-text); - border-color: var(--status-pending-border); + color: var(--light-blue) !important; + border-color: var(--light-blue) !important; +} + +.checkboxButton input:checked { + background-color: var(--dark-blue); + border-color: var(--dark-blue); } /* Modals */ @@ -2027,7 +2031,7 @@ input[type='radio']:checked + label:hover { border: 0.5px solid var(--brown-color); } .searchButtonOrgList { - background-color: var(--bg-blue); + background-color: var(--light-blue); position: absolute; z-index: 10; bottom: 0; @@ -3565,7 +3569,7 @@ button[data-testid='createPostBtn'] { display: flex !important; align-items: center; background-color: transparent; - color: var(--bg-blue); + color: var(--light-blue); } .entryaction .spinner-grow { @@ -3575,6 +3579,86 @@ button[data-testid='createPostBtn'] { } } +.entrytoggle { + margin: 24px 24px 0 auto; + width: fit-content; +} + +.entryaction { + display: flex !important; +} + +.entryaction i { + margin-right: 8px; + margin-top: 4px; +} + +.entryaction .spinner-grow { + height: 1rem; + width: 1rem; + margin-right: 8px; +} + +.admedia { + object-fit: cover; + height: 16rem; +} + +.buttons { + display: flex; + justify-content: flex-end; +} + +.addCard { + width: 28rem; +} + +.dropdownButton { + background-color: transparent; + color: #000; + border: none; + cursor: pointer; + display: flex; + width: 100%; + justify-content: flex-end; + padding: 8px 10px; +} + +.dropdownContainer { + position: relative; + display: inline-block; +} + +.dropdownmenu { + display: none; + position: absolute; + z-index: 1; + background-color: white; + width: 120px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); + padding: 5px 0; + margin: 0; + list-style-type: none; + right: 0; + top: 100%; +} + +.dropdownmenu li { + cursor: pointer; + padding: 8px 16px; + text-decoration: none; + display: block; + color: #333; +} + +.dropdownmenu li:hover { + background-color: #f1f1f1; +} + +.dropdownContainer:hover .dropdownmenu { + display: block; +} + .leftDrawer { width: calc(300px + 2rem); position: fixed; From 43c922070425c61799b50c1545031ffd61c0a9a3 Mon Sep 17 00:00:00 2001 From: rahul Date: Sun, 12 Jan 2025 01:10:24 +0530 Subject: [PATCH 6/7] fixed code coverage test --- .../AddPeopleToTag/AddPeopleToTag.tsx | 11 +++--- src/components/EventCalendar/EventHeader.tsx | 2 +- src/components/TagActions/TagActions.tsx | 10 +++--- src/components/TagActions/TagNode.tsx | 6 ++-- .../FundCampaignPledge/FundCampaignPledge.tsx | 10 ++---- .../FundCampaignPledge/PledgeModal.tsx | 34 +++++++------------ src/screens/ManageTag/ManageTag.tsx | 29 ++++++---------- src/screens/OrgPost/OrgPost.tsx | 3 +- .../CampaignModal.tsx | 17 ++++------ src/screens/OrganizationFunds/FundModal.tsx | 1 - .../OrganizationTags/OrganizationTags.tsx | 8 ++--- src/screens/SubTags/SubTags.tsx | 24 +++++-------- 12 files changed, 57 insertions(+), 98 deletions(-) diff --git a/src/components/AddPeopleToTag/AddPeopleToTag.tsx b/src/components/AddPeopleToTag/AddPeopleToTag.tsx index 450051794c..29eeb4a56c 100644 --- a/src/components/AddPeopleToTag/AddPeopleToTag.tsx +++ b/src/components/AddPeopleToTag/AddPeopleToTag.tsx @@ -106,7 +106,7 @@ const AddPeopleToTag: React.FC = ({ }; }, ) => { - if (!fetchMoreResult) /* istanbul ignore next */ return prevResult; + if (!fetchMoreResult) return prevResult; return { getUsersToAssignTo: { @@ -127,7 +127,7 @@ const AddPeopleToTag: React.FC = ({ const userTagMembersToAssignTo = userTagsMembersToAssignToData?.getUsersToAssignTo.usersToAssignTo.edges.map( (edge) => edge.node, - ) ?? /* istanbul ignore next */ []; + ) ?? []; const handleAddOrRemoveMember = (member: InterfaceMemberData): void => { setAssignToMembers((prevMembers) => { @@ -173,7 +173,7 @@ const AddPeopleToTag: React.FC = ({ hideAddPeopleToTagModal(); setAssignToMembers([]); } - } catch (error: unknown) /* istanbul ignore next */ { + } catch (error: unknown) { const errorMessage = error instanceof Error ? error.message : tErrors('unknownError'); toast.error(errorMessage); @@ -348,8 +348,7 @@ const AddPeopleToTag: React.FC = ({ next={loadMoreMembersToAssignTo} hasMore={ userTagsMembersToAssignToData?.getUsersToAssignTo - .usersToAssignTo.pageInfo.hasNextPage ?? - /* istanbul ignore next */ false + .usersToAssignTo.pageInfo.hasNextPage ?? false } loader={} scrollableTarget="addPeopleToTagScrollableDiv" @@ -360,7 +359,7 @@ const AddPeopleToTag: React.FC = ({ hideFooter={true} getRowId={(row) => row.id} slots={{ - noRowsOverlay: /* istanbul ignore next */ () => ( + noRowsOverlay: () => ( setEventName(e.target.value)} />
@@ -454,8 +449,7 @@ function ManageTag(): JSX.Element { next={loadMoreAssignedMembers} hasMore={ userTagAssignedMembersData?.getAssignedUsers - .usersAssignedTo.pageInfo.hasNextPage ?? - /* istanbul ignore next -- @preserve */ false + .usersAssignedTo.pageInfo.hasNextPage ?? false } loader={} scrollableTarget="manageTagScrollableDiv" @@ -466,16 +460,15 @@ function ManageTag(): JSX.Element { hideFooter={true} getRowId={(row) => row.id} slots={{ - noRowsOverlay: - /* istanbul ignore next -- @preserve */ () => ( - - {t('noAssignedMembersFound')} - - ), + noRowsOverlay: () => ( + + {t('noAssignedMembersFound')} + + ), }} sx={dataGridStyle} getRowClassName={() => `${styles.rowBackgrounds}`} diff --git a/src/screens/OrgPost/OrgPost.tsx b/src/screens/OrgPost/OrgPost.tsx index 5bf11f5aba..62a58f0e1a 100644 --- a/src/screens/OrgPost/OrgPost.tsx +++ b/src/screens/OrgPost/OrgPost.tsx @@ -167,7 +167,6 @@ function orgPost(): JSX.Element { }, }); - /* istanbul ignore next */ if (data) { toast.success(t('postCreatedSuccess') as string); refetch(); @@ -273,7 +272,7 @@ function orgPost(): JSX.Element { if (a.pinned === b.pinned) { return 0; } - /* istanbul ignore next */ + if (a.pinned) { return -1; } diff --git a/src/screens/OrganizationFundCampaign/CampaignModal.tsx b/src/screens/OrganizationFundCampaign/CampaignModal.tsx index f0b944bd2b..a57c6e707a 100644 --- a/src/screens/OrganizationFundCampaign/CampaignModal.tsx +++ b/src/screens/OrganizationFundCampaign/CampaignModal.tsx @@ -127,7 +127,7 @@ const CampaignModal: React.FC = ({ * @param e - The form event. * @returns Promise */ - /*istanbul ignore next*/ + const updateCampaignHandler = async ( e: ChangeEvent, ): Promise => { @@ -263,15 +263,12 @@ const CampaignModal: React.FC = ({ value={campaignCurrency} label={t('currency')} data-testid="currencySelect" - onChange={ - /*istanbul ignore next*/ - (e) => { - setFormState({ - ...formState, - campaignCurrency: e.target.value, - }); - } - } + onChange={(e) => { + setFormState({ + ...formState, + campaignCurrency: e.target.value, + }); + }} > {currencyOptions.map((currency) => ( diff --git a/src/screens/OrganizationFunds/FundModal.tsx b/src/screens/OrganizationFunds/FundModal.tsx index 42806f7a30..ab02902c2f 100644 --- a/src/screens/OrganizationFunds/FundModal.tsx +++ b/src/screens/OrganizationFunds/FundModal.tsx @@ -115,7 +115,6 @@ const FundModal: React.FC = ({ } }; - /*istanbul ignore next*/ const updateFundHandler = async ( e: ChangeEvent, ): Promise => { diff --git a/src/screens/OrganizationTags/OrganizationTags.tsx b/src/screens/OrganizationTags/OrganizationTags.tsx index 83ff0c019a..39a2a26032 100644 --- a/src/screens/OrganizationTags/OrganizationTags.tsx +++ b/src/screens/OrganizationTags/OrganizationTags.tsx @@ -82,7 +82,6 @@ function OrganizationTags(): JSX.Element { first: TAGS_QUERY_DATA_CHUNK_SIZE, after: orgUserTagsData?.organizations?.[0]?.userTags?.pageInfo?.endCursor ?? - /* istanbul ignore next */ null, }, updateQuery: ( @@ -95,7 +94,7 @@ function OrganizationTags(): JSX.Element { }; }, ) => { - if (!fetchMoreResult) /* istanbul ignore next */ return prevResult; + if (!fetchMoreResult) return prevResult; return { organizations: [ @@ -146,7 +145,6 @@ function OrganizationTags(): JSX.Element { setCreateTagModalIsOpen(false); } } catch (error: unknown) { - /* istanbul ignore next */ if (error instanceof Error) { toast.error(error.message); } @@ -366,7 +364,7 @@ function OrganizationTags(): JSX.Element { next={loadMoreUserTags} hasMore={ orgUserTagsData?.organizations?.[0]?.userTags?.pageInfo - ?.hasNextPage ?? /* istanbul ignore next */ false + ?.hasNextPage ?? false } loader={} scrollableTarget="orgUserTagsScrollableDiv" @@ -377,7 +375,7 @@ function OrganizationTags(): JSX.Element { hideFooter={true} getRowId={(row) => row.id} slots={{ - noRowsOverlay: /* istanbul ignore next */ () => ( + noRowsOverlay: () => ( { - /* istanbul ignore next -- @preserve */ if (!fetchMoreResult) return prevResult; return { @@ -126,7 +125,6 @@ function SubTags(): JSX.Element { }, }); - /* istanbul ignore next -- @preserve */ if (data) { toast.success(t('tagCreationSuccess') as string); subTagsRefetch(); @@ -134,7 +132,6 @@ function SubTags(): JSX.Element { setAddSubTagModalIsOpen(false); } } catch (error: unknown) { - /* istanbul ignore next -- @preserve */ if (error instanceof Error) { toast.error(error.message); } @@ -155,7 +152,6 @@ function SubTags(): JSX.Element { } const subTagsList = - /* istanbul ignore next -- @preserve */ subTagsData?.getChildTags.childTags.edges.map((edge) => edge.node) ?? []; const parentTagName = subTagsData?.getChildTags.name; @@ -373,7 +369,6 @@ function SubTags(): JSX.Element { next={loadMoreSubTags} hasMore={ subTagsData?.getChildTags.childTags.pageInfo.hasNextPage ?? - /* istanbul ignore next -- @preserve */ false } loader={} @@ -385,16 +380,15 @@ function SubTags(): JSX.Element { hideFooter={true} getRowId={(row) => row.id} slots={{ - noRowsOverlay: - /* istanbul ignore next -- @preserve */ () => ( - - {t('noTagsFound')} - - ), + noRowsOverlay: () => ( + + {t('noTagsFound')} + + ), }} sx={dataGridStyle} getRowClassName={() => `${styles.rowBackground}`} From b5e6d4fc847c6e44d7cd38348887ba727611b733 Mon Sep 17 00:00:00 2001 From: rahul Date: Sun, 12 Jan 2025 01:19:02 +0530 Subject: [PATCH 7/7] fixed code coverage test --- src/screens/ManageTag/ManageTag.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/screens/ManageTag/ManageTag.tsx b/src/screens/ManageTag/ManageTag.tsx index 43af7c346d..b0748a9bf3 100644 --- a/src/screens/ManageTag/ManageTag.tsx +++ b/src/screens/ManageTag/ManageTag.tsx @@ -207,7 +207,6 @@ function ManageTag(): JSX.Element { }, }); - /* istanbul ignore else -- @preserve */ if (data) { toast.success(t('tagUpdationSuccess')); userTagAssignedMembersRefetch();