From fb0a7531386906aa5ed52a301eba7a8ca385563c Mon Sep 17 00:00:00 2001 From: hustlernik Date: Wed, 19 Feb 2025 11:53:58 +0530 Subject: [PATCH 1/7] CSS Refactor --- .../LoginPortalToggle/LoginPortalToggle.tsx | 3 +- src/screens/LoginPage/LoginPage.tsx | 3 +- src/style/app-fixed.module.css | 922 ++++++++++++++++++ 3 files changed, 926 insertions(+), 2 deletions(-) create mode 100644 src/style/app-fixed.module.css diff --git a/src/components/LoginPortalToggle/LoginPortalToggle.tsx b/src/components/LoginPortalToggle/LoginPortalToggle.tsx index 64fa9317c7..c42e642039 100644 --- a/src/components/LoginPortalToggle/LoginPortalToggle.tsx +++ b/src/components/LoginPortalToggle/LoginPortalToggle.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; -import styles from '../../style/app.module.css'; +// import styles from '../../style/app.module.css'; +import styles from '../../style/app-fixed.module.css'; import Col from 'react-bootstrap/Col'; import Row from 'react-bootstrap/Row'; import { NavLink } from 'react-router-dom'; diff --git a/src/screens/LoginPage/LoginPage.tsx b/src/screens/LoginPage/LoginPage.tsx index 6b29e848ca..58e6b36dce 100644 --- a/src/screens/LoginPage/LoginPage.tsx +++ b/src/screens/LoginPage/LoginPage.tsx @@ -33,7 +33,8 @@ import LoginPortalToggle from 'components/LoginPortalToggle/LoginPortalToggle'; import { errorHandler } from 'utils/errorHandler'; import useLocalStorage from 'utils/useLocalstorage'; import { socialMediaLinks } from '../../constants'; -import styles from 'style/app.module.css'; +// import styles from 'style/app.module.css'; +import styles from '../../style/app-fixed.module.css'; import type { InterfaceQueryOrganizationListObject } from 'utils/interfaces'; import { Autocomplete, TextField } from '@mui/material'; import useSession from 'utils/useSession'; diff --git a/src/style/app-fixed.module.css b/src/style/app-fixed.module.css new file mode 100644 index 0000000000..e08f37be51 --- /dev/null +++ b/src/style/app-fixed.module.css @@ -0,0 +1,922 @@ +/** + * CSS Methodology for Common Styles: + * + * This project aims to reduce CSS duplication by merging similar styles across components + * into reusable global classes. This ensures consistency and simplifies maintenance. + * + * Steps for contributors: + * 1. Identify duplicate or similar styles in different components (e.g., buttons, modals). + * 2. Create a global class with a clear, descriptive name (e.g., .addButton, .removeButton). + * 3. Use the new global class in all components requiring that style. + * + * Naming Convention: + * - Use lowercase, descriptive names for global classes (e.g., .addButton, .removeButton). + * - Keep names generic enough for reuse but clear in their purpose. + * + * Example: + * Instead of component-specific classes like: + * `.greenregbtnOrganizationFundCampaign`, `.greenregbtnPledge` (used in two different components for same functionality) + * Use: + * `.addButton` (a single reusable class in the global CSS file that is used for functionalities that add/create tasks) + * + * Global Classes: + * `.inputField` (for form input fields) + * `.searchButton` (for form input field search button) + * `.addButton` (for buttons that add/create task) + * `.removeButton` (for buttons that remove/delete task) + * `.modalHeader` (for header section of any modal) + * `.editButton` (for buttons inside table) + * `.switch` (for form toggles) + * `.regularBtn` (for a simple blue button) + * `.tableHeader` (for header section of any table component) + * `.subtleBlueGrey` (for blue Text) + * `.activeTab` (for tabs which are active) + * `.inActiveTab` (for tabs which are not selected) + * + */ + +:root { + --addButton-font: var(#555555); + --addButton-border: #eaebef; + --addButton-bg: #a8c7fa; + --addButton-bg-hover: #1778f2; + --addButton-border-hover: #555555; + --disabled-btn: #e7f0fe; + + --removeButton-bg: #f8d6dc; + --removeButton-color: #c8102e; + --removeButton-bg-hover: #ff4d4f; + --removeButton-border-hover: #ff4d4f; + --removeButton-color-hover: #ffffff; + --removeButton-border: #dc3545; + + --activeTab-bg: #eaebef; + --activeTab-color: #808080; + --activeTab-bg-hover: #707070; + --activeTab-color-hover: #ffffff; + --activeTab-border: #808080; + --activeTab-outline-focus: #808080; + --activeTab-border-hover: #707070; + + --inactiveTab-bg: #ffffff97; + --inactiveTab-color: #808080; + --inactiveTab-border: #808080; + --inActiveTab-outline-focus: #808080; + --inactiveTab-bg-hover: #eaebef; + --inactiveTab-color-hover: #808080; + --inactiveTab-border-hover: #707070; + + --searchButton-bg: #a8c7fa; + --searchButton-color: #555555; + --searchButton-border: #a8c7fa; + --searchButton-border-hover: #a8c7fa; + --searchButton-color-hover: #555555; + --searchButton-border-focus: #a8c7fa; + --searchButton-bg-hover: #a8c7fa; + --searchButton-bg-active: #a8c7fa; + + --hover-shadow: 0 1px 3px 0 rgba(168, 199, 250, 1), + 0 4px 8px 3px rgba(60, 64, 67, 0.15); + + --modalHeader-color: #000000; + --modalHeader-bg: #ffffff; + + --switch-bg-checked: #1778f2; + --switch-border-checked: #1778f2; + --switch-box-shadow-checked: #a8c7fa; + --switch-border-focus: #d1d5db; + + --editButton-bg: #a8c7fa; + --editButton-font: #555555; + --editButton-border: #eaebef; + --editButton-bg-active: #1778f2; + --editButton-border-active: #eaebef; + --editButton-bg-hover: #1778f2; + --editButton-border-hover: #555555; + + --regularBtn-bg: #a8c7fa; + --regularBtn-border: #555555; + --regularBtn-bg-hover: #286fe0; + --regularBtn-font-hover: #555555; + --regularBtn-border-hover: #555555; + + --font-size-header: 16px; + --font-size-table-body: 14px; + + --tableHeader-bg: #eaebef; + --tableHeader-color: #000000; + + --LoginToggle-button-color: #555555; + --LoginToggle-button-bg: #eaebef; + --LoginToggle-button-border: #eaebef; + --LoginToggle-button-bg-hover: #eaebef; + --LoginToggle-button-border-hover: #eaebef; + --LoginToggle-button-bg-active: #a8c7fa; + --LoginToggle-button-border-active: #a8c7fa; + --LoginToggle-button-color-active: #555555; + --LoginToggle-button-color-active-hover: #555555; + --LoginToggle-button-border-active-hover: #a8c7fa; + --LoginToggle-button-bg-active-hover: #a8c7fa; + + --email-button-bg: #a8c7fa; + --email-button-bg: #a8c7fa; + --email-button-bg-hover: #a8c7fa; + --email-button-border-hover: #a8c7fa; + --email-button-bg: #a8c7fa; + --email-button-border: #a8c7fa; + --email-button-fill: #555555; + + --login-button-color: #555555; + --login-button-bg: #a8c7fa; + --login-button-border: #a8c7fa; + --login-button-bg-hover: #a8c7fa; + --login-button-border-hover: #a8c7fa; + --login-button-color-active: #a8c7fa; + --login-button-bg-active: #a8c7fa; + --login-button-border-active: #a8c7fa; + --login-button-bg-disabled: #a8c7fa; + --login-button-border-disabled: #a8c7fa; + --login-button-color-hover: #555555; + + --langChange-button-bg-active: #a8c7fa; + --langChange-button-border-active: #a8c7fa; + --langChange-button-color-active: #1778f2; + --langChange-button-color: #1778f2; + --langChange-button-border: #a8c7fa; + --langChange-button-bg-hover: #a8c7fa; + --langChange-button-border-hover: #a8c7fa; + + --langChange-button-bg-hover: #a8c7fa; + --langChange-button-border-hover: #a8c7fa; + + --orText-bg: #fff; + --orText-color: #6c757d; + + --register-button-bg: #eaebef; + --register-button-border: #eaebef; + --register-button-border: #eaebef; + --register-button-border-hover: #eaebef; + --register-button-color-active: #eaebef; + --register-button-bg-active: #eaebef; + --register-button-border-active: #eaebef; + --register-button-color: #555555; + --register-button-color-hover: #555555; + + --row-bg: #fff; + --row-bg-scroll: #00000029; + --row-color: #6c757d; +} + +/* Global Classes (Add CSS classes as Global Classes that are used at multiple place)*/ + +/* Add Button */ + +.addButton { + margin-bottom: 10px; + color: var(--addButton-font); + background-color: var(--addButton-bg); + border-color: var(--addButton-border); + --bs-btn-focus-box-shadow: none; +} + +.addButton:is(:hover, :active, :focus-visible) { + background-color: var(--addButton-bg-hover) !important; + border-color: var(--addButton-border-hover); +} + +.addButton:disabled { + margin-bottom: 10px; + background-color: var(--disabled-btn); + border-color: var(--addButton-bg); +} + +/* Remove Button */ + +.removeButton { + margin-bottom: 10px; + background-color: var(--removeButton-bg); + color: var(--removeButton-color); + margin-right: 10px; + --bs-btn-border-color: var(--removeButton-border); +} + +.removeButton:is(:hover, :active, :focus) { + background-color: var(--removeButton-bg-hover) !important; + border-color: var(--removeButton-border-hover); + color: var(--removeButton-color-hover); +} + +/* Active Tab */ + +.activeTab { + background-color: var(--activeTab-bg); + color: var(--activeTab-color); + border-color: var(--activeTab-border); + align-items: center; + position: relative; + outline: none; +} + +.activeTab:focus-visible { + outline: 2px solid var(--activeTab-outline-focus); + outline-offset: 2px; +} + +.activeTab:is(:hover, :focus, :active) { + background-color: var(--activeTab-bg-hover) !important; + color: var(--activeTab-color-hover); + border-color: var(--activeTab-border-hover) !important; + align-items: center; +} + +/* Inactive Tab */ + +.inActiveTab { + background-color: var(--inActiveTab-bg); + color: var(--inActiveTab-color); + border-color: var(--inActiveTab-border); + align-items: center; + position: relative; + outline: none; +} + +.inActiveTab:focus-visible { + outline: 2px solid var(--inActiveTab-outline-focus); + outline-offset: 2px; +} + +.inActiveTab:is(:hover, :focus, :active) { + background-color: var(--inActiveTab-bg-hover) !important; + color: var(--inActiveTab-color-hover); + border-color: var(--inActiveTab-border-hover) !important; + align-items: center; +} + +/* Search Button */ + +.searchButton { + --bs-btn-active-color: var(--searchButton-bg); + --bs-btn-active-bg: var(--searchButton-bg); + --bs-btn-active-border-color: var(--searchButton-border); + margin-bottom: 10px; + background-color: var(--searchButton-bg) !important; + border-color: var(--searchButton-border) !important; + color: var(--searchButton-color); + position: absolute; + z-index: 10; + bottom: 0; + right: 0; + display: flex; + justify-content: center; + align-items: center; + transition: + box-shadow 0.2s ease, + transform 0.2s ease; +} + +.searchButton:hover { + background-color: var(--searchButton-bg-hover); + border-color: var(--searchButton-border-hover); + box-shadow: var(--hover-shadow); + color: var(--searchButton-color-hover) !important; +} + +.searchButton:active { + transform: scale(0.95); + background-color: var(--searchButton-bg-active) !important; + border-color: transparent !important; +} + +/* Modal Header*/ + +.modalHeader { + border: none; + padding-bottom: 0; + background-color: var(--modalHeader-bg) !important; + padding: 1rem 1rem; + color: var(--modalHeader-color); +} + +.modalHeader div { + color: var(--modalHeader-color) !important; +} + +/* Switch */ + +.switch input { + --bs-form-switch-bg: transparent; +} + +.switch input:checked { + background-color: var(--switch-bg-checked); + border-color: var(--switch-border-checked); + box-shadow: 0 0 0.1rem 0.2rem var(--switch-box-shadow-checked); +} + +.switch input:focus { + outline: none; + box-shadow: none; + border-color: var(--switch-border-focus); +} + +/* Edit Button */ + +.editButton { + background-color: var(--editButton-bg); + color: var(--editButton-font); + border-color: var(--editButton-border); + --bs-btn-active-bg: var(--editButton-bg-active); + --bs-btn-active-border-color: var(--editButton-border-active); +} + +.editButton:is(:hover, :active) { + background-color: var(--editButton-bg-hover); + border-color: var(--editButton-border-hover); + box-shadow: none; +} + +/* Regular Button */ + +.regularBtn { + background-color: var(--regularBtn-bg); + border-color: var(--regularBtn-border); +} + +.regularBtn:is(:hover, :active) { + background-color: var(--regularBtn-bg-hover) !important; + color: var(--regularBtn-font-hover); + border-color: var(--regularBtn-border-hover) !important; +} + +/* Table Header */ + +.tableHeader { + background-color: var(--tableHeader-bg); + color: var(--tableHeader-color); + font-size: var(--font-size-header); +} + +.tableHeader { + font-weight: bold; +} + +/* Add more Global CSS Classes above this */ + +/* ----------------------------------------------------- */ + +/* Css Class Related to a particular Component */ + +/* -- AddOnEntry.tsx -- */ +/* -- AddOnRegister.tsx -- */ +/* -- AddOnStore.tsx -- */ +/* -- Action.tsx -- */ +/* -- MainContent.tsx -- */ +/* -- SidePanel.tsx -- */ +/* -- AddOn.tsx -- */ +/* -- AddPeopleToTag.tsx -- */ +/* -- AdvertisementEntry.tsx -- */ +/* -- AdvertisementRegister.tsx -- */ +/* -- Advertisement.tsx -- */ +/* -- AgendaCategoryContainer.tsx -- */ +/* -- AgendaItemsCreateModal.tsx -- */ +/* -- AgendaItemsDeleteModal.tsx -- */ +/* -- AgendaItemsPreviewModal.tsx -- */ +/* -- AgendaItemsUpdateModal.tsx -- */ +/* -- AgendaItemsContainer.tsx -- */ +/* -- Avatar.tsx -- */ +/* -- ChangeLanguageDropDown.tsx -- */ +/* -- TableRow.tsx -- */ +/* -- CheckInWrapper.tsx -- */ +/* -- CollapsibleDropdown.tsx -- */ +/* -- ContriStats.tsx -- */ +/* -- CurrentHourIndicator.tsx -- */ +/* -- DynamicDropDown.tsx -- */ +/* -- EditCustomFieldDropDown.tsx -- */ +/* -- EventHeader.tsx -- */ +/* -- EventCalender.tsx -- */ +/* -- YearlyEventCalender.tsx -- */ +/* -- EventDashboardSreen.tsx -- */ +/* -- EventListCardDeleteModal.tsx -- */ +/* -- EventListCardPreviewModal.tsx -- */ +/* -- EventListCardUpdateModal.tsx -- */ +/* -- EventListCardModals.tsx -- */ +/* -- EventListCard.tsx -- */ +/* -- EventDashboard.tsx -- */ +/* -- EventAgendaItems.tsx -- */ +/* -- EventAttendance.tsx -- */ +/* -- AttendedEventList.tsx -- */ +/* -- EventStatistics.tsx -- */ +/* -- EventRegistrants.tsx -- */ +/* -- AddOnSpotAttendee.tsx -- */ +/* -- EventRegistrantsModal.tsx -- */ +/* -- EventRegistrantsWrapper.tsx -- */ +/* -- AverageRating.tsx -- */ +/* -- Feedback.tsx -- */ +/* -- Review.tsx -- */ +/* -- EventStats.tsx -- */ +/* -- EventStatsWrapper.tsx -- */ +/* -- GroupChatDetails.tsx -- */ +/* -- HolidayCard.tsx -- */ +/* -- IconComponent.tsx -- */ +/* -- InfiniteScrollLoader.tsx -- */ +/* -- LeftDrawer.tsx -- */ +/* -- LeftDrawerOrg.tsx -- */ +/* -- Loader.tsx -- */ + +/* -- LoginPortalToggle.tsx -- */ + +.navLinkClass { + display: inline-block; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.4; + text-align: center; + vertical-align: middle; + cursor: pointer; + color: var(--LoginToggle-button-color); + border-radius: 0.3rem; + width: 100%; + box-sizing: border-box; + border: 1px solid var(--LoginToggle-button-border); + font-weight: 500; + transition: all 0.25s ease; + background-color: var(--LoginToggle-button-bg); +} + +.navLinkClass:hover { + box-shadow: var(--hover-shadow); + background-color: var(--LoginToggle-button-bg-hover); + border-color: var(--LoginToggle-button-border-hover); +} + +.activeLink { + color: var(--LoginToggle-button-color-active); + border: 1px solid var(--LoginToggle-button-border-active); + background-color: var(--LoginToggle-button-bg-active); +} + +.activeLink:hover { + box-shadow: var(--hover-shadow); + color: var(--LoginToggle-button-color-active-hover); + border: 1px solid var(--LoginToggle-button-border-active-hover); + background-color: var(--LoginToggle-button-bg-active-hover); +} + +/* -- customTableCell.tsx -- */ +/* -- EventsAttendedByMember.tsx -- */ +/* -- EventsAttendedCardItem.tsx -- */ +/* -- EventsAttendedMemberModal.tsx -- */ +/* -- MemberRequestCard.tsx -- */ +/* -- NotFound.tsx -- */ +/* -- OrgAdminListCard.tsx -- */ +/* -- OrganizationCard.tsx -- */ +/* -- OrganizationCardStart.tsx -- */ +/* -- CardItem.tsx -- */ +/* -- CardItemLoading.tsx -- */ +/* -- DashboardCard.tsx -- */ +/* -- DashboardCardLoading.tsx -- */ +/* -- OrganizationScreen.tsx -- */ +/* -- OrgContriCards.tsx -- */ +/* -- OrgDelete.tsx -- */ +/* -- OrgListCard.tsx -- */ +/* -- TruncatedText.tsx -- */ +/* -- useDebounce.tsx -- */ +/* -- orgPeopleListCard.tsx -- */ +/* -- DeletePostModal.tsx -- */ +/* -- OrgPostCard.tsx -- */ +/* -- CategoryModal.tsx -- */ +/* -- OrgActionItemCategories.tsx -- */ +/* -- AgendaCategoryCreateModal.tsx -- */ +/* -- AgendaCategoryCreateModal.tsx -- */ +/* -- AgendaCategoryCreateModal.tsx -- */ +/* -- AgendaCategoryUpdateModal.tsx -- */ +/* -- OrganizationAgendaCategory.tsx -- */ +/* -- GeneralSettings.tsx -- */ +/* -- DeleteOrg.tsx -- */ +/* -- OrgProfileFieldSettings.tsx -- */ +/* -- OrgUpdate.tsx -- */ +/* -- OrganizationCard.tsx -- */ +/* -- OrganizationCardStart.tsx -- */ +/* -- CardItem.tsx -- */ +/* -- CardItemLoading.tsx -- */ +/* -- DashboardCard.tsx -- */ +/* -- DashboardCardLoading.tsx -- */ +/* -- OrganizationScreen.tsx -- */ +/* -- Pagination.tsx -- */ +/* -- PaginationList.tsx -- */ +/* -- ProfileDropdown.tsx -- */ +/* -- CustomRecurrenceModal.tsx -- */ +/* -- RecurrenceOptions.tsx -- */ +/* -- RequestsTableItem.tsx -- */ +/* -- SecuredRoute.tsx -- */ +/* -- SuperAdminScreen.tsx -- */ +/* -- TableLoader.tsx -- */ +/* -- TagActions.tsx -- */ +/* -- TagNode.tsx -- */ +/* -- UpdateSession.tsx -- */ +/* -- UserListCard.tsx -- */ +/* -- UserPasswordUpdate.tsx -- */ +/* -- ChatRoom.tsx -- */ +/* -- CommentCard.tsx -- */ +/* -- ContactCard.tsx -- */ +/* -- CreateDirectChat.tsx -- */ +/* -- CreateGroupChat.tsx -- */ +/* -- DonationCard.tsx -- */ +/* -- EventCard.tsx -- */ +/* -- OrganizationCard.tsx -- */ +/* -- OrganizationNavbar.tsx -- */ +/* -- PeopleCard.tsx -- */ +/* -- PostCard.tsx -- */ +/* -- PromotedPost.tsx -- */ +/* -- Register.tsx -- */ +/* -- SecuredRouteForUser.tsx -- */ +/* -- StartPostModal.tsx -- */ +/* -- UserNavbar.tsx -- */ +/* -- EventsAttendedByUser.tsx -- */ +/* -- UserAddressFields.tsx -- */ +/* -- UserSidebar.tsx -- */ +/* -- UserSidebarOrg.tsx -- */ +/* -- DeleteUser.tsx -- */ +/* -- OtherSettings.tsx -- */ +/* -- UserProfile.tsx -- */ +/* -- UsersTableItem.tsx -- */ +/* -- VenueCard.tsx -- */ +/* -- VenueModal.tsx -- */ + + +/* Add more Class Related to a particular Component above this */ + +/* ----------------------------------------------------- */ + +/* Css Class Related to a particular Screen */ + +/* -- BlockUser.tsx -- */ +/* -- CommunityProfile.tsx -- */ +/* -- EventManagement.tsx -- */ +/* -- VolunteerContainer.tsx -- */ +/* -- Requests.tsx -- */ +/* -- VolunteerGroupDeleteModal.tsx -- */ +/* -- VolunteerGroupModal.tsx -- */ +/* -- VolunteerGroupViewModal.tsx -- */ +/* -- VolunteerGroups.tsx -- */ +/* -- VolunteerCreateModal.tsx -- */ +/* -- VolunteerDeleteModal.tsx -- */ +/* -- VolunteerViewModal.tsx -- */ +/* -- Volunteers.tsx -- */ +/* -- ForgotPassword.tsx -- */ +/* -- FundCampaignPledge.tsx -- */ +/* -- PledgeDeleteModal.tsx -- */ +/* -- PledgeModal.tsx -- */ +/* -- Leaderboard.tsx -- */ + +/* -- LoginPage.tsx -- */ + +.active_tab { + -webkit-animation: fadeIn 0.3s ease-in-out; + animation: fadeIn 0.3s ease-in-out; +} + +.communityLogo { + object-fit: contain; +} + +.email_button { + --bs-btn-active-bg: var(--email-button-bg); + --bs-btn-active-border-color: var(--email-button-border); + --bs-btn-hover-bg: var(--email-button-bg-hover); + --bs-btn-hover-border-color: var(--email-button-border-hover); + position: absolute; + z-index: 10; + bottom: 0; + right: 0; + height: 100%; + display: flex; + background-color: var(--email-button-bg); + border-color: var(--email-button-border); + justify-content: center; + align-items: center; + color: var(--email-button-fill); +} + +.email_button:hover { + color: var(--email-button-fill) !important; + box-shadow: var(--hover-shadow); +} + +.socialIcons { + display: flex; + gap: 16px; + justify-content: center; +} + +.login_background { + min-height: 100vh; +} + +.login_btn { + font-weight: bold; + color: var(--login-button-color); + --bs-btn-bg: var(--login-button-bg); + --bs-btn-border-color: var(--login-button-border); + --bs-btn-hover-bg: var(--login-button-bg-hover); + --bs-btn-hover-border-color: var(--login-button-border-hover); + --bs-btn-active-color: var(--login-button-color-active); + --bs-btn-active-bg: var(--login-button-bg-active); + --bs-btn-active-border-color: var(--login-button-border-active); + --bs-btn-disabled-bg: var(--login-button-bg-disabled); + --bs-btn-disabled-border-color: var(--login-button-border-disabled); + margin-top: 1rem; + margin-bottom: 1rem; + width: 100%; + transition: background-color 0.2s ease; + cursor: pointer; +} + +.login_btn:hover { + color: var(--login-button-color-hover) !important; + box-shadow: var(--hover-shadow); +} + +.langChangeBtnStyle { + --bs-btn-active-bg: var(--langChange-button-bg-active); + --bs-btn-active-border-color: var(--langChange-button-border-active); + --bs-btn-active-color: var(--langChange-button-color-active); + width: 7.5rem; + height: 2.2rem; + padding: 0; + color: var(--langChange-button-color); + border-color: var(--langChange-button-border); + background-color: transparent; + /* Default transparent background */ +} + + + +.langChangeBtnStyle:hover { + background-color: var(--langChange-button-bg-hover) !important; + border-color: var(--langChange-button-border-hover) !important; +} + +.talawa_logo { + height: clamp(3rem, 8vw, 5rem); + width: auto; + aspect-ratio: 1; + display: block; + margin: 1.5rem auto 1rem; + + @media (prefers-reduced-motion: no-preference) { + -webkit-animation: zoomIn 0.3s ease-in-out; + animation: zoomIn 0.3s ease-in-out; + } +} + +.password_checks { + display: flex; + justify-content: space-between; + align-items: flex-start; + flex-direction: column; + gap: var(--spacing-md, 1rem); +} + +.password_check_element { + padding: var(--spacing-sm, 0.5rem) 0; +} + +.password_check_element_top { + margin-top: var(--spacing-lg, 1.125rem); +} + +.password_check_element_bottom { + margin-bottom: var(--spacing-lg, 1.25rem); +} + +.reg_btn { + font-weight: bold; + background-color: var(--register-button-bg); + border-color: var(--register-button-border); + --bs-btn-hover-bg: var(--register-button-border); + --bs-btn-hover-border-color: var(--register-button-border-hover); + --bs-btn-active-color: var(--register-button-color-active); + --bs-btn-active-bg: var(--register-button-bg-active); + --bs-btn-active-border-color: var(--register-button-border-active); + margin-top: 1rem; + color: var(--register-button-color); + margin-bottom: 1rem; + width: 100%; + transition: background-color 0.2s ease; + cursor: pointer; +} + +.reg_btn:hover { + color: var(--register-button-color-hover) !important; + box-shadow: var(--hover-shadow); +} + +.row .left_portion { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + height: 100vh; +} + + +.row .left_portion .inner .palisadoes_logo { + width: 600px; + height: auto; +} + +.row .right_portion { + min-height: 100vh; + position: relative; + overflow-y: scroll; + display: flex; + flex-direction: column; + justify-content: center; + padding: 1rem 2.5rem; + background: var(--row-bg); +} + +.row .right_portion::-webkit-scrollbar { + width: 8px; +} + +.row .right_portion::-webkit-scrollbar-track { + background: transparent; +} + +.row .right_portion::-webkit-scrollbar-thumb { + background-color: var(--row-bg-scroll); + border-radius: 4px; +} + +.row .right_portion .langChangeBtn { + margin: 0; + position: absolute; + top: 1rem; + left: 1rem; +} + +.orText { + display: block; + position: absolute; + top: -0.2rem; + left: calc(50% - 2.6rem); + margin: 0 auto; + padding: 0.5rem 2rem; + z-index: 100; + background: var(--orText-bg); + color: var(--orText-color); +} + +.row .orText { + display: block; + position: absolute; + top: -0.5rem; + left: calc(50% - 2.6rem); + margin: 0 auto; + padding: 0.35rem 2rem; + z-index: 100; + background: var(--row-bg); + color: var(--row-color); +} + +@media (max-width: 992px) { + .row .left_portion { + padding: 0 2rem; + } + + .row .left_portion .inner .palisadoes_logo { + width: 100%; + } +} + +@media (max-width: 769px) { + .row { + flex-direction: column-reverse; + } + + .row .right_portion, + .row .left_portion { + height: unset; + } + + .row .right_portion { + min-height: 100vh; + overflow-y: unset; + } + + .row .left_portion .inner { + display: flex; + justify-content: center; + } + + .row .left_portion .inner .palisadoes_logo { + height: 70px; + width: unset; + position: absolute; + margin: 0.5rem; + top: 0; + right: 0; + z-index: 100; + } + + .row .left_portion .inner p { + margin-bottom: 0; + padding: 1rem; + } + + .socialIcons { + margin-bottom: 1rem; + } +} + +@media (max-width: 577px) { + .row .right_portion { + padding: 1rem 1rem 0 1rem; + } + + .row .right_portion .langChangeBtn { + position: absolute; + margin: 1rem; + left: 0; + top: 0; + } + + .marginTopForReg { + margin-top: 4rem !important; + } + + .row .right_portion .talawa_logo { + height: 120px; + margin: 0 auto 2rem auto; + } + + .socialIcons { + margin-bottom: 1rem; + } +} + +@media (prefers-reduced-motion: reduce) { + .talawa_logo { + animation: none; + } + + .active_tab { + animation: none; + } +} + +/* -- EditUserTagModal.tsx -- */ +/* -- ManageTag.tsx -- */ +/* -- RemoveUserTagModal.tsx -- */ +/* -- UnassignUserTagModal.tsx -- */ +/* -- MockAddPeopleToTag.tsx -- */ +/* -- MockTagActions.tsx -- */ +/* -- MemberDetail.tsx -- */ +/* -- OrgContribution.tsx -- */ +/* -- OrgList.tsx -- */ +/* -- OrganizationModal.tsx -- */ +/* -- OrgPost.tsx -- */ +/* -- OrgSettings.tsx -- */ +/* -- ItemDeleteModal.tsx -- */ +/* -- ItemModal.tsx -- */ +/* -- ItemUpdateStatusModal.tsx -- */ +/* -- ItemViewModal.tsx -- */ +/* -- OrganizationActionItems.tsx -- */ +/* -- OrganizationDashboard.tsx -- */ +/* -- OrganizationEvents.tsx -- */ +/* -- CampaignModal.tsx -- */ +/* -- OrganizationFundCampagins.tsx -- */ +/* -- FundModal.tsx -- */ +/* -- OrganizationFunds.tsx -- */ +/* -- AddMember.tsx -- */ +/* -- OrganizationPeople.tsx -- */ +/* -- OrganizationTags.tsx -- */ +/* -- OrganizationVenues.tsx -- */ +/* -- PageNotFound.tsx -- */ +/* -- Requests.tsx -- */ +/* -- SubTags.tsx -- */ +/* -- Campaigns.tsx -- */ +/* -- PledgeModal.tsx -- */ +/* -- Chat.tsx -- */ +/* -- Donate.tsx -- */ +/* -- Events.tsx -- */ +/* -- LeaveOrganization.tsx -- */ +/* -- Organizations.tsx -- */ +/* -- People.tsx -- */ +/* -- Pledges.tsx -- */ +/* -- Posts.tsx -- */ +/* -- Settings.tsx -- */ +/* -- UserScreen.tsx -- */ +/* -- VolunteerManagement.tsx -- */ +/* -- Actions.tsx -- */ +/* -- GroupModal.tsx -- */ +/* -- Groups.tsx -- */ +/* -- Invitations.tsx -- */ +/* -- UpcomingEvents.tsx -- */ +/* -- Users.tsx -- */ + +/* Add more Class Related to a particular Screen above this */ + +/* ----------------------------------------------------- */ \ No newline at end of file From 295341dd5958e754e4b7a45f8c334213a6c205c1 Mon Sep 17 00:00:00 2001 From: hustlernik Date: Wed, 19 Feb 2025 11:53:58 +0530 Subject: [PATCH 2/7] CSS Refactor --- .../mutations/variables/ADD_ADMIN_MUTATION.md | 2 +- .../variables/ADD_ADVERTISEMENT_MUTATION.md | 2 +- .../variables/ADD_MEMBER_MUTATION.md | 2 +- .../variables/ADD_PLUGIN_MUTATION.md | 2 +- .../variables/CREATE_EVENT_MUTATION.md | 2 +- ...ATE_ORGANIZATION_MEMBERSHIP_MUTATION_PG.md | 2 +- .../variables/CREATE_ORGANIZATION_MUTATION.md | 2 +- .../CREATE_ORGANIZATION_MUTATION_PG.md | 2 +- .../variables/CREATE_POST_MUTATION.md | 2 +- .../variables/DELETE_ADVERTISEMENT_BY_ID.md | 2 +- .../variables/DELETE_EVENT_MUTATION.md | 2 +- .../variables/DELETE_ORGANIZATION_MUTATION.md | 2 +- .../variables/DELETE_POST_MUTATION.md | 2 +- .../variables/DONATE_TO_ORGANIZATION.md | 2 +- .../variables/FORGOT_PASSWORD_MUTATION.md | 2 +- .../variables/GENERATE_OTP_MUTATION.md | 2 +- .../mutations/variables/LIKE_POST.md | 2 +- .../mutations/variables/RECAPTCHA_MUTATION.md | 2 +- .../variables/REFRESH_TOKEN_MUTATION.md | 2 +- .../mutations/variables/REGISTER_EVENT.md | 2 +- .../variables/REMOVE_ADMIN_MUTATION.md | 2 +- .../variables/REMOVE_MEMBER_MUTATION.md | 2 +- .../mutations/variables/RESET_COMMUNITY.md | 2 +- .../variables/REVOKE_REFRESH_TOKEN.md | 2 +- .../mutations/variables/SIGNUP_MUTATION.md | 2 +- .../mutations/variables/UNLIKE_POST.md | 2 +- .../UPDATE_ADVERTISEMENT_MUTATION.md | 2 +- .../variables/UPDATE_COMMUNITY_PG.md | 2 +- .../variables/UPDATE_CURRENT_USER_MUTATION.md | 9 + .../variables/UPDATE_EVENT_MUTATION.md | 2 +- .../UPDATE_INSTALL_STATUS_PLUGIN_MUTATION.md | 2 +- .../UPDATE_ORG_STATUS_PLUGIN_MUTATION.md | 2 +- .../variables/UPDATE_POST_MUTATION.md | 2 +- .../variables/UPDATE_SESSION_TIMEOUT_PG.md | 2 +- .../variables/UPDATE_USER_MUTATION.md | 2 +- .../UPDATE_USER_PASSWORD_MUTATION.md | 2 +- .../Queries/Queries/variables/ADMIN_LIST.md | 2 +- .../variables/BLOCK_PAGE_MEMBER_LIST.md | 2 +- .../Queries/Queries/variables/CURRENT_USER.md | 2 +- .../Queries/variables/EVENT_ATTENDEES.md | 2 +- .../Queries/variables/EVENT_CHECKINS.md | 2 +- .../Queries/variables/EVENT_DETAILS.md | 2 +- .../Queries/variables/EVENT_FEEDBACKS.md | 2 +- .../Queries/variables/EVENT_REGISTRANTS.md | 2 +- .../Queries/variables/GET_COMMUNITY_DATA.md | 2 +- .../variables/GET_COMMUNITY_DATA_PG.md | 2 +- .../GET_COMMUNITY_SESSION_TIMEOUT_DATA_PG.md | 2 +- .../variables/GET_ORGANIZATION_DATA_PG.md | 2 +- .../variables/GET_ORGANIZATION_EVENTS_PG.md | 2 +- .../variables/GET_ORGANIZATION_MEMBERS_PG.md | 2 +- .../GET_ORGANIZATION_POSTS_COUNT_PG.md | 2 +- .../variables/GET_ORGANIZATION_POSTS_PG.md | 2 +- .../Queries/variables/MEMBERSHIP_REQUEST.md | 2 +- .../Queries/Queries/variables/MEMBERS_LIST.md | 2 +- .../Queries/variables/ORGANIZATIONS_LIST.md | 2 +- .../ORGANIZATIONS_MEMBER_CONNECTION_LIST.md | 2 +- .../variables/ORGANIZATION_CONNECTION_LIST.md | 2 +- .../ORGANIZATION_DONATION_CONNECTION_LIST.md | 2 +- .../ORGANIZATION_EVENT_CONNECTION_LIST.md | 2 +- .../variables/ORGANIZATION_EVENT_LIST.md | 2 +- .../Queries/variables/ORGANIZATION_LIST.md | 2 +- .../Queries/variables/RECURRING_EVENTS.md | 2 +- .../Queries/Queries/variables/SIGNIN_QUERY.md | 2 +- .../variables/USERS_CONNECTION_LIST.md | 2 +- .../Queries/Queries/variables/USER_DETAILS.md | 2 +- .../variables/USER_JOINED_ORGANIZATIONS_PG.md | 2 +- .../Queries/Queries/variables/USER_LIST.md | 2 +- .../Queries/variables/USER_LIST_FOR_TABLE.md | 2 +- .../Queries/variables/USER_LIST_REQUEST.md | 2 +- .../variables/USER_ORGANIZATION_LIST.md | 2 +- .../functions/default.md | 2 +- .../LoginPortalToggle/functions/default.md | 2 +- .../variables/CHAT_BY_ID_QUERY_MOCK.md | 2 +- .../GROUP_CHAT_BY_USER_ID_QUERY_MOCK.md | 2 +- .../variables/MESSAGE_SENT_TO_CHAT_MOCK.md | 2 +- .../variables/UNREAD_CHAT_LIST_QUERY_MOCK.md | 2 +- .../variables/UserConnectionListMock.md | 2 +- .../variables/CHATS_LIST_MOCK.md | 2 +- .../variables/CREATE_CHAT_MUTATION_MOCK.md | 2 +- .../variables/GROUP_CHAT_BY_ID_QUERY_MOCK.md | 2 +- .../MARK_CHAT_MESSAGES_AS_READ_MOCK.md | 2 +- .../functions/UserAddressFields.md | 10 +- .../LoginPage/LoginPage/functions/default.md | 2 +- .../MemberDetail/functions/default.md | 6 +- .../MemberDetail/functions/getLanguageName.md | 2 +- .../MemberDetail/functions/prettyDate.md | 2 +- .../MemberDetailMocks/variables/ERROR_MOCK.md | 35 + .../MemberDetailMocks/variables/MOCKS1.md | 2 +- .../MemberDetailMocks/variables/MOCKS2.md | 186 ++-- .../MemberDetailMocks/variables/MOCKS3.md | 186 ++-- .../MemberDetailMocks/variables/MOCK_FILE.md | 9 + .../variables/UPDATE_MOCK.md | 143 +++ .../ProfileHeader/functions/default.md | 57 ++ .../ProfileImageSection/functions/default.md | 55 ++ .../Settings/Settings/functions/default.md | 2 +- .../Settings/SettingsMocks/variables/MOCKS.md | 131 +++ .../SettingsMocks/variables/MOCKS1.md | 135 +++ .../SettingsMocks/variables/MOCKS2.md | 135 +++ .../SettingsMocks/variables/UPDATE_MOCK.md | 143 +++ .../SettingsMocks/variables/errorMock.md | 9 + .../SideToggle/functions/default.md | 37 + .../UserDetails/functions/default.md | 33 + .../variables/educationGradeEnum.md | 2 +- .../variables/employmentStatusEnum.md | 2 +- .../formEnumFields/variables/genderEnum.md | 2 +- .../variables/maritalStatusEnum.md | 2 +- .../functions/validatePassword.md | 19 + .../functions/sanitizeAvatars.md | 23 + .../utils/urlToFile/functions/urlToFile.md | 19 + package-lock.json | 16 + src/style/app-fixed.module.css | 898 +++++++++--------- 111 files changed, 1661 insertions(+), 811 deletions(-) create mode 100644 docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_CURRENT_USER_MUTATION.md create mode 100644 docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/ERROR_MOCK.md create mode 100644 docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCK_FILE.md create mode 100644 docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/UPDATE_MOCK.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/functions/default.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/functions/default.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS1.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS2.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/UPDATE_MOCK.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/errorMock.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/functions/default.md create mode 100644 docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/functions/default.md create mode 100644 docs/docs/auto-docs/utils/passwordValidator/functions/validatePassword.md create mode 100644 docs/docs/auto-docs/utils/sanitizeAvatar/functions/sanitizeAvatars.md create mode 100644 docs/docs/auto-docs/utils/urlToFile/functions/urlToFile.md diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADMIN_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADMIN_MUTATION.md index 148ca5216e..26716f87aa 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADMIN_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADMIN_MUTATION.md @@ -6,4 +6,4 @@ > `const` **ADD\_ADMIN\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:363](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L363) +Defined in: [src/GraphQl/Mutations/mutations.ts:396](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L396) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADVERTISEMENT_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADVERTISEMENT_MUTATION.md index ac7daa9001..20b499425c 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADVERTISEMENT_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_ADVERTISEMENT_MUTATION.md @@ -6,4 +6,4 @@ > `const` **ADD\_ADVERTISEMENT\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:498](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L498) +Defined in: [src/GraphQl/Mutations/mutations.ts:531](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L531) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_MEMBER_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_MEMBER_MUTATION.md index c7eaeb5c81..2a51ad5133 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_MEMBER_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_MEMBER_MUTATION.md @@ -6,4 +6,4 @@ > `const` **ADD\_MEMBER\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:373](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L373) +Defined in: [src/GraphQl/Mutations/mutations.ts:406](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L406) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_PLUGIN_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_PLUGIN_MUTATION.md index 29001863eb..9f8c36f2ad 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_PLUGIN_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/ADD_PLUGIN_MUTATION.md @@ -6,7 +6,7 @@ > `const` **ADD\_PLUGIN\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:480](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L480) +Defined in: [src/GraphQl/Mutations/mutations.ts:513](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L513) ## Remarks diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_EVENT_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_EVENT_MUTATION.md index 07929b8a97..eec6a88fd9 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_EVENT_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_EVENT_MUTATION.md @@ -6,4 +6,4 @@ > `const` **CREATE\_EVENT\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:277](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L277) +Defined in: [src/GraphQl/Mutations/mutations.ts:310](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L310) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MEMBERSHIP_MUTATION_PG.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MEMBERSHIP_MUTATION_PG.md index d1520c5420..ed70ea3dd5 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MEMBERSHIP_MUTATION_PG.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MEMBERSHIP_MUTATION_PG.md @@ -6,4 +6,4 @@ > `const` **CREATE\_ORGANIZATION\_MEMBERSHIP\_MUTATION\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:245](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L245) +Defined in: [src/GraphQl/Mutations/mutations.ts:278](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L278) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION.md index 9f761c38b0..5faec55a0c 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION.md @@ -6,4 +6,4 @@ > `const` **CREATE\_ORGANIZATION\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:189](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L189) +Defined in: [src/GraphQl/Mutations/mutations.ts:222](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L222) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION_PG.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION_PG.md index c7c334e0fa..25b2e2361a 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION_PG.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_ORGANIZATION_MUTATION_PG.md @@ -6,4 +6,4 @@ > `const` **CREATE\_ORGANIZATION\_MUTATION\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:213](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L213) +Defined in: [src/GraphQl/Mutations/mutations.ts:246](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L246) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_POST_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_POST_MUTATION.md index 737b49ff22..f20059c90a 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_POST_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/CREATE_POST_MUTATION.md @@ -6,4 +6,4 @@ > `const` **CREATE\_POST\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:383](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L383) +Defined in: [src/GraphQl/Mutations/mutations.ts:416](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L416) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ADVERTISEMENT_BY_ID.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ADVERTISEMENT_BY_ID.md index 7991b30561..9f65f9887c 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ADVERTISEMENT_BY_ID.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ADVERTISEMENT_BY_ID.md @@ -6,4 +6,4 @@ > `const` **DELETE\_ADVERTISEMENT\_BY\_ID**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:548](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L548) +Defined in: [src/GraphQl/Mutations/mutations.ts:581](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L581) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_EVENT_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_EVENT_MUTATION.md index d58eca6bb3..ddf218f950 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_EVENT_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_EVENT_MUTATION.md @@ -6,4 +6,4 @@ > `const` **DELETE\_EVENT\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:333](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L333) +Defined in: [src/GraphQl/Mutations/mutations.ts:366](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L366) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ORGANIZATION_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ORGANIZATION_MUTATION.md index 2ada5fc293..78761cd4e8 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ORGANIZATION_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_ORGANIZATION_MUTATION.md @@ -6,4 +6,4 @@ > `const` **DELETE\_ORGANIZATION\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:265](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L265) +Defined in: [src/GraphQl/Mutations/mutations.ts:298](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L298) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_POST_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_POST_MUTATION.md index 5af2e607d8..c82481504e 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_POST_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DELETE_POST_MUTATION.md @@ -6,4 +6,4 @@ > `const` **DELETE\_POST\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:409](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L409) +Defined in: [src/GraphQl/Mutations/mutations.ts:442](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L442) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DONATE_TO_ORGANIZATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DONATE_TO_ORGANIZATION.md index a45efd9610..f57af9d000 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DONATE_TO_ORGANIZATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/DONATE_TO_ORGANIZATION.md @@ -6,4 +6,4 @@ > `const` **DONATE\_TO\_ORGANIZATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:707](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L707) +Defined in: [src/GraphQl/Mutations/mutations.ts:740](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L740) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/FORGOT_PASSWORD_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/FORGOT_PASSWORD_MUTATION.md index baa55bca4b..36852abd07 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/FORGOT_PASSWORD_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/FORGOT_PASSWORD_MUTATION.md @@ -6,4 +6,4 @@ > `const` **FORGOT\_PASSWORD\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:425](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L425) +Defined in: [src/GraphQl/Mutations/mutations.ts:458](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L458) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/GENERATE_OTP_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/GENERATE_OTP_MUTATION.md index f5dca51c2f..8b8ad448be 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/GENERATE_OTP_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/GENERATE_OTP_MUTATION.md @@ -6,4 +6,4 @@ > `const` **GENERATE\_OTP\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:417](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L417) +Defined in: [src/GraphQl/Mutations/mutations.ts:450](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L450) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/LIKE_POST.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/LIKE_POST.md index fd9962de2c..70cdf69a99 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/LIKE_POST.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/LIKE_POST.md @@ -6,4 +6,4 @@ > `const` **LIKE\_POST**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:633](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L633) +Defined in: [src/GraphQl/Mutations/mutations.ts:666](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L666) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RECAPTCHA_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RECAPTCHA_MUTATION.md index 8f23e103be..7ed4a0471e 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RECAPTCHA_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RECAPTCHA_MUTATION.md @@ -6,4 +6,4 @@ > `const` **RECAPTCHA\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:181](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L181) +Defined in: [src/GraphQl/Mutations/mutations.ts:214](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L214) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REFRESH_TOKEN_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REFRESH_TOKEN_MUTATION.md index 07bbbe0f02..60e901ae5b 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REFRESH_TOKEN_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REFRESH_TOKEN_MUTATION.md @@ -6,4 +6,4 @@ > `const` **REFRESH\_TOKEN\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:162](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L162) +Defined in: [src/GraphQl/Mutations/mutations.ts:195](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L195) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REGISTER_EVENT.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REGISTER_EVENT.md index 21e1854046..ec61ab2ff0 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REGISTER_EVENT.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REGISTER_EVENT.md @@ -6,4 +6,4 @@ > `const` **REGISTER\_EVENT**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:649](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L649) +Defined in: [src/GraphQl/Mutations/mutations.ts:682](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L682) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_ADMIN_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_ADMIN_MUTATION.md index e130f37fa1..a5e3bbeb04 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_ADMIN_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_ADMIN_MUTATION.md @@ -6,4 +6,4 @@ > `const` **REMOVE\_ADMIN\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:345](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L345) +Defined in: [src/GraphQl/Mutations/mutations.ts:378](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L378) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_MEMBER_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_MEMBER_MUTATION.md index c7dd2824e2..f288f61411 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_MEMBER_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REMOVE_MEMBER_MUTATION.md @@ -6,4 +6,4 @@ > `const` **REMOVE\_MEMBER\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:354](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L354) +Defined in: [src/GraphQl/Mutations/mutations.ts:387](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L387) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RESET_COMMUNITY.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RESET_COMMUNITY.md index f8d98c921e..7937aef784 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RESET_COMMUNITY.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/RESET_COMMUNITY.md @@ -6,4 +6,4 @@ > `const` **RESET\_COMMUNITY**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:701](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L701) +Defined in: [src/GraphQl/Mutations/mutations.ts:734](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L734) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REVOKE_REFRESH_TOKEN.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REVOKE_REFRESH_TOKEN.md index 55089850ff..4dc92a86f2 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REVOKE_REFRESH_TOKEN.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/REVOKE_REFRESH_TOKEN.md @@ -6,4 +6,4 @@ > `const` **REVOKE\_REFRESH\_TOKEN**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:173](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L173) +Defined in: [src/GraphQl/Mutations/mutations.ts:206](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L206) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/SIGNUP_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/SIGNUP_MUTATION.md index b06ad6a101..07439d5243 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/SIGNUP_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/SIGNUP_MUTATION.md @@ -6,4 +6,4 @@ > `const` **SIGNUP\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:147](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L147) +Defined in: [src/GraphQl/Mutations/mutations.ts:180](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L180) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UNLIKE_POST.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UNLIKE_POST.md index 62e00fadf3..877ac4a1d1 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UNLIKE_POST.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UNLIKE_POST.md @@ -6,4 +6,4 @@ > `const` **UNLIKE\_POST**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:641](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L641) +Defined in: [src/GraphQl/Mutations/mutations.ts:674](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L674) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ADVERTISEMENT_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ADVERTISEMENT_MUTATION.md index 37aa83aef0..09c0bb7f00 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ADVERTISEMENT_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ADVERTISEMENT_MUTATION.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_ADVERTISEMENT\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:523](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L523) +Defined in: [src/GraphQl/Mutations/mutations.ts:556](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L556) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_COMMUNITY_PG.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_COMMUNITY_PG.md index 5f631b2261..90ca3ebe71 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_COMMUNITY_PG.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_COMMUNITY_PG.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_COMMUNITY\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:657](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L657) +Defined in: [src/GraphQl/Mutations/mutations.ts:690](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L690) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_CURRENT_USER_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_CURRENT_USER_MUTATION.md new file mode 100644 index 0000000000..7a11e0ccc0 --- /dev/null +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_CURRENT_USER_MUTATION.md @@ -0,0 +1,9 @@ +[Admin Docs](/) + +*** + +# Variable: UPDATE\_CURRENT\_USER\_MUTATION + +> `const` **UPDATE\_CURRENT\_USER\_MUTATION**: `DocumentNode` + +Defined in: [src/GraphQl/Mutations/mutations.ts:84](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L84) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_EVENT_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_EVENT_MUTATION.md index 4da00a0669..b46691b4ac 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_EVENT_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_EVENT_MUTATION.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_EVENT\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:579](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L579) +Defined in: [src/GraphQl/Mutations/mutations.ts:612](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L612) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_INSTALL_STATUS_PLUGIN_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_INSTALL_STATUS_PLUGIN_MUTATION.md index 820b08dc17..f081cf3a8d 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_INSTALL_STATUS_PLUGIN_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_INSTALL_STATUS_PLUGIN_MUTATION.md @@ -6,7 +6,7 @@ > `const` **UPDATE\_INSTALL\_STATUS\_PLUGIN\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:446](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L446) +Defined in: [src/GraphQl/Mutations/mutations.ts:479](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L479) ## Remarks diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ORG_STATUS_PLUGIN_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ORG_STATUS_PLUGIN_MUTATION.md index c322e4dc66..a328381c2f 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ORG_STATUS_PLUGIN_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_ORG_STATUS_PLUGIN_MUTATION.md @@ -6,7 +6,7 @@ > `const` **UPDATE\_ORG\_STATUS\_PLUGIN\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:463](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L463) +Defined in: [src/GraphQl/Mutations/mutations.ts:496](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L496) ## Remarks diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_POST_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_POST_MUTATION.md index af258cb959..e2416b3701 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_POST_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_POST_MUTATION.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_POST\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:557](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L557) +Defined in: [src/GraphQl/Mutations/mutations.ts:590](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L590) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_SESSION_TIMEOUT_PG.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_SESSION_TIMEOUT_PG.md index 288dbcaab3..72ba498672 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_SESSION_TIMEOUT_PG.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_SESSION_TIMEOUT_PG.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_SESSION\_TIMEOUT\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:691](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L691) +Defined in: [src/GraphQl/Mutations/mutations.ts:724](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L724) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_MUTATION.md index f6a4bd4cdd..5d9c3b7fc7 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_MUTATION.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_USER\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:85](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L85) +Defined in: [src/GraphQl/Mutations/mutations.ts:118](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L118) diff --git a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_PASSWORD_MUTATION.md b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_PASSWORD_MUTATION.md index b511d94461..0ffeaea5ad 100644 --- a/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_PASSWORD_MUTATION.md +++ b/docs/docs/auto-docs/GraphQl/Mutations/mutations/variables/UPDATE_USER_PASSWORD_MUTATION.md @@ -6,4 +6,4 @@ > `const` **UPDATE\_USER\_PASSWORD\_MUTATION**: `DocumentNode` -Defined in: [src/GraphQl/Mutations/mutations.ts:125](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L125) +Defined in: [src/GraphQl/Mutations/mutations.ts:158](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/mutations.ts#L158) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ADMIN_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ADMIN_LIST.md index 361d7eacaa..50d0d335aa 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ADMIN_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ADMIN_LIST.md @@ -6,4 +6,4 @@ > `const` **ADMIN\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:806](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L806) +Defined in: [src/GraphQl/Queries/Queries.ts:828](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L828) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/BLOCK_PAGE_MEMBER_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/BLOCK_PAGE_MEMBER_LIST.md index 6175164b9b..b4069c5229 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/BLOCK_PAGE_MEMBER_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/BLOCK_PAGE_MEMBER_LIST.md @@ -6,4 +6,4 @@ > `const` **BLOCK\_PAGE\_MEMBER\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:550](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L550) +Defined in: [src/GraphQl/Queries/Queries.ts:572](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L572) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/CURRENT_USER.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/CURRENT_USER.md index 1412adaf23..7e20afc7d2 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/CURRENT_USER.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/CURRENT_USER.md @@ -6,4 +6,4 @@ > `const` **CURRENT\_USER**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:6](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L6) +Defined in: [src/GraphQl/Queries/Queries.ts:7](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L7) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_ATTENDEES.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_ATTENDEES.md index 3ec45c42bd..ebe1536c5d 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_ATTENDEES.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_ATTENDEES.md @@ -6,4 +6,4 @@ > `const` **EVENT\_ATTENDEES**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:324](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L324) +Defined in: [src/GraphQl/Queries/Queries.ts:346](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L346) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_CHECKINS.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_CHECKINS.md index 8f7397e987..2466240b28 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_CHECKINS.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_CHECKINS.md @@ -6,4 +6,4 @@ > `const` **EVENT\_CHECKINS**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:352](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L352) +Defined in: [src/GraphQl/Queries/Queries.ts:374](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L374) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_DETAILS.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_DETAILS.md index 3767827484..f904095e3e 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_DETAILS.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_DETAILS.md @@ -6,4 +6,4 @@ > `const` **EVENT\_DETAILS**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:279](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L279) +Defined in: [src/GraphQl/Queries/Queries.ts:301](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L301) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_FEEDBACKS.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_FEEDBACKS.md index 722c2629bb..b564147925 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_FEEDBACKS.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_FEEDBACKS.md @@ -6,4 +6,4 @@ > `const` **EVENT\_FEEDBACKS**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:372](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L372) +Defined in: [src/GraphQl/Queries/Queries.ts:394](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L394) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_REGISTRANTS.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_REGISTRANTS.md index 42a4d947ac..5ee02ce077 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_REGISTRANTS.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/EVENT_REGISTRANTS.md @@ -6,4 +6,4 @@ > `const` **EVENT\_REGISTRANTS**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:342](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L342) +Defined in: [src/GraphQl/Queries/Queries.ts:364](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L364) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA.md index 09f37708ea..a43eb4262c 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA.md @@ -6,4 +6,4 @@ > `const` **GET\_COMMUNITY\_DATA**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:938](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L938) +Defined in: [src/GraphQl/Queries/Queries.ts:960](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L960) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA_PG.md index 4cae09622e..bae1d48f1b 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_DATA_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_COMMUNITY\_DATA\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:957](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L957) +Defined in: [src/GraphQl/Queries/Queries.ts:979](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L979) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_SESSION_TIMEOUT_DATA_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_SESSION_TIMEOUT_DATA_PG.md index f2370629c4..7fbf7c7782 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_SESSION_TIMEOUT_DATA_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_COMMUNITY_SESSION_TIMEOUT_DATA_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_COMMUNITY\_SESSION\_TIMEOUT\_DATA\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:997](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L997) +Defined in: [src/GraphQl/Queries/Queries.ts:1019](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L1019) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_DATA_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_DATA_PG.md index 605ebf5fad..ef19c49fc4 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_DATA_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_DATA_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_ORGANIZATION\_DATA\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:464](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L464) +Defined in: [src/GraphQl/Queries/Queries.ts:486](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L486) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_EVENTS_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_EVENTS_PG.md index 11b9c9eae4..312395acc4 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_EVENTS_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_EVENTS_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_ORGANIZATION\_EVENTS\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:417](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L417) +Defined in: [src/GraphQl/Queries/Queries.ts:439](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L439) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_MEMBERS_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_MEMBERS_PG.md index 77d99970d2..557c1718a5 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_MEMBERS_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_MEMBERS_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_ORGANIZATION\_MEMBERS\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:397](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L397) +Defined in: [src/GraphQl/Queries/Queries.ts:419](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L419) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_COUNT_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_COUNT_PG.md index c4471cc777..c0d6471cb5 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_COUNT_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_COUNT_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_ORGANIZATION\_POSTS\_COUNT\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:388](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L388) +Defined in: [src/GraphQl/Queries/Queries.ts:410](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L410) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_PG.md index 3377af8eb3..0ac9b40c1b 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/GET_ORGANIZATION_POSTS_PG.md @@ -6,4 +6,4 @@ > `const` **GET\_ORGANIZATION\_POSTS\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:444](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L444) +Defined in: [src/GraphQl/Queries/Queries.ts:466](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L466) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERSHIP_REQUEST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERSHIP_REQUEST.md index b231e42d14..49499ae883 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERSHIP_REQUEST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERSHIP_REQUEST.md @@ -6,4 +6,4 @@ > `const` **MEMBERSHIP\_REQUEST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:823](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L823) +Defined in: [src/GraphQl/Queries/Queries.ts:845](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L845) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERS_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERS_LIST.md index 54966f9e3b..edc85f28e5 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERS_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/MEMBERS_LIST.md @@ -6,4 +6,4 @@ > `const` **MEMBERS\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:531](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L531) +Defined in: [src/GraphQl/Queries/Queries.ts:553](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L553) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_LIST.md index 1d6c24d649..2628cb49b9 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATIONS\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:475](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L475) +Defined in: [src/GraphQl/Queries/Queries.ts:497](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L497) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_MEMBER_CONNECTION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_MEMBER_CONNECTION_LIST.md index 44bd6a64ca..311f4df066 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_MEMBER_CONNECTION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATIONS_MEMBER_CONNECTION_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATIONS\_MEMBER\_CONNECTION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:577](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L577) +Defined in: [src/GraphQl/Queries/Queries.ts:599](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L599) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_CONNECTION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_CONNECTION_LIST.md index a39bb0549d..1ff07c4c0d 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_CONNECTION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_CONNECTION_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATION\_CONNECTION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:78](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L78) +Defined in: [src/GraphQl/Queries/Queries.ts:100](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L100) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_DONATION_CONNECTION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_DONATION_CONNECTION_LIST.md index a3a9e2e19c..ca1b739d39 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_DONATION_CONNECTION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_DONATION_CONNECTION_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATION\_DONATION\_CONNECTION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:785](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L785) +Defined in: [src/GraphQl/Queries/Queries.ts:807](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L807) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_CONNECTION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_CONNECTION_LIST.md index 6cec64b2d9..f8c6b67270 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_CONNECTION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_CONNECTION_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATION\_EVENT\_CONNECTION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:729](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L729) +Defined in: [src/GraphQl/Queries/Queries.ts:751](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L751) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_LIST.md index 5a83bdb1d1..1254bb5dbe 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_EVENT_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATION\_EVENT\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:710](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L710) +Defined in: [src/GraphQl/Queries/Queries.ts:732](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L732) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_LIST.md index 5c93e88d6b..0ff52bd407 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/ORGANIZATION_LIST.md @@ -6,4 +6,4 @@ > `const` **ORGANIZATION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:18](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L18) +Defined in: [src/GraphQl/Queries/Queries.ts:40](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L40) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/RECURRING_EVENTS.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/RECURRING_EVENTS.md index f41496987f..9fe8807987 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/RECURRING_EVENTS.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/RECURRING_EVENTS.md @@ -6,4 +6,4 @@ > `const` **RECURRING\_EVENTS**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:310](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L310) +Defined in: [src/GraphQl/Queries/Queries.ts:332](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L332) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/SIGNIN_QUERY.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/SIGNIN_QUERY.md index 75c66c4a8f..d9e3262854 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/SIGNIN_QUERY.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/SIGNIN_QUERY.md @@ -6,4 +6,4 @@ > `const` **SIGNIN\_QUERY**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:981](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L981) +Defined in: [src/GraphQl/Queries/Queries.ts:1003](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L1003) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USERS_CONNECTION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USERS_CONNECTION_LIST.md index eebff0ce4c..96f3f8e638 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USERS_CONNECTION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USERS_CONNECTION_LIST.md @@ -6,4 +6,4 @@ > `const` **USERS\_CONNECTION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:849](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L849) +Defined in: [src/GraphQl/Queries/Queries.ts:871](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L871) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_DETAILS.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_DETAILS.md index 505b3afc3f..1edce673c5 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_DETAILS.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_DETAILS.md @@ -6,4 +6,4 @@ > `const` **USER\_DETAILS**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:621](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L621) +Defined in: [src/GraphQl/Queries/Queries.ts:643](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L643) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_JOINED_ORGANIZATIONS_PG.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_JOINED_ORGANIZATIONS_PG.md index f533c40070..6331872b19 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_JOINED_ORGANIZATIONS_PG.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_JOINED_ORGANIZATIONS_PG.md @@ -6,4 +6,4 @@ > `const` **USER\_JOINED\_ORGANIZATIONS\_PG**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:49](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L49) +Defined in: [src/GraphQl/Queries/Queries.ts:71](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L71) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST.md index b0bf309767..766ea3e37d 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST.md @@ -6,4 +6,4 @@ > `const` **USER\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:120](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L120) +Defined in: [src/GraphQl/Queries/Queries.ts:142](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L142) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_FOR_TABLE.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_FOR_TABLE.md index ab37372ab5..5a8aec5519 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_FOR_TABLE.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_FOR_TABLE.md @@ -6,4 +6,4 @@ > `const` **USER\_LIST\_FOR\_TABLE**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:216](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L216) +Defined in: [src/GraphQl/Queries/Queries.ts:238](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L238) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_REQUEST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_REQUEST.md index 662ef8eb5c..637e7ea2cd 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_REQUEST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_LIST_REQUEST.md @@ -6,4 +6,4 @@ > `const` **USER\_LIST\_REQUEST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:236](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L236) +Defined in: [src/GraphQl/Queries/Queries.ts:258](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L258) diff --git a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_ORGANIZATION_LIST.md b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_ORGANIZATION_LIST.md index 5c006af10a..e4266245d7 100644 --- a/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_ORGANIZATION_LIST.md +++ b/docs/docs/auto-docs/GraphQl/Queries/Queries/variables/USER_ORGANIZATION_LIST.md @@ -6,4 +6,4 @@ > `const` **USER\_ORGANIZATION\_LIST**: `DocumentNode` -Defined in: [src/GraphQl/Queries/Queries.ts:607](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L607) +Defined in: [src/GraphQl/Queries/Queries.ts:629](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Queries/Queries.ts#L629) diff --git a/docs/docs/auto-docs/components/ChangeLanguageDropdown/ChangeLanguageDropDown/functions/default.md b/docs/docs/auto-docs/components/ChangeLanguageDropdown/ChangeLanguageDropDown/functions/default.md index 3359ac93d2..68541a6e8e 100644 --- a/docs/docs/auto-docs/components/ChangeLanguageDropdown/ChangeLanguageDropDown/functions/default.md +++ b/docs/docs/auto-docs/components/ChangeLanguageDropdown/ChangeLanguageDropDown/functions/default.md @@ -6,7 +6,7 @@ > **default**(`props`): `Element` -Defined in: [src/components/ChangeLanguageDropdown/ChangeLanguageDropDown.tsx:23](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/ChangeLanguageDropdown/ChangeLanguageDropDown.tsx#L23) +Defined in: [src/components/ChangeLanguageDropdown/ChangeLanguageDropDown.tsx:24](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/ChangeLanguageDropdown/ChangeLanguageDropDown.tsx#L24) A dropdown component that allows users to change the application's language. It updates the user's language preference in the backend and stores the selection in cookies. diff --git a/docs/docs/auto-docs/components/LoginPortalToggle/LoginPortalToggle/functions/default.md b/docs/docs/auto-docs/components/LoginPortalToggle/LoginPortalToggle/functions/default.md index 78abe51e19..3aa3f7c315 100644 --- a/docs/docs/auto-docs/components/LoginPortalToggle/LoginPortalToggle/functions/default.md +++ b/docs/docs/auto-docs/components/LoginPortalToggle/LoginPortalToggle/functions/default.md @@ -6,7 +6,7 @@ > **default**(`onToggle`): `JSX.Element` -Defined in: [src/components/LoginPortalToggle/LoginPortalToggle.tsx:18](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/LoginPortalToggle/LoginPortalToggle.tsx#L18) +Defined in: [src/components/LoginPortalToggle/LoginPortalToggle.tsx:19](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/LoginPortalToggle/LoginPortalToggle.tsx#L19) Component for toggling between admin and user login portals. diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/CHAT_BY_ID_QUERY_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/CHAT_BY_ID_QUERY_MOCK.md index 2ce308e577..6aa04bc3d5 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/CHAT_BY_ID_QUERY_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/CHAT_BY_ID_QUERY_MOCK.md @@ -6,4 +6,4 @@ > `const` **CHAT\_BY\_ID\_QUERY\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:294](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L294) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:292](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L292) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/GROUP_CHAT_BY_USER_ID_QUERY_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/GROUP_CHAT_BY_USER_ID_QUERY_MOCK.md index fe03a9d248..431f9ef646 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/GROUP_CHAT_BY_USER_ID_QUERY_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/GROUP_CHAT_BY_USER_ID_QUERY_MOCK.md @@ -6,4 +6,4 @@ > `const` **GROUP\_CHAT\_BY\_USER\_ID\_QUERY\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:415](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L415) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:413](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L413) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/MESSAGE_SENT_TO_CHAT_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/MESSAGE_SENT_TO_CHAT_MOCK.md index 01db811919..934742264a 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/MESSAGE_SENT_TO_CHAT_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/MESSAGE_SENT_TO_CHAT_MOCK.md @@ -6,4 +6,4 @@ > `const` **MESSAGE\_SENT\_TO\_CHAT\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:276](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L276) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:274](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L274) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UNREAD_CHAT_LIST_QUERY_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UNREAD_CHAT_LIST_QUERY_MOCK.md index b902756c7b..a1856aaf7d 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UNREAD_CHAT_LIST_QUERY_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UNREAD_CHAT_LIST_QUERY_MOCK.md @@ -6,4 +6,4 @@ > `const` **UNREAD\_CHAT\_LIST\_QUERY\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:314](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L314) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:312](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L312) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UserConnectionListMock.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UserConnectionListMock.md index 047ae189aa..ea086b5df6 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UserConnectionListMock.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks/variables/UserConnectionListMock.md @@ -6,4 +6,4 @@ > `const` **UserConnectionListMock**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:196](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L196) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts:194](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks.ts#L194) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CHATS_LIST_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CHATS_LIST_MOCK.md index 571efca6b8..2d680ebc6a 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CHATS_LIST_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CHATS_LIST_MOCK.md @@ -6,4 +6,4 @@ > `const` **CHATS\_LIST\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:161](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L161) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:156](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L156) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CREATE_CHAT_MUTATION_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CREATE_CHAT_MUTATION_MOCK.md index 7bce61cc28..c7d3b3aaef 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CREATE_CHAT_MUTATION_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/CREATE_CHAT_MUTATION_MOCK.md @@ -6,4 +6,4 @@ > `const` **CREATE\_CHAT\_MUTATION\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:329](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L329) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:324](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L324) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/GROUP_CHAT_BY_ID_QUERY_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/GROUP_CHAT_BY_ID_QUERY_MOCK.md index f9b2ff6189..3d9a8ab46e 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/GROUP_CHAT_BY_ID_QUERY_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/GROUP_CHAT_BY_ID_QUERY_MOCK.md @@ -6,4 +6,4 @@ > `const` **GROUP\_CHAT\_BY\_ID\_QUERY\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:319](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L319) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:314](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L314) diff --git a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/MARK_CHAT_MESSAGES_AS_READ_MOCK.md b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/MARK_CHAT_MESSAGES_AS_READ_MOCK.md index 802badeb8f..5bfe792306 100644 --- a/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/MARK_CHAT_MESSAGES_AS_READ_MOCK.md +++ b/docs/docs/auto-docs/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2/variables/MARK_CHAT_MESSAGES_AS_READ_MOCK.md @@ -6,4 +6,4 @@ > `const` **MARK\_CHAT\_MESSAGES\_AS\_READ\_MOCK**: `InterfaceGQLMock`[] -Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:404](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L404) +Defined in: [src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts:399](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/CreateDirectChat/CreateDirectChatMocks2.ts#L399) diff --git a/docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/functions/UserAddressFields.md b/docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/functions/UserAddressFields.md index 0318d6f501..71220a4776 100644 --- a/docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/functions/UserAddressFields.md +++ b/docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/functions/UserAddressFields.md @@ -6,10 +6,10 @@ > **UserAddressFields**(`props`, `deprecatedLegacyContext`?): `ReactNode` -Defined in: [src/components/UserPortal/UserProfile/UserAddressFields.tsx:26](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/UserProfile/UserAddressFields.tsx#L26) +Defined in: [src/components/UserPortal/UserProfile/UserAddressFields.tsx:28](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/UserPortal/UserProfile/UserAddressFields.tsx#L28) -Form component containing address-related input fields for user profile -Includes fields for address, city, state, and country +Form component containing address-related input fields for user profile. +Includes fields for address, city, state, and country. ## Parameters @@ -17,8 +17,6 @@ Includes fields for address, city, state, and country `InterfaceUserAddressFieldsProps` -Component props - ### deprecatedLegacyContext? `any` @@ -33,4 +31,4 @@ Component props `ReactNode` -Form group with address input fields +A form group with address input fields diff --git a/docs/docs/auto-docs/screens/LoginPage/LoginPage/functions/default.md b/docs/docs/auto-docs/screens/LoginPage/LoginPage/functions/default.md index 36540d3062..b5c5a11401 100644 --- a/docs/docs/auto-docs/screens/LoginPage/LoginPage/functions/default.md +++ b/docs/docs/auto-docs/screens/LoginPage/LoginPage/functions/default.md @@ -6,7 +6,7 @@ > **default**(): `Element` -Defined in: [src/screens/LoginPage/LoginPage.tsx:49](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/LoginPage/LoginPage.tsx#L49) +Defined in: [src/screens/LoginPage/LoginPage.tsx:50](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/LoginPage/LoginPage.tsx#L50) LoginPage component is used to render the login page of the application where user can login or register to the application using email and password. The component also provides the functionality to switch between login and diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md index 07808da20e..36c6956852 100644 --- a/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md @@ -6,11 +6,11 @@ > **default**(`props`, `deprecatedLegacyContext`?): `ReactNode` -Defined in: [src/screens/MemberDetail/MemberDetail.tsx:50](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L50) +Defined in: [src/screens/MemberDetail/MemberDetail.tsx:44](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L44) MemberDetail component is used to display the details of a user. -It also allows the user to update the details. It uses the UPDATE_USER_MUTATION to update the user details. -It uses the USER_DETAILS query to get the user details. It uses the useLocalStorage hook to store the user details in the local storage. +It also allows the user to update the details. It uses the UPDATE_CURRENT_USER_MUTATION to update the user details. +It uses the CURRENT_USER query to get the user details. It uses the useLocalStorage hook to store the user details in the local storage. ## Parameters diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/getLanguageName.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/getLanguageName.md index 5d161cd446..1b5383d356 100644 --- a/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/getLanguageName.md +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/getLanguageName.md @@ -6,7 +6,7 @@ > **getLanguageName**(`code`): `string` -Defined in: [src/screens/MemberDetail/MemberDetail.tsx:742](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L742) +Defined in: [src/screens/MemberDetail/MemberDetail.tsx:710](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L710) ## Parameters diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/prettyDate.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/prettyDate.md index 01d7d085e0..8de0ceaa38 100644 --- a/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/prettyDate.md +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/prettyDate.md @@ -6,7 +6,7 @@ > **prettyDate**(`param`): `string` -Defined in: [src/screens/MemberDetail/MemberDetail.tsx:732](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L732) +Defined in: [src/screens/MemberDetail/MemberDetail.tsx:700](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L700) ## Parameters diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/ERROR_MOCK.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/ERROR_MOCK.md new file mode 100644 index 0000000000..45b0cbd0f0 --- /dev/null +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/ERROR_MOCK.md @@ -0,0 +1,35 @@ +[Admin Docs](/) + +*** + +# Variable: ERROR\_MOCK + +> `const` **ERROR\_MOCK**: `object`[] + +Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:193](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L193) + +## Type declaration + +### error + +> **error**: `Error` + +### request + +> **request**: `object` + +#### request.query + +> **query**: `DocumentNode` = `UPDATE_CURRENT_USER_MUTATION` + +#### request.variables + +> **variables**: `object` + +#### request.variables.input + +> **input**: `object` + +#### request.variables.input.name + +> **name**: `string` = `'Test User'` diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS1.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS1.md index 91385d9df3..2829378c94 100644 --- a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS1.md +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS1.md @@ -4,6 +4,6 @@ # Variable: MOCKS1 -> `const` **MOCKS1**: (\{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `undefined`; `first`: `number`; `id`: `string`; `tagId`: `undefined`; `userId`: `undefined`; \}; \}; `result`: \{ `data`: \{ `unassignUserTag`: `undefined`; `user`: \{ `__typename`: `string`; `appUserProfile`: \{ `__typename`: `string`; `_id`: `string`; `adminFor`: `object`[]; `appLanguageCode`: `string`; `createdEvents`: `object`[]; `createdOrganizations`: `object`[]; `eventAdmin`: `object`[]; `isSuperAdmin`: `boolean`; `pluginCreationAllowed`: `boolean`; \}; `user`: \{ `__typename`: `string`; `_id`: `string`; `address`: \{ `city`: `string`; `countryCode`: `string`; `line1`: `string`; `state`: `string`; \}; `birthDate`: `string`; `createdAt`: `string`; `educationGrade`: `string`; `email`: `string`; `employmentStatus`: `string`; `eventsAttended`: `any`[]; `firstName`: `string`; `gender`: `string`; `image`: `any`; `joinedOrganizations`: `object`[]; `lastName`: `string`; `maritalStatus`: `string`; `membershipRequests`: `any`[]; `organizationsBlockedBy`: `any`[]; `phone`: \{ `mobile`: `string`; \}; `registeredEvents`: `object`[]; `tagsAssignedWith`: \{ `edges`: `object`[]; `pageInfo`: \{ `endCursor`: `string`; `hasNextPage`: `boolean`; `hasPreviousPage`: `boolean`; `startCursor`: `string`; \}; `totalCount`: `number`; \}; \}; \}; \}; \}; \} \| \{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `string`; `first`: `number`; `id`: `string`; `tagId`: `undefined`; `userId`: `undefined`; \}; \}; `result`: \{ `data`: \{ `unassignUserTag`: `undefined`; `user`: \{ `__typename`: `string`; `appUserProfile`: \{ `__typename`: `string`; `_id`: `string`; `adminFor`: `object`[]; `appLanguageCode`: `string`; `createdEvents`: `object`[]; `createdOrganizations`: `object`[]; `eventAdmin`: `object`[]; `isSuperAdmin`: `boolean`; `pluginCreationAllowed`: `boolean`; \}; `user`: \{ `__typename`: `string`; `_id`: `string`; `address`: \{ `city`: `string`; `countryCode`: `string`; `line1`: `string`; `state`: `string`; \}; `birthDate`: `string`; `createdAt`: `string`; `educationGrade`: `string`; `email`: `string`; `employmentStatus`: `string`; `eventsAttended`: `any`[]; `firstName`: `string`; `gender`: `string`; `image`: `any`; `joinedOrganizations`: `object`[]; `lastName`: `string`; `maritalStatus`: `string`; `membershipRequests`: `any`[]; `organizationsBlockedBy`: `any`[]; `phone`: \{ `mobile`: `string`; \}; `registeredEvents`: `object`[]; `tagsAssignedWith`: \{ `edges`: `object`[]; `pageInfo`: \{ `endCursor`: `string`; `hasNextPage`: `boolean`; `hasPreviousPage`: `boolean`; `startCursor`: `string`; \}; `totalCount`: `number`; \}; \}; \}; \}; \}; \} \| \{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `undefined`; `first`: `undefined`; `id`: `undefined`; `tagId`: `string`; `userId`: `string`; \}; \}; `result`: \{ `data`: \{ `unassignUserTag`: \{ `_id`: `string`; \}; `user`: `undefined`; \}; \}; \})[] +> `const` **MOCKS1**: (\{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `id`: `string`; `tagId`: `undefined`; `userId`: `undefined`; \}; \}; `result`: \{ `data`: \{ `currentUser`: \{ `__typename`: `string`; `addressLine1`: `string`; `addressLine2`: `string`; `avatarMimeType`: `string`; `avatarURL`: `string`; `birthDate`: `string`; `city`: `string`; `countryCode`: `string`; `createdAt`: `string`; `description`: `string`; `educationGrade`: `string`; `emailAddress`: `string`; `employmentStatus`: `string`; `homePhoneNumber`: `string`; `id`: `string`; `isEmailAddressVerified`: `boolean`; `maritalStatus`: `string`; `mobilePhoneNumber`: `string`; `name`: `string`; `natalSex`: `string`; `naturalLanguageCode`: `string`; `postalCode`: `string`; `role`: `string`; `state`: `string`; `updatedAt`: `string`; `workPhoneNumber`: `string`; \}; `unassignUserTag`: `undefined`; \}; \}; \} \| \{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `id`: `undefined`; `tagId`: `string`; `userId`: `string`; \}; \}; `result`: \{ `data`: \{ `currentUser`: `undefined`; `unassignUserTag`: \{ `_id`: `string`; \}; \}; \}; \})[] Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:5](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L5) diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS2.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS2.md index 7dc494ddc8..89479c8ba7 100644 --- a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS2.md +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS2.md @@ -6,7 +6,7 @@ > `const` **MOCKS2**: `object`[] -Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:337](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L337) +Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:64](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L64) ## Type declaration @@ -16,16 +16,12 @@ Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:337](https://github.c #### request.query -> **query**: `DocumentNode` = `USER_DETAILS` +> **query**: `DocumentNode` = `CURRENT_USER` #### request.variables > **variables**: `object` -#### request.variables.first - -> **first**: `number` = `TAGS_QUERY_DATA_CHUNK_SIZE` - #### request.variables.id > **id**: `string` = `'rishav-jha-mech'` @@ -38,182 +34,110 @@ Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:337](https://github.c > **data**: `object` -#### result.data.user - -> **user**: `object` - -#### result.data.user.\_\_typename - -> **\_\_typename**: `string` = `'UserData'` - -#### result.data.user.appUserProfile - -> **appUserProfile**: `object` - -#### result.data.user.appUserProfile.\_\_typename - -> **\_\_typename**: `string` = `'AppUserProfile'` - -#### result.data.user.appUserProfile.\_id - -> **\_id**: `string` = `'1'` - -#### result.data.user.appUserProfile.adminFor - -> **adminFor**: `any`[] = `[]` - -#### result.data.user.appUserProfile.appLanguageCode - -> **appLanguageCode**: `string` = `'en'` - -#### result.data.user.appUserProfile.createdEvents - -> **createdEvents**: `object`[] - -#### result.data.user.appUserProfile.createdOrganizations - -> **createdOrganizations**: `object`[] +#### result.data.currentUser -#### result.data.user.appUserProfile.eventAdmin +> **currentUser**: `object` -> **eventAdmin**: `object`[] - -#### result.data.user.appUserProfile.isSuperAdmin - -> **isSuperAdmin**: `boolean` = `false` - -#### result.data.user.appUserProfile.pluginCreationAllowed - -> **pluginCreationAllowed**: `boolean` = `true` - -#### result.data.user.user - -> **user**: `object` - -#### result.data.user.user.\_\_typename +#### result.data.currentUser.\_\_typename > **\_\_typename**: `string` = `'User'` -#### result.data.user.user.\_id - -> **\_id**: `string` = `'1'` - -#### result.data.user.user.address - -> **address**: `object` - -#### result.data.user.user.address.city - -> **city**: `string` = `''` - -#### result.data.user.user.address.countryCode - -> **countryCode**: `string` = `''` - -#### result.data.user.user.address.line1 - -> **line1**: `string` = `''` - -#### result.data.user.user.address.state - -> **state**: `string` = `''` - -#### result.data.user.user.birthDate +#### result.data.currentUser.addressLine1 -> **birthDate**: `string` = `'2024-03-14'` +> **addressLine1**: `string` = `'Line 1'` -#### result.data.user.user.createdAt +#### result.data.currentUser.addressLine2 -> **createdAt**: `string` = `'2024-02-26T10:36:33.098Z'` +> **addressLine2**: `string` = `'Line 2'` -#### result.data.user.user.educationGrade +#### result.data.currentUser.avatarMimeType -> **educationGrade**: `string` = `''` +> **avatarMimeType**: `string` = `'image/jpeg'` -#### result.data.user.user.email +#### result.data.currentUser.avatarURL -> **email**: `string` = `'adi790u@gmail.com'` +> **avatarURL**: `string` = `'http://example.com/avatar.jpg'` -#### result.data.user.user.employmentStatus +#### result.data.currentUser.birthDate -> **employmentStatus**: `string` = `''` +> **birthDate**: `string` = `'2000-01-01'` -#### result.data.user.user.eventsAttended +#### result.data.currentUser.city -> **eventsAttended**: `object`[] +> **city**: `string` = `'nyc'` -#### result.data.user.user.firstName +#### result.data.currentUser.countryCode -> **firstName**: `string` = `'Aditya'` +> **countryCode**: `string` = `'bb'` -#### result.data.user.user.gender +#### result.data.currentUser.createdAt -> **gender**: `string` = `''` +> **createdAt**: `string` = `'2025-02-06T03:10:50.254'` -#### result.data.user.user.image +#### result.data.currentUser.description -> **image**: `string` = `'https://placeholder.com/200x200'` +> **description**: `string` = `'This is a description'` -#### result.data.user.user.joinedOrganizations +#### result.data.currentUser.educationGrade -> **joinedOrganizations**: `object`[] +> **educationGrade**: `string` = `'grade_8'` -#### result.data.user.user.lastName +#### result.data.currentUser.emailAddress -> **lastName**: `string` = `'Agarwal'` +> **emailAddress**: `string` = `'test221@gmail.com'` -#### result.data.user.user.maritalStatus +#### result.data.currentUser.employmentStatus -> **maritalStatus**: `string` = `''` +> **employmentStatus**: `string` = `'employed'` -#### result.data.user.user.membershipRequests +#### result.data.currentUser.homePhoneNumber -> **membershipRequests**: `any`[] = `[]` +> **homePhoneNumber**: `string` = `'+9999999998'` -#### result.data.user.user.organizationsBlockedBy +#### result.data.currentUser.id -> **organizationsBlockedBy**: `any`[] = `[]` +> **id**: `string` = `'0194d80f-03cd-79cd-8135-683494b187a1'` -#### result.data.user.user.phone +#### result.data.currentUser.isEmailAddressVerified -> **phone**: `object` +> **isEmailAddressVerified**: `boolean` = `false` -#### result.data.user.user.phone.mobile +#### result.data.currentUser.maritalStatus -> **mobile**: `string` = `''` +> **maritalStatus**: `string` = `'engaged'` -#### result.data.user.user.registeredEvents +#### result.data.currentUser.mobilePhoneNumber -> **registeredEvents**: `object`[] +> **mobilePhoneNumber**: `string` = `'+9999999999'` -#### result.data.user.user.tagsAssignedWith +#### result.data.currentUser.name -> **tagsAssignedWith**: `object` +> **name**: `string` = `'Rishav Jha'` -#### result.data.user.user.tagsAssignedWith.edges +#### result.data.currentUser.natalSex -> **edges**: `any`[] = `[]` +> **natalSex**: `string` = `'male'` -#### result.data.user.user.tagsAssignedWith.pageInfo +#### result.data.currentUser.naturalLanguageCode -> **pageInfo**: `object` +> **naturalLanguageCode**: `string` = `'en'` -#### result.data.user.user.tagsAssignedWith.pageInfo.endCursor +#### result.data.currentUser.postalCode -> **endCursor**: `any` = `null` +> **postalCode**: `string` = `'111111'` -#### result.data.user.user.tagsAssignedWith.pageInfo.hasNextPage +#### result.data.currentUser.role -> **hasNextPage**: `boolean` = `false` +> **role**: `string` = `'regular'` -#### result.data.user.user.tagsAssignedWith.pageInfo.hasPreviousPage +#### result.data.currentUser.state -> **hasPreviousPage**: `boolean` = `false` +> **state**: `string` = `'State1'` -#### result.data.user.user.tagsAssignedWith.pageInfo.startCursor +#### result.data.currentUser.updatedAt -> **startCursor**: `any` = `null` +> **updatedAt**: `string` = `'2025-02-06T03:22:17.808'` -#### result.data.user.user.tagsAssignedWith.totalCount +#### result.data.currentUser.workPhoneNumber -> **totalCount**: `number` = `0` +> **workPhoneNumber**: `string` = `'+9999999998'` diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS3.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS3.md index 1a5093e305..1703d06305 100644 --- a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS3.md +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCKS3.md @@ -6,7 +6,7 @@ > `const` **MOCKS3**: `object`[] -Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:437](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L437) +Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:106](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L106) ## Type declaration @@ -16,16 +16,12 @@ Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:437](https://github.c #### request.query -> **query**: `DocumentNode` = `USER_DETAILS` +> **query**: `DocumentNode` = `CURRENT_USER` #### request.variables > **variables**: `object` -#### request.variables.first - -> **first**: `number` = `TAGS_QUERY_DATA_CHUNK_SIZE` - #### request.variables.id > **id**: `string` = `'rishav-jha-mech'` @@ -38,182 +34,110 @@ Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:437](https://github.c > **data**: `object` -#### result.data.user - -> **user**: `object` - -#### result.data.user.\_\_typename - -> **\_\_typename**: `string` = `'UserData'` - -#### result.data.user.appUserProfile - -> **appUserProfile**: `object` - -#### result.data.user.appUserProfile.\_\_typename - -> **\_\_typename**: `string` = `'AppUserProfile'` - -#### result.data.user.appUserProfile.\_id - -> **\_id**: `string` = `'1'` - -#### result.data.user.appUserProfile.adminFor - -> **adminFor**: `any`[] = `[]` - -#### result.data.user.appUserProfile.appLanguageCode - -> **appLanguageCode**: `string` = `'en'` - -#### result.data.user.appUserProfile.createdEvents - -> **createdEvents**: `object`[] - -#### result.data.user.appUserProfile.createdOrganizations - -> **createdOrganizations**: `object`[] +#### result.data.currentUser -#### result.data.user.appUserProfile.eventAdmin +> **currentUser**: `object` -> **eventAdmin**: `object`[] - -#### result.data.user.appUserProfile.isSuperAdmin - -> **isSuperAdmin**: `boolean` = `true` - -#### result.data.user.appUserProfile.pluginCreationAllowed - -> **pluginCreationAllowed**: `boolean` = `true` - -#### result.data.user.user - -> **user**: `object` - -#### result.data.user.user.\_\_typename +#### result.data.currentUser.\_\_typename > **\_\_typename**: `string` = `'User'` -#### result.data.user.user.\_id - -> **\_id**: `string` = `'1'` - -#### result.data.user.user.address - -> **address**: `object` - -#### result.data.user.user.address.city - -> **city**: `string` = `''` - -#### result.data.user.user.address.countryCode - -> **countryCode**: `string` = `''` - -#### result.data.user.user.address.line1 - -> **line1**: `string` = `''` - -#### result.data.user.user.address.state - -> **state**: `string` = `''` - -#### result.data.user.user.birthDate +#### result.data.currentUser.addressLine1 -> **birthDate**: `string` = `'2024-03-14'` +> **addressLine1**: `string` = `'Line 1'` -#### result.data.user.user.createdAt +#### result.data.currentUser.addressLine2 -> **createdAt**: `string` = `'2024-02-26T10:36:33.098Z'` +> **addressLine2**: `string` = `'Line 2'` -#### result.data.user.user.educationGrade +#### result.data.currentUser.avatarMimeType -> **educationGrade**: `string` = `''` +> **avatarMimeType**: `string` = `'image/jpeg'` -#### result.data.user.user.email +#### result.data.currentUser.avatarURL -> **email**: `string` = `'adi790u@gmail.com'` +> **avatarURL**: `string` = `'http://example.com/avatar.jpg'` -#### result.data.user.user.employmentStatus +#### result.data.currentUser.birthDate -> **employmentStatus**: `string` = `''` +> **birthDate**: `string` = `'2000-01-01'` -#### result.data.user.user.eventsAttended +#### result.data.currentUser.city -> **eventsAttended**: `any`[] = `[]` +> **city**: `string` = `'nyc'` -#### result.data.user.user.firstName +#### result.data.currentUser.countryCode -> **firstName**: `string` = `'Aditya'` +> **countryCode**: `string` = `'bb'` -#### result.data.user.user.gender +#### result.data.currentUser.createdAt -> **gender**: `string` = `''` +> **createdAt**: `string` = `'2025-02-06T03:10:50.254'` -#### result.data.user.user.image +#### result.data.currentUser.description -> **image**: `string` = `'https://placeholder.com/200x200'` +> **description**: `string` = `'This is a description'` -#### result.data.user.user.joinedOrganizations +#### result.data.currentUser.educationGrade -> **joinedOrganizations**: `object`[] +> **educationGrade**: `string` = `'grade_8'` -#### result.data.user.user.lastName +#### result.data.currentUser.emailAddress -> **lastName**: `string` = `'Agarwal'` +> **emailAddress**: `string` = `'test221@gmail.com'` -#### result.data.user.user.maritalStatus +#### result.data.currentUser.employmentStatus -> **maritalStatus**: `string` = `''` +> **employmentStatus**: `string` = `'employed'` -#### result.data.user.user.membershipRequests +#### result.data.currentUser.homePhoneNumber -> **membershipRequests**: `any`[] = `[]` +> **homePhoneNumber**: `string` = `'+9999999998'` -#### result.data.user.user.organizationsBlockedBy +#### result.data.currentUser.id -> **organizationsBlockedBy**: `any`[] = `[]` +> **id**: `string` = `'0194d80f-03cd-79cd-8135-683494b187a1'` -#### result.data.user.user.phone +#### result.data.currentUser.isEmailAddressVerified -> **phone**: `object` +> **isEmailAddressVerified**: `boolean` = `false` -#### result.data.user.user.phone.mobile +#### result.data.currentUser.maritalStatus -> **mobile**: `string` = `''` +> **maritalStatus**: `string` = `'engaged'` -#### result.data.user.user.registeredEvents +#### result.data.currentUser.mobilePhoneNumber -> **registeredEvents**: `object`[] +> **mobilePhoneNumber**: `string` = `'+9999999999'` -#### result.data.user.user.tagsAssignedWith +#### result.data.currentUser.name -> **tagsAssignedWith**: `object` +> **name**: `string` = `'Rishav Jha'` -#### result.data.user.user.tagsAssignedWith.edges +#### result.data.currentUser.natalSex -> **edges**: `any`[] = `[]` +> **natalSex**: `string` = `'male'` -#### result.data.user.user.tagsAssignedWith.pageInfo +#### result.data.currentUser.naturalLanguageCode -> **pageInfo**: `object` +> **naturalLanguageCode**: `string` = `'en'` -#### result.data.user.user.tagsAssignedWith.pageInfo.endCursor +#### result.data.currentUser.postalCode -> **endCursor**: `any` = `null` +> **postalCode**: `string` = `'123456'` -#### result.data.user.user.tagsAssignedWith.pageInfo.hasNextPage +#### result.data.currentUser.role -> **hasNextPage**: `boolean` = `false` +> **role**: `string` = `'regular'` -#### result.data.user.user.tagsAssignedWith.pageInfo.hasPreviousPage +#### result.data.currentUser.state -> **hasPreviousPage**: `boolean` = `false` +> **state**: `string` = `'State1'` -#### result.data.user.user.tagsAssignedWith.pageInfo.startCursor +#### result.data.currentUser.updatedAt -> **startCursor**: `any` = `null` +> **updatedAt**: `string` = `'2025-02-06T03:22:17.808'` -#### result.data.user.user.tagsAssignedWith.totalCount +#### result.data.currentUser.workPhoneNumber -> **totalCount**: `number` = `0` +> **workPhoneNumber**: `string` = `'+9999999998'` diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCK_FILE.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCK_FILE.md new file mode 100644 index 0000000000..bf478cafe0 --- /dev/null +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/MOCK_FILE.md @@ -0,0 +1,9 @@ +[Admin Docs](/) + +*** + +# Variable: MOCK\_FILE + +> `const` **MOCK\_FILE**: (\{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `id`: `string`; `tagId`: `undefined`; `userId`: `undefined`; \}; \}; `result`: \{ `data`: \{ `currentUser`: \{ `__typename`: `string`; `addressLine1`: `string`; `addressLine2`: `string`; `avatarMimeType`: `any`; `avatarURL`: `any`; `birthDate`: `string`; `city`: `string`; `countryCode`: `string`; `createdAt`: `string`; `description`: `string`; `educationGrade`: `string`; `emailAddress`: `string`; `employmentStatus`: `string`; `homePhoneNumber`: `string`; `id`: `string`; `isEmailAddressVerified`: `boolean`; `maritalStatus`: `string`; `mobilePhoneNumber`: `string`; `name`: `string`; `natalSex`: `string`; `naturalLanguageCode`: `string`; `postalCode`: `string`; `role`: `string`; `state`: `string`; `updatedAt`: `string`; `workPhoneNumber`: `string`; \}; `unassignUserTag`: `undefined`; \}; \}; \} \| \{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `id`: `undefined`; `tagId`: `string`; `userId`: `string`; \}; \}; `result`: \{ `data`: \{ `currentUser`: `undefined`; `unassignUserTag`: \{ `_id`: `string`; \}; \}; \}; \})[] + +Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:207](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L207) diff --git a/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/UPDATE_MOCK.md b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/UPDATE_MOCK.md new file mode 100644 index 0000000000..ddb76cfbfe --- /dev/null +++ b/docs/docs/auto-docs/screens/MemberDetail/MemberDetailMocks/variables/UPDATE_MOCK.md @@ -0,0 +1,143 @@ +[Admin Docs](/) + +*** + +# Variable: UPDATE\_MOCK + +> `const` **UPDATE\_MOCK**: `object`[] + +Defined in: [src/screens/MemberDetail/MemberDetailMocks.ts:149](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetailMocks.ts#L149) + +## Type declaration + +### request + +> **request**: `object` + +#### request.query + +> **query**: `DocumentNode` = `UPDATE_CURRENT_USER_MUTATION` + +#### request.variables + +> **variables**: `object` + +#### request.variables.input + +> **input**: `object` + +#### request.variables.input.name + +> **name**: `string` = `'Bandhan Majumder'` + +### result + +> **result**: `object` + +#### result.data + +> **data**: `object` + +#### result.data.updateCurrentUser + +> **updateCurrentUser**: `object` + +#### result.data.updateCurrentUser.addressLine1 + +> **addressLine1**: `string` = `''` + +#### result.data.updateCurrentUser.addressLine2 + +> **addressLine2**: `string` = `''` + +#### result.data.updateCurrentUser.avatarMimeType + +> **avatarMimeType**: `any` = `null` + +#### result.data.updateCurrentUser.avatarURL + +> **avatarURL**: `any` = `null` + +#### result.data.updateCurrentUser.birthDate + +> **birthDate**: `any` = `null` + +#### result.data.updateCurrentUser.city + +> **city**: `string` = `''` + +#### result.data.updateCurrentUser.countryCode + +> **countryCode**: `any` = `null` + +#### result.data.updateCurrentUser.createdAt + +> **createdAt**: `string` = `'2023-04-13T04:53:17.742Z'` + +#### result.data.updateCurrentUser.description + +> **description**: `string` = `''` + +#### result.data.updateCurrentUser.educationGrade + +> **educationGrade**: `any` = `null` + +#### result.data.updateCurrentUser.emailAddress + +> **emailAddress**: `string` = `'testadmin1@example.com'` + +#### result.data.updateCurrentUser.employmentStatus + +> **employmentStatus**: `any` = `null` + +#### result.data.updateCurrentUser.homePhoneNumber + +> **homePhoneNumber**: `string` = `''` + +#### result.data.updateCurrentUser.id + +> **id**: `string` = `'65378abd-8500-8f17-1cf2-990d00000002'` + +#### result.data.updateCurrentUser.isEmailAddressVerified + +> **isEmailAddressVerified**: `boolean` = `true` + +#### result.data.updateCurrentUser.maritalStatus + +> **maritalStatus**: `any` = `null` + +#### result.data.updateCurrentUser.mobilePhoneNumber + +> **mobilePhoneNumber**: `string` = `''` + +#### result.data.updateCurrentUser.name + +> **name**: `string` = `'Bandhan Majumder'` + +#### result.data.updateCurrentUser.natalSex + +> **natalSex**: `any` = `null` + +#### result.data.updateCurrentUser.naturalLanguageCode + +> **naturalLanguageCode**: `any` = `null` + +#### result.data.updateCurrentUser.postalCode + +> **postalCode**: `string` = `''` + +#### result.data.updateCurrentUser.role + +> **role**: `string` = `'administrator'` + +#### result.data.updateCurrentUser.state + +> **state**: `string` = `''` + +#### result.data.updateCurrentUser.updatedAt + +> **updatedAt**: `string` = `'2025-02-09T06:26:51.209Z'` + +#### result.data.updateCurrentUser.workPhoneNumber + +> **workPhoneNumber**: `string` = `''` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/functions/default.md b/docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/functions/default.md new file mode 100644 index 0000000000..2d751f80a1 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/functions/default.md @@ -0,0 +1,57 @@ +[Admin Docs](/) + +*** + +# Function: default() + +> **default**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +Defined in: [src/screens/UserPortal/Settings/ProfileHeader/ProfileHeader.tsx:42](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/ProfileHeader/ProfileHeader.tsx#L42) + +A header component that displays a title and profile dropdown menu + +This component creates a header section that includes: +- A title on the left side +- A profile dropdown menu on the right side + +The layout uses flexbox for proper alignment and spacing between +the title and the dropdown menu. + +## Parameters + +### props + +`InterfaceProfileHeaderProps` + +### deprecatedLegacyContext? + +`any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Remarks + +The component uses Bootstrap classes for layout and styling: +- d-flex for flexbox layout +- justify-content-between for spacing +- align-items-center for vertical alignment + +## Example + +Basic usage: +```tsx + +``` + +Usage with translated text: +```tsx + +``` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/functions/default.md b/docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/functions/default.md new file mode 100644 index 0000000000..f0184e01b5 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/functions/default.md @@ -0,0 +1,55 @@ +[Admin Docs](/) + +*** + +# Function: default() + +> **default**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +Defined in: [src/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection.tsx:63](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection.tsx#L63) + +Renders the profile image section of the user settings + +This component displays: +- The user's current avatar or a default avatar +- An edit button to change the profile picture +- A hidden file input for image upload + +## Parameters + +### props + +`InterfaceProfileImageSectionProps` + +### deprecatedLegacyContext? + +`any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Remarks + +The component handles two cases: +1. When an avatar URL exists - displays the actual image +2. When no avatar URL exists - displays a default avatar with user's initials + +The component uses Bootstrap classes and custom styling for layout and appearance. + +## Example + +```tsx + +``` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/Settings/functions/default.md b/docs/docs/auto-docs/screens/UserPortal/Settings/Settings/functions/default.md index 66388b9663..ca14f0b20c 100644 --- a/docs/docs/auto-docs/screens/UserPortal/Settings/Settings/functions/default.md +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/Settings/functions/default.md @@ -6,7 +6,7 @@ > **default**(): `JSX.Element` -Defined in: [src/screens/UserPortal/Settings/Settings.tsx:33](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/Settings.tsx#L33) +Defined in: [src/screens/UserPortal/Settings/Settings.tsx:26](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/Settings.tsx#L26) The Settings component allows users to view and update their profile settings. It includes functionality to handle image uploads, reset changes, and save updated user details. diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS.md b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS.md new file mode 100644 index 0000000000..1da9b7b617 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS.md @@ -0,0 +1,131 @@ +[Admin Docs](/) + +*** + +# Variable: MOCKS + +> `const` **MOCKS**: `object`[] + +Defined in: [src/screens/UserPortal/Settings/SettingsMocks.ts:4](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/SettingsMocks.ts#L4) + +## Type declaration + +### request + +> **request**: `object` + +#### request.query + +> **query**: `DocumentNode` = `UPDATE_CURRENT_USER_MUTATION` + +#### request.result + +> **result**: `object` + +#### request.result.data + +> **data**: `object` + +#### request.result.data.updateCurrentUser + +> **updateCurrentUser**: `object` + +#### request.result.data.updateCurrentUser.id + +> **id**: `string` = `'65ba1621b7b00c20e5f1d8d2'` + +#### request.variables + +> **variables**: `object` + +#### request.variables.addressLine1 + +> **addressLine1**: `string` = `'random address 1'` + +#### request.variables.addressLine2 + +> **addressLine2**: `string` = `'random address 2'` + +#### request.variables.birthDate + +> **birthDate**: `string` = `'2004-10-14'` + +#### request.variables.city + +> **city**: `string` = `'random city'` + +#### request.variables.countryCode + +> **countryCode**: `string` = `'in'` + +#### request.variables.createdAt + +> **createdAt**: `string` = `'2021-03-01T00:00:00.000Z'` + +#### request.variables.description + +> **description**: `string` = `'This is a random description by Bandhan'` + +#### request.variables.educationGrade + +> **educationGrade**: `string` = `'grade_1'` + +#### request.variables.emailAddress + +> **emailAddress**: `string` = `'random@gmail.com'` + +#### request.variables.employmentStatus + +> **employmentStatus**: `string` = `'employed'` + +#### request.variables.homePhoneNumber + +> **homePhoneNumber**: `string` = `'1234567890'` + +#### request.variables.id + +> **id**: `string` = `'65ba1621b7b00c20e5f1d8d2'` + +#### request.variables.isEmailAddressVerified + +> **isEmailAddressVerified**: `boolean` = `true` + +#### request.variables.maritalStatus + +> **maritalStatus**: `string` = `'single'` + +#### request.variables.mobilePhoneNumber + +> **mobilePhoneNumber**: `string` = `'1234567890'` + +#### request.variables.name + +> **name**: `string` = `'Noble Mittal'` + +#### request.variables.natalSex + +> **natalSex**: `string` = `'male'` + +#### request.variables.naturalLanguageCode + +> **naturalLanguageCode**: `string` = `'en'` + +#### request.variables.postalCode + +> **postalCode**: `string` = `'111111'` + +#### request.variables.role + +> **role**: `string` = `'regular'` + +#### request.variables.state + +> **state**: `string` = `'random state'` + +#### request.variables.updatedAt + +> **updatedAt**: `string` = `'2021-03-01T00:00:00.000Z'` + +#### request.variables.workPhoneNumber + +> **workPhoneNumber**: `string` = `'1234567890'` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS1.md b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS1.md new file mode 100644 index 0000000000..3ba6ca67c9 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS1.md @@ -0,0 +1,135 @@ +[Admin Docs](/) + +*** + +# Variable: MOCKS1 + +> `const` **MOCKS1**: `object`[] + +Defined in: [src/screens/UserPortal/Settings/SettingsMocks.ts:44](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/SettingsMocks.ts#L44) + +## Type declaration + +### request + +> **request**: `object` + +#### request.query + +> **query**: `DocumentNode` = `CURRENT_USER` + +### result + +> **result**: `object` + +#### result.data + +> **data**: `object` + +#### result.data.currentUser + +> **currentUser**: `object` + +#### result.data.currentUser.\_\_typename + +> **\_\_typename**: `string` = `'User'` + +#### result.data.currentUser.addressLine1 + +> **addressLine1**: `string` = `'Line 1'` + +#### result.data.currentUser.addressLine2 + +> **addressLine2**: `string` = `'Line 2'` + +#### result.data.currentUser.avatarMimeType + +> **avatarMimeType**: `string` = `'image/jpeg'` + +#### result.data.currentUser.avatarURL + +> **avatarURL**: `string` = `'http://example.com/avatar.jpg'` + +#### result.data.currentUser.birthDate + +> **birthDate**: `string` = `'2000-01-01'` + +#### result.data.currentUser.city + +> **city**: `string` = `'nyc'` + +#### result.data.currentUser.countryCode + +> **countryCode**: `string` = `'in'` + +#### result.data.currentUser.createdAt + +> **createdAt**: `string` = `'2025-02-06T03:10:50.254'` + +#### result.data.currentUser.description + +> **description**: `string` = `'This is a description'` + +#### result.data.currentUser.educationGrade + +> **educationGrade**: `string` = `'grade_8'` + +#### result.data.currentUser.emailAddress + +> **emailAddress**: `string` = `'test221@gmail.com'` + +#### result.data.currentUser.employmentStatus + +> **employmentStatus**: `string` = `'employed'` + +#### result.data.currentUser.homePhoneNumber + +> **homePhoneNumber**: `string` = `'+9999999998'` + +#### result.data.currentUser.id + +> **id**: `string` = `'0194d80f-03cd-79cd-8135-683494b187a1'` + +#### result.data.currentUser.isEmailAddressVerified + +> **isEmailAddressVerified**: `boolean` = `false` + +#### result.data.currentUser.maritalStatus + +> **maritalStatus**: `string` = `'engaged'` + +#### result.data.currentUser.mobilePhoneNumber + +> **mobilePhoneNumber**: `string` = `'+9999999999'` + +#### result.data.currentUser.name + +> **name**: `string` = `'Bandhan Majumder'` + +#### result.data.currentUser.natalSex + +> **natalSex**: `string` = `'male'` + +#### result.data.currentUser.naturalLanguageCode + +> **naturalLanguageCode**: `string` = `'en'` + +#### result.data.currentUser.postalCode + +> **postalCode**: `string` = `'11111111f'` + +#### result.data.currentUser.role + +> **role**: `string` = `'regular'` + +#### result.data.currentUser.state + +> **state**: `string` = `'State1'` + +#### result.data.currentUser.updatedAt + +> **updatedAt**: `string` = `'2025-02-06T03:22:17.808'` + +#### result.data.currentUser.workPhoneNumber + +> **workPhoneNumber**: `string` = `'+9999999998'` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS2.md b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS2.md new file mode 100644 index 0000000000..f7d21dfbce --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/MOCKS2.md @@ -0,0 +1,135 @@ +[Admin Docs](/) + +*** + +# Variable: MOCKS2 + +> `const` **MOCKS2**: `object`[] + +Defined in: [src/screens/UserPortal/Settings/SettingsMocks.ts:84](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/SettingsMocks.ts#L84) + +## Type declaration + +### request + +> **request**: `object` + +#### request.query + +> **query**: `DocumentNode` = `CURRENT_USER` + +### result + +> **result**: `object` + +#### result.data + +> **data**: `object` + +#### result.data.currentUser + +> **currentUser**: `object` + +#### result.data.currentUser.\_\_typename + +> **\_\_typename**: `string` = `'User'` + +#### result.data.currentUser.addressLine1 + +> **addressLine1**: `string` = `''` + +#### result.data.currentUser.addressLine2 + +> **addressLine2**: `string` = `''` + +#### result.data.currentUser.avatarMimeType + +> **avatarMimeType**: `string` = `''` + +#### result.data.currentUser.avatarURL + +> **avatarURL**: `string` = `''` + +#### result.data.currentUser.birthDate + +> **birthDate**: `string` = `''` + +#### result.data.currentUser.city + +> **city**: `string` = `''` + +#### result.data.currentUser.countryCode + +> **countryCode**: `string` = `''` + +#### result.data.currentUser.createdAt + +> **createdAt**: `string` = `''` + +#### result.data.currentUser.description + +> **description**: `string` = `''` + +#### result.data.currentUser.educationGrade + +> **educationGrade**: `string` = `''` + +#### result.data.currentUser.emailAddress + +> **emailAddress**: `string` = `''` + +#### result.data.currentUser.employmentStatus + +> **employmentStatus**: `string` = `''` + +#### result.data.currentUser.homePhoneNumber + +> **homePhoneNumber**: `string` = `''` + +#### result.data.currentUser.id + +> **id**: `string` = `'0194d80f-03cd-79cd-8135-683494b187a1'` + +#### result.data.currentUser.isEmailAddressVerified + +> **isEmailAddressVerified**: `boolean` = `false` + +#### result.data.currentUser.maritalStatus + +> **maritalStatus**: `string` = `''` + +#### result.data.currentUser.mobilePhoneNumber + +> **mobilePhoneNumber**: `string` = `''` + +#### result.data.currentUser.name + +> **name**: `string` = `''` + +#### result.data.currentUser.natalSex + +> **natalSex**: `string` = `''` + +#### result.data.currentUser.naturalLanguageCode + +> **naturalLanguageCode**: `string` = `''` + +#### result.data.currentUser.postalCode + +> **postalCode**: `string` = `''` + +#### result.data.currentUser.role + +> **role**: `string` = `''` + +#### result.data.currentUser.state + +> **state**: `string` = `''` + +#### result.data.currentUser.updatedAt + +> **updatedAt**: `string` = `''` + +#### result.data.currentUser.workPhoneNumber + +> **workPhoneNumber**: `string` = `''` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/UPDATE_MOCK.md b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/UPDATE_MOCK.md new file mode 100644 index 0000000000..45908dd54b --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/UPDATE_MOCK.md @@ -0,0 +1,143 @@ +[Admin Docs](/) + +*** + +# Variable: UPDATE\_MOCK + +> `const` **UPDATE\_MOCK**: `object`[] + +Defined in: [src/screens/UserPortal/Settings/SettingsMocks.ts:124](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/SettingsMocks.ts#L124) + +## Type declaration + +### request + +> **request**: `object` + +#### request.query + +> **query**: `DocumentNode` = `UPDATE_CURRENT_USER_MUTATION` + +#### request.variables + +> **variables**: `object` + +#### request.variables.input + +> **input**: `object` + +#### request.variables.input.name + +> **name**: `string` = `'Bandhan Majumder'` + +### result + +> **result**: `object` + +#### result.data + +> **data**: `object` + +#### result.data.updateCurrentUser + +> **updateCurrentUser**: `object` + +#### result.data.updateCurrentUser.addressLine1 + +> **addressLine1**: `string` = `''` + +#### result.data.updateCurrentUser.addressLine2 + +> **addressLine2**: `string` = `''` + +#### result.data.updateCurrentUser.avatarMimeType + +> **avatarMimeType**: `any` = `null` + +#### result.data.updateCurrentUser.avatarURL + +> **avatarURL**: `any` = `null` + +#### result.data.updateCurrentUser.birthDate + +> **birthDate**: `any` = `null` + +#### result.data.updateCurrentUser.city + +> **city**: `string` = `''` + +#### result.data.updateCurrentUser.countryCode + +> **countryCode**: `any` = `null` + +#### result.data.updateCurrentUser.createdAt + +> **createdAt**: `string` = `'2023-04-13T04:53:17.742Z'` + +#### result.data.updateCurrentUser.description + +> **description**: `string` = `''` + +#### result.data.updateCurrentUser.educationGrade + +> **educationGrade**: `any` = `null` + +#### result.data.updateCurrentUser.emailAddress + +> **emailAddress**: `string` = `'testadmin1@example.com'` + +#### result.data.updateCurrentUser.employmentStatus + +> **employmentStatus**: `any` = `null` + +#### result.data.updateCurrentUser.homePhoneNumber + +> **homePhoneNumber**: `string` = `''` + +#### result.data.updateCurrentUser.id + +> **id**: `string` = `'65378abd-8500-8f17-1cf2-990d00000002'` + +#### result.data.updateCurrentUser.isEmailAddressVerified + +> **isEmailAddressVerified**: `boolean` = `true` + +#### result.data.updateCurrentUser.maritalStatus + +> **maritalStatus**: `any` = `null` + +#### result.data.updateCurrentUser.mobilePhoneNumber + +> **mobilePhoneNumber**: `string` = `''` + +#### result.data.updateCurrentUser.name + +> **name**: `string` = `'Bandhan Majumder'` + +#### result.data.updateCurrentUser.natalSex + +> **natalSex**: `any` = `null` + +#### result.data.updateCurrentUser.naturalLanguageCode + +> **naturalLanguageCode**: `any` = `null` + +#### result.data.updateCurrentUser.postalCode + +> **postalCode**: `string` = `''` + +#### result.data.updateCurrentUser.role + +> **role**: `string` = `'regular'` + +#### result.data.updateCurrentUser.state + +> **state**: `string` = `''` + +#### result.data.updateCurrentUser.updatedAt + +> **updatedAt**: `string` = `'2025-02-09T06:26:51.209Z'` + +#### result.data.updateCurrentUser.workPhoneNumber + +> **workPhoneNumber**: `string` = `''` diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/errorMock.md b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/errorMock.md new file mode 100644 index 0000000000..06db9553d6 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/SettingsMocks/variables/errorMock.md @@ -0,0 +1,9 @@ +[Admin Docs](/) + +*** + +# Variable: errorMock + +> `const` **errorMock**: (\{ `request`: \{ `query`: `DocumentNode`; \}; `result`: \{ `data`: \{ `currentUser`: \{ `__typename`: `string`; `addressLine1`: `string`; `addressLine2`: `string`; `avatarMimeType`: `string`; `avatarURL`: `string`; `birthDate`: `string`; `city`: `string`; `countryCode`: `string`; `createdAt`: `string`; `description`: `string`; `educationGrade`: `string`; `emailAddress`: `string`; `employmentStatus`: `string`; `homePhoneNumber`: `string`; `id`: `string`; `isEmailAddressVerified`: `boolean`; `maritalStatus`: `string`; `mobilePhoneNumber`: `string`; `name`: `string`; `natalSex`: `string`; `naturalLanguageCode`: `string`; `postalCode`: `string`; `role`: `string`; `state`: `string`; `updatedAt`: `string`; `workPhoneNumber`: `string`; \}; \}; \}; \} \| \{ `error`: `Error`; `request`: \{ `query`: `DocumentNode`; `variables`: \{ `input`: \{ `mobilePhoneNumber`: `string`; `name`: `string`; \}; \}; \}; \})[] + +Defined in: [src/screens/UserPortal/Settings/SettingsMocks.ts:168](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/SettingsMocks.ts#L168) diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/functions/default.md b/docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/functions/default.md new file mode 100644 index 0000000000..df9d6a9223 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/functions/default.md @@ -0,0 +1,37 @@ +[Admin Docs](/) + +*** + +# Function: default() + +> **default**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +Defined in: [src/screens/UserPortal/Settings/SideToggle/SideToggle.tsx:22](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/SideToggle/SideToggle.tsx#L22) + +SidebarToggle component. + +This component renders a button that toggles the visibility of a sidebar. +It uses the `hideDrawer` state to determine the current state of the sidebar +and toggles it when the button is clicked. + +## Parameters + +### props + +`InterfaceSidebarToggleProps` + +### deprecatedLegacyContext? + +`any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +A button element that toggles the sidebar visibility. diff --git a/docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/functions/default.md b/docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/functions/default.md new file mode 100644 index 0000000000..9f3c484321 --- /dev/null +++ b/docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/functions/default.md @@ -0,0 +1,33 @@ +[Admin Docs](/) + +*** + +# Function: default() + +> **default**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +Defined in: [src/screens/UserPortal/Settings/UserDetails/UserDetails.tsx:54](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/UserPortal/Settings/UserDetails/UserDetails.tsx#L54) + +UserDetailsForm component renders a form for updating user details. + +## Parameters + +### props + +`InterfaceUserDetailsFormProps` + +### deprecatedLegacyContext? + +`any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +The UserDetailsForm component. diff --git a/docs/docs/auto-docs/utils/formEnumFields/variables/educationGradeEnum.md b/docs/docs/auto-docs/utils/formEnumFields/variables/educationGradeEnum.md index 1bcc0d19a5..72733cd6c6 100644 --- a/docs/docs/auto-docs/utils/formEnumFields/variables/educationGradeEnum.md +++ b/docs/docs/auto-docs/utils/formEnumFields/variables/educationGradeEnum.md @@ -16,4 +16,4 @@ Defined in: [src/utils/formEnumFields.ts:202](https://github.com/PalisadoesFound ### value -> **value**: `string` = `'NO_GRADE'` +> **value**: `string` = `'no_grade'` diff --git a/docs/docs/auto-docs/utils/formEnumFields/variables/employmentStatusEnum.md b/docs/docs/auto-docs/utils/formEnumFields/variables/employmentStatusEnum.md index e5d8564b45..99cec1fa8c 100644 --- a/docs/docs/auto-docs/utils/formEnumFields/variables/employmentStatusEnum.md +++ b/docs/docs/auto-docs/utils/formEnumFields/variables/employmentStatusEnum.md @@ -16,4 +16,4 @@ Defined in: [src/utils/formEnumFields.ts:311](https://github.com/PalisadoesFound ### value -> **value**: `string` = `'FULL_TIME'` +> **value**: `string` = `'full_time'` diff --git a/docs/docs/auto-docs/utils/formEnumFields/variables/genderEnum.md b/docs/docs/auto-docs/utils/formEnumFields/variables/genderEnum.md index deca59d97d..d868788986 100644 --- a/docs/docs/auto-docs/utils/formEnumFields/variables/genderEnum.md +++ b/docs/docs/auto-docs/utils/formEnumFields/variables/genderEnum.md @@ -16,4 +16,4 @@ Defined in: [src/utils/formEnumFields.ts:296](https://github.com/PalisadoesFound ### value -> **value**: `string` = `'MALE'` +> **value**: `string` = `'male'` diff --git a/docs/docs/auto-docs/utils/formEnumFields/variables/maritalStatusEnum.md b/docs/docs/auto-docs/utils/formEnumFields/variables/maritalStatusEnum.md index 4980cc3eac..6ae25d8f3a 100644 --- a/docs/docs/auto-docs/utils/formEnumFields/variables/maritalStatusEnum.md +++ b/docs/docs/auto-docs/utils/formEnumFields/variables/maritalStatusEnum.md @@ -16,4 +16,4 @@ Defined in: [src/utils/formEnumFields.ts:269](https://github.com/PalisadoesFound ### value -> **value**: `string` = `'SINGLE'` +> **value**: `string` = `'single'` diff --git a/docs/docs/auto-docs/utils/passwordValidator/functions/validatePassword.md b/docs/docs/auto-docs/utils/passwordValidator/functions/validatePassword.md new file mode 100644 index 0000000000..f22eacabba --- /dev/null +++ b/docs/docs/auto-docs/utils/passwordValidator/functions/validatePassword.md @@ -0,0 +1,19 @@ +[Admin Docs](/) + +*** + +# Function: validatePassword() + +> **validatePassword**(`password`): `boolean` + +Defined in: [src/utils/passwordValidator.ts:1](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/utils/passwordValidator.ts#L1) + +## Parameters + +### password + +`string` + +## Returns + +`boolean` diff --git a/docs/docs/auto-docs/utils/sanitizeAvatar/functions/sanitizeAvatars.md b/docs/docs/auto-docs/utils/sanitizeAvatar/functions/sanitizeAvatars.md new file mode 100644 index 0000000000..fe1b3cf5c7 --- /dev/null +++ b/docs/docs/auto-docs/utils/sanitizeAvatar/functions/sanitizeAvatars.md @@ -0,0 +1,23 @@ +[Admin Docs](/) + +*** + +# Function: sanitizeAvatars() + +> **sanitizeAvatars**(`file`, `fallbackUrl`): `string` + +Defined in: [src/utils/sanitizeAvatar.ts:1](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/utils/sanitizeAvatar.ts#L1) + +## Parameters + +### file + +`File` + +### fallbackUrl + +`string` + +## Returns + +`string` diff --git a/docs/docs/auto-docs/utils/urlToFile/functions/urlToFile.md b/docs/docs/auto-docs/utils/urlToFile/functions/urlToFile.md new file mode 100644 index 0000000000..0ad8910e2c --- /dev/null +++ b/docs/docs/auto-docs/utils/urlToFile/functions/urlToFile.md @@ -0,0 +1,19 @@ +[Admin Docs](/) + +*** + +# Function: urlToFile() + +> **urlToFile**(`url`): `Promise`\<`File`\> + +Defined in: [src/utils/urlToFile.ts:2](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/utils/urlToFile.ts#L2) + +## Parameters + +### url + +`string` + +## Returns + +`Promise`\<`File`\> diff --git a/package-lock.json b/package-lock.json index 1b922cebba..115c22cb55 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5806,6 +5806,7 @@ "version": "2.5.1", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -5845,6 +5846,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5865,6 +5867,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5885,6 +5888,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5905,6 +5909,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5925,6 +5930,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5945,6 +5951,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5965,6 +5972,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5985,6 +5993,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -6005,6 +6014,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -6025,6 +6035,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -6045,6 +6056,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -6065,6 +6077,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -6085,6 +6098,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -11125,6 +11139,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "dev": true, "license": "Apache-2.0", "optional": true, "bin": { @@ -19134,6 +19149,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, "license": "MIT", "optional": true }, diff --git a/src/style/app-fixed.module.css b/src/style/app-fixed.module.css index e08f37be51..5ffbc857a2 100644 --- a/src/style/app-fixed.module.css +++ b/src/style/app-fixed.module.css @@ -36,135 +36,135 @@ */ :root { - --addButton-font: var(#555555); - --addButton-border: #eaebef; - --addButton-bg: #a8c7fa; - --addButton-bg-hover: #1778f2; - --addButton-border-hover: #555555; - --disabled-btn: #e7f0fe; - - --removeButton-bg: #f8d6dc; - --removeButton-color: #c8102e; - --removeButton-bg-hover: #ff4d4f; - --removeButton-border-hover: #ff4d4f; - --removeButton-color-hover: #ffffff; - --removeButton-border: #dc3545; - - --activeTab-bg: #eaebef; - --activeTab-color: #808080; - --activeTab-bg-hover: #707070; - --activeTab-color-hover: #ffffff; - --activeTab-border: #808080; - --activeTab-outline-focus: #808080; - --activeTab-border-hover: #707070; - - --inactiveTab-bg: #ffffff97; - --inactiveTab-color: #808080; - --inactiveTab-border: #808080; - --inActiveTab-outline-focus: #808080; - --inactiveTab-bg-hover: #eaebef; - --inactiveTab-color-hover: #808080; - --inactiveTab-border-hover: #707070; - - --searchButton-bg: #a8c7fa; - --searchButton-color: #555555; - --searchButton-border: #a8c7fa; - --searchButton-border-hover: #a8c7fa; - --searchButton-color-hover: #555555; - --searchButton-border-focus: #a8c7fa; - --searchButton-bg-hover: #a8c7fa; - --searchButton-bg-active: #a8c7fa; - - --hover-shadow: 0 1px 3px 0 rgba(168, 199, 250, 1), - 0 4px 8px 3px rgba(60, 64, 67, 0.15); - - --modalHeader-color: #000000; - --modalHeader-bg: #ffffff; - - --switch-bg-checked: #1778f2; - --switch-border-checked: #1778f2; - --switch-box-shadow-checked: #a8c7fa; - --switch-border-focus: #d1d5db; - - --editButton-bg: #a8c7fa; - --editButton-font: #555555; - --editButton-border: #eaebef; - --editButton-bg-active: #1778f2; - --editButton-border-active: #eaebef; - --editButton-bg-hover: #1778f2; - --editButton-border-hover: #555555; - - --regularBtn-bg: #a8c7fa; - --regularBtn-border: #555555; - --regularBtn-bg-hover: #286fe0; - --regularBtn-font-hover: #555555; - --regularBtn-border-hover: #555555; - - --font-size-header: 16px; - --font-size-table-body: 14px; - - --tableHeader-bg: #eaebef; - --tableHeader-color: #000000; - - --LoginToggle-button-color: #555555; - --LoginToggle-button-bg: #eaebef; - --LoginToggle-button-border: #eaebef; - --LoginToggle-button-bg-hover: #eaebef; - --LoginToggle-button-border-hover: #eaebef; - --LoginToggle-button-bg-active: #a8c7fa; - --LoginToggle-button-border-active: #a8c7fa; - --LoginToggle-button-color-active: #555555; - --LoginToggle-button-color-active-hover: #555555; - --LoginToggle-button-border-active-hover: #a8c7fa; - --LoginToggle-button-bg-active-hover: #a8c7fa; - - --email-button-bg: #a8c7fa; - --email-button-bg: #a8c7fa; - --email-button-bg-hover: #a8c7fa; - --email-button-border-hover: #a8c7fa; - --email-button-bg: #a8c7fa; - --email-button-border: #a8c7fa; - --email-button-fill: #555555; - - --login-button-color: #555555; - --login-button-bg: #a8c7fa; - --login-button-border: #a8c7fa; - --login-button-bg-hover: #a8c7fa; - --login-button-border-hover: #a8c7fa; - --login-button-color-active: #a8c7fa; - --login-button-bg-active: #a8c7fa; - --login-button-border-active: #a8c7fa; - --login-button-bg-disabled: #a8c7fa; - --login-button-border-disabled: #a8c7fa; - --login-button-color-hover: #555555; - - --langChange-button-bg-active: #a8c7fa; - --langChange-button-border-active: #a8c7fa; - --langChange-button-color-active: #1778f2; - --langChange-button-color: #1778f2; - --langChange-button-border: #a8c7fa; - --langChange-button-bg-hover: #a8c7fa; - --langChange-button-border-hover: #a8c7fa; - - --langChange-button-bg-hover: #a8c7fa; - --langChange-button-border-hover: #a8c7fa; - - --orText-bg: #fff; - --orText-color: #6c757d; - - --register-button-bg: #eaebef; - --register-button-border: #eaebef; - --register-button-border: #eaebef; - --register-button-border-hover: #eaebef; - --register-button-color-active: #eaebef; - --register-button-bg-active: #eaebef; - --register-button-border-active: #eaebef; - --register-button-color: #555555; - --register-button-color-hover: #555555; - - --row-bg: #fff; - --row-bg-scroll: #00000029; - --row-color: #6c757d; + --addButton-font: var(#555555); + --addButton-border: #eaebef; + --addButton-bg: #a8c7fa; + --addButton-bg-hover: #1778f2; + --addButton-border-hover: #555555; + --disabled-btn: #e7f0fe; + + --removeButton-bg: #f8d6dc; + --removeButton-color: #c8102e; + --removeButton-bg-hover: #ff4d4f; + --removeButton-border-hover: #ff4d4f; + --removeButton-color-hover: #ffffff; + --removeButton-border: #dc3545; + + --activeTab-bg: #eaebef; + --activeTab-color: #808080; + --activeTab-bg-hover: #707070; + --activeTab-color-hover: #ffffff; + --activeTab-border: #808080; + --activeTab-outline-focus: #808080; + --activeTab-border-hover: #707070; + + --inactiveTab-bg: #ffffff97; + --inactiveTab-color: #808080; + --inactiveTab-border: #808080; + --inActiveTab-outline-focus: #808080; + --inactiveTab-bg-hover: #eaebef; + --inactiveTab-color-hover: #808080; + --inactiveTab-border-hover: #707070; + + --searchButton-bg: #a8c7fa; + --searchButton-color: #555555; + --searchButton-border: #a8c7fa; + --searchButton-border-hover: #a8c7fa; + --searchButton-color-hover: #555555; + --searchButton-border-focus: #a8c7fa; + --searchButton-bg-hover: #a8c7fa; + --searchButton-bg-active: #a8c7fa; + + --hover-shadow: 0 1px 3px 0 rgba(168, 199, 250, 1), + 0 4px 8px 3px rgba(60, 64, 67, 0.15); + + --modalHeader-color: #000000; + --modalHeader-bg: #ffffff; + + --switch-bg-checked: #1778f2; + --switch-border-checked: #1778f2; + --switch-box-shadow-checked: #a8c7fa; + --switch-border-focus: #d1d5db; + + --editButton-bg: #a8c7fa; + --editButton-font: #555555; + --editButton-border: #eaebef; + --editButton-bg-active: #1778f2; + --editButton-border-active: #eaebef; + --editButton-bg-hover: #1778f2; + --editButton-border-hover: #555555; + + --regularBtn-bg: #a8c7fa; + --regularBtn-border: #555555; + --regularBtn-bg-hover: #286fe0; + --regularBtn-font-hover: #555555; + --regularBtn-border-hover: #555555; + + --font-size-header: 16px; + --font-size-table-body: 14px; + + --tableHeader-bg: #eaebef; + --tableHeader-color: #000000; + + --LoginToggle-button-color: #555555; + --LoginToggle-button-bg: #eaebef; + --LoginToggle-button-border: #eaebef; + --LoginToggle-button-bg-hover: #eaebef; + --LoginToggle-button-border-hover: #eaebef; + --LoginToggle-button-bg-active: #a8c7fa; + --LoginToggle-button-border-active: #a8c7fa; + --LoginToggle-button-color-active: #555555; + --LoginToggle-button-color-active-hover: #555555; + --LoginToggle-button-border-active-hover: #a8c7fa; + --LoginToggle-button-bg-active-hover: #a8c7fa; + + --email-button-bg: #a8c7fa; + --email-button-bg: #a8c7fa; + --email-button-bg-hover: #a8c7fa; + --email-button-border-hover: #a8c7fa; + --email-button-bg: #a8c7fa; + --email-button-border: #a8c7fa; + --email-button-fill: #555555; + + --login-button-color: #555555; + --login-button-bg: #a8c7fa; + --login-button-border: #a8c7fa; + --login-button-bg-hover: #a8c7fa; + --login-button-border-hover: #a8c7fa; + --login-button-color-active: #a8c7fa; + --login-button-bg-active: #a8c7fa; + --login-button-border-active: #a8c7fa; + --login-button-bg-disabled: #a8c7fa; + --login-button-border-disabled: #a8c7fa; + --login-button-color-hover: #555555; + + --langChange-button-bg-active: #a8c7fa; + --langChange-button-border-active: #a8c7fa; + --langChange-button-color-active: #1778f2; + --langChange-button-color: #1778f2; + --langChange-button-border: #a8c7fa; + --langChange-button-bg-hover: #a8c7fa; + --langChange-button-border-hover: #a8c7fa; + + --langChange-button-bg-hover: #a8c7fa; + --langChange-button-border-hover: #a8c7fa; + + --orText-bg: #fff; + --orText-color: #6c757d; + + --register-button-bg: #eaebef; + --register-button-border: #eaebef; + --register-button-border: #eaebef; + --register-button-border-hover: #eaebef; + --register-button-color-active: #eaebef; + --register-button-bg-active: #eaebef; + --register-button-border-active: #eaebef; + --register-button-color: #555555; + --register-button-color-hover: #555555; + + --row-bg: #fff; + --row-bg-scroll: #00000029; + --row-color: #6c757d; } /* Global Classes (Add CSS classes as Global Classes that are used at multiple place)*/ @@ -172,192 +172,192 @@ /* Add Button */ .addButton { - margin-bottom: 10px; - color: var(--addButton-font); - background-color: var(--addButton-bg); - border-color: var(--addButton-border); - --bs-btn-focus-box-shadow: none; + margin-bottom: 10px; + color: var(--addButton-font); + background-color: var(--addButton-bg); + border-color: var(--addButton-border); + --bs-btn-focus-box-shadow: none; } .addButton:is(:hover, :active, :focus-visible) { - background-color: var(--addButton-bg-hover) !important; - border-color: var(--addButton-border-hover); + background-color: var(--addButton-bg-hover) !important; + border-color: var(--addButton-border-hover); } .addButton:disabled { - margin-bottom: 10px; - background-color: var(--disabled-btn); - border-color: var(--addButton-bg); + margin-bottom: 10px; + background-color: var(--disabled-btn); + border-color: var(--addButton-bg); } /* Remove Button */ .removeButton { - margin-bottom: 10px; - background-color: var(--removeButton-bg); - color: var(--removeButton-color); - margin-right: 10px; - --bs-btn-border-color: var(--removeButton-border); + margin-bottom: 10px; + background-color: var(--removeButton-bg); + color: var(--removeButton-color); + margin-right: 10px; + --bs-btn-border-color: var(--removeButton-border); } .removeButton:is(:hover, :active, :focus) { - background-color: var(--removeButton-bg-hover) !important; - border-color: var(--removeButton-border-hover); - color: var(--removeButton-color-hover); + background-color: var(--removeButton-bg-hover) !important; + border-color: var(--removeButton-border-hover); + color: var(--removeButton-color-hover); } /* Active Tab */ .activeTab { - background-color: var(--activeTab-bg); - color: var(--activeTab-color); - border-color: var(--activeTab-border); - align-items: center; - position: relative; - outline: none; + background-color: var(--activeTab-bg); + color: var(--activeTab-color); + border-color: var(--activeTab-border); + align-items: center; + position: relative; + outline: none; } .activeTab:focus-visible { - outline: 2px solid var(--activeTab-outline-focus); - outline-offset: 2px; + outline: 2px solid var(--activeTab-outline-focus); + outline-offset: 2px; } .activeTab:is(:hover, :focus, :active) { - background-color: var(--activeTab-bg-hover) !important; - color: var(--activeTab-color-hover); - border-color: var(--activeTab-border-hover) !important; - align-items: center; + background-color: var(--activeTab-bg-hover) !important; + color: var(--activeTab-color-hover); + border-color: var(--activeTab-border-hover) !important; + align-items: center; } /* Inactive Tab */ .inActiveTab { - background-color: var(--inActiveTab-bg); - color: var(--inActiveTab-color); - border-color: var(--inActiveTab-border); - align-items: center; - position: relative; - outline: none; + background-color: var(--inActiveTab-bg); + color: var(--inActiveTab-color); + border-color: var(--inActiveTab-border); + align-items: center; + position: relative; + outline: none; } .inActiveTab:focus-visible { - outline: 2px solid var(--inActiveTab-outline-focus); - outline-offset: 2px; + outline: 2px solid var(--inActiveTab-outline-focus); + outline-offset: 2px; } .inActiveTab:is(:hover, :focus, :active) { - background-color: var(--inActiveTab-bg-hover) !important; - color: var(--inActiveTab-color-hover); - border-color: var(--inActiveTab-border-hover) !important; - align-items: center; + background-color: var(--inActiveTab-bg-hover) !important; + color: var(--inActiveTab-color-hover); + border-color: var(--inActiveTab-border-hover) !important; + align-items: center; } /* Search Button */ .searchButton { - --bs-btn-active-color: var(--searchButton-bg); - --bs-btn-active-bg: var(--searchButton-bg); - --bs-btn-active-border-color: var(--searchButton-border); - margin-bottom: 10px; - background-color: var(--searchButton-bg) !important; - border-color: var(--searchButton-border) !important; - color: var(--searchButton-color); - position: absolute; - z-index: 10; - bottom: 0; - right: 0; - display: flex; - justify-content: center; - align-items: center; - transition: - box-shadow 0.2s ease, - transform 0.2s ease; + --bs-btn-active-color: var(--searchButton-bg); + --bs-btn-active-bg: var(--searchButton-bg); + --bs-btn-active-border-color: var(--searchButton-border); + margin-bottom: 10px; + background-color: var(--searchButton-bg) !important; + border-color: var(--searchButton-border) !important; + color: var(--searchButton-color); + position: absolute; + z-index: 10; + bottom: 0; + right: 0; + display: flex; + justify-content: center; + align-items: center; + transition: + box-shadow 0.2s ease, + transform 0.2s ease; } .searchButton:hover { - background-color: var(--searchButton-bg-hover); - border-color: var(--searchButton-border-hover); - box-shadow: var(--hover-shadow); - color: var(--searchButton-color-hover) !important; + background-color: var(--searchButton-bg-hover); + border-color: var(--searchButton-border-hover); + box-shadow: var(--hover-shadow); + color: var(--searchButton-color-hover) !important; } .searchButton:active { - transform: scale(0.95); - background-color: var(--searchButton-bg-active) !important; - border-color: transparent !important; + transform: scale(0.95); + background-color: var(--searchButton-bg-active) !important; + border-color: transparent !important; } /* Modal Header*/ .modalHeader { - border: none; - padding-bottom: 0; - background-color: var(--modalHeader-bg) !important; - padding: 1rem 1rem; - color: var(--modalHeader-color); + border: none; + padding-bottom: 0; + background-color: var(--modalHeader-bg) !important; + padding: 1rem 1rem; + color: var(--modalHeader-color); } .modalHeader div { - color: var(--modalHeader-color) !important; + color: var(--modalHeader-color) !important; } /* Switch */ .switch input { - --bs-form-switch-bg: transparent; + --bs-form-switch-bg: transparent; } .switch input:checked { - background-color: var(--switch-bg-checked); - border-color: var(--switch-border-checked); - box-shadow: 0 0 0.1rem 0.2rem var(--switch-box-shadow-checked); + background-color: var(--switch-bg-checked); + border-color: var(--switch-border-checked); + box-shadow: 0 0 0.1rem 0.2rem var(--switch-box-shadow-checked); } .switch input:focus { - outline: none; - box-shadow: none; - border-color: var(--switch-border-focus); + outline: none; + box-shadow: none; + border-color: var(--switch-border-focus); } /* Edit Button */ .editButton { - background-color: var(--editButton-bg); - color: var(--editButton-font); - border-color: var(--editButton-border); - --bs-btn-active-bg: var(--editButton-bg-active); - --bs-btn-active-border-color: var(--editButton-border-active); + background-color: var(--editButton-bg); + color: var(--editButton-font); + border-color: var(--editButton-border); + --bs-btn-active-bg: var(--editButton-bg-active); + --bs-btn-active-border-color: var(--editButton-border-active); } .editButton:is(:hover, :active) { - background-color: var(--editButton-bg-hover); - border-color: var(--editButton-border-hover); - box-shadow: none; + background-color: var(--editButton-bg-hover); + border-color: var(--editButton-border-hover); + box-shadow: none; } /* Regular Button */ .regularBtn { - background-color: var(--regularBtn-bg); - border-color: var(--regularBtn-border); + background-color: var(--regularBtn-bg); + border-color: var(--regularBtn-border); } .regularBtn:is(:hover, :active) { - background-color: var(--regularBtn-bg-hover) !important; - color: var(--regularBtn-font-hover); - border-color: var(--regularBtn-border-hover) !important; + background-color: var(--regularBtn-bg-hover) !important; + color: var(--regularBtn-font-hover); + border-color: var(--regularBtn-border-hover) !important; } /* Table Header */ .tableHeader { - background-color: var(--tableHeader-bg); - color: var(--tableHeader-color); - font-size: var(--font-size-header); + background-color: var(--tableHeader-bg); + color: var(--tableHeader-color); + font-size: var(--font-size-header); } .tableHeader { - font-weight: bold; + font-weight: bold; } /* Add more Global CSS Classes above this */ @@ -426,40 +426,40 @@ /* -- LoginPortalToggle.tsx -- */ .navLinkClass { - display: inline-block; - padding: 0.375rem 0.75rem; - font-size: 1rem; - line-height: 1.4; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: var(--LoginToggle-button-color); - border-radius: 0.3rem; - width: 100%; - box-sizing: border-box; - border: 1px solid var(--LoginToggle-button-border); - font-weight: 500; - transition: all 0.25s ease; - background-color: var(--LoginToggle-button-bg); + display: inline-block; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.4; + text-align: center; + vertical-align: middle; + cursor: pointer; + color: var(--LoginToggle-button-color); + border-radius: 0.3rem; + width: 100%; + box-sizing: border-box; + border: 1px solid var(--LoginToggle-button-border); + font-weight: 500; + transition: all 0.25s ease; + background-color: var(--LoginToggle-button-bg); } .navLinkClass:hover { - box-shadow: var(--hover-shadow); - background-color: var(--LoginToggle-button-bg-hover); - border-color: var(--LoginToggle-button-border-hover); + box-shadow: var(--hover-shadow); + background-color: var(--LoginToggle-button-bg-hover); + border-color: var(--LoginToggle-button-border-hover); } .activeLink { - color: var(--LoginToggle-button-color-active); - border: 1px solid var(--LoginToggle-button-border-active); - background-color: var(--LoginToggle-button-bg-active); + color: var(--LoginToggle-button-color-active); + border: 1px solid var(--LoginToggle-button-border-active); + background-color: var(--LoginToggle-button-bg-active); } .activeLink:hover { - box-shadow: var(--hover-shadow); - color: var(--LoginToggle-button-color-active-hover); - border: 1px solid var(--LoginToggle-button-border-active-hover); - background-color: var(--LoginToggle-button-bg-active-hover); + box-shadow: var(--hover-shadow); + color: var(--LoginToggle-button-color-active-hover); + border: 1px solid var(--LoginToggle-button-border-active-hover); + background-color: var(--LoginToggle-button-bg-active-hover); } /* -- customTableCell.tsx -- */ @@ -543,7 +543,6 @@ /* -- VenueCard.tsx -- */ /* -- VenueModal.tsx -- */ - /* Add more Class Related to a particular Component above this */ /* ----------------------------------------------------- */ @@ -572,299 +571,296 @@ /* -- LoginPage.tsx -- */ .active_tab { - -webkit-animation: fadeIn 0.3s ease-in-out; - animation: fadeIn 0.3s ease-in-out; + -webkit-animation: fadeIn 0.3s ease-in-out; + animation: fadeIn 0.3s ease-in-out; } .communityLogo { - object-fit: contain; + object-fit: contain; } .email_button { - --bs-btn-active-bg: var(--email-button-bg); - --bs-btn-active-border-color: var(--email-button-border); - --bs-btn-hover-bg: var(--email-button-bg-hover); - --bs-btn-hover-border-color: var(--email-button-border-hover); - position: absolute; - z-index: 10; - bottom: 0; - right: 0; - height: 100%; - display: flex; - background-color: var(--email-button-bg); - border-color: var(--email-button-border); - justify-content: center; - align-items: center; - color: var(--email-button-fill); + --bs-btn-active-bg: var(--email-button-bg); + --bs-btn-active-border-color: var(--email-button-border); + --bs-btn-hover-bg: var(--email-button-bg-hover); + --bs-btn-hover-border-color: var(--email-button-border-hover); + position: absolute; + z-index: 10; + bottom: 0; + right: 0; + height: 100%; + display: flex; + background-color: var(--email-button-bg); + border-color: var(--email-button-border); + justify-content: center; + align-items: center; + color: var(--email-button-fill); } .email_button:hover { - color: var(--email-button-fill) !important; - box-shadow: var(--hover-shadow); + color: var(--email-button-fill) !important; + box-shadow: var(--hover-shadow); } .socialIcons { - display: flex; - gap: 16px; - justify-content: center; + display: flex; + gap: 16px; + justify-content: center; } .login_background { - min-height: 100vh; + min-height: 100vh; } .login_btn { - font-weight: bold; - color: var(--login-button-color); - --bs-btn-bg: var(--login-button-bg); - --bs-btn-border-color: var(--login-button-border); - --bs-btn-hover-bg: var(--login-button-bg-hover); - --bs-btn-hover-border-color: var(--login-button-border-hover); - --bs-btn-active-color: var(--login-button-color-active); - --bs-btn-active-bg: var(--login-button-bg-active); - --bs-btn-active-border-color: var(--login-button-border-active); - --bs-btn-disabled-bg: var(--login-button-bg-disabled); - --bs-btn-disabled-border-color: var(--login-button-border-disabled); - margin-top: 1rem; - margin-bottom: 1rem; - width: 100%; - transition: background-color 0.2s ease; - cursor: pointer; + font-weight: bold; + color: var(--login-button-color); + --bs-btn-bg: var(--login-button-bg); + --bs-btn-border-color: var(--login-button-border); + --bs-btn-hover-bg: var(--login-button-bg-hover); + --bs-btn-hover-border-color: var(--login-button-border-hover); + --bs-btn-active-color: var(--login-button-color-active); + --bs-btn-active-bg: var(--login-button-bg-active); + --bs-btn-active-border-color: var(--login-button-border-active); + --bs-btn-disabled-bg: var(--login-button-bg-disabled); + --bs-btn-disabled-border-color: var(--login-button-border-disabled); + margin-top: 1rem; + margin-bottom: 1rem; + width: 100%; + transition: background-color 0.2s ease; + cursor: pointer; } .login_btn:hover { - color: var(--login-button-color-hover) !important; - box-shadow: var(--hover-shadow); + color: var(--login-button-color-hover) !important; + box-shadow: var(--hover-shadow); } .langChangeBtnStyle { - --bs-btn-active-bg: var(--langChange-button-bg-active); - --bs-btn-active-border-color: var(--langChange-button-border-active); - --bs-btn-active-color: var(--langChange-button-color-active); - width: 7.5rem; - height: 2.2rem; - padding: 0; - color: var(--langChange-button-color); - border-color: var(--langChange-button-border); - background-color: transparent; - /* Default transparent background */ + --bs-btn-active-bg: var(--langChange-button-bg-active); + --bs-btn-active-border-color: var(--langChange-button-border-active); + --bs-btn-active-color: var(--langChange-button-color-active); + width: 7.5rem; + height: 2.2rem; + padding: 0; + color: var(--langChange-button-color); + border-color: var(--langChange-button-border); + background-color: transparent; + /* Default transparent background */ } - - .langChangeBtnStyle:hover { - background-color: var(--langChange-button-bg-hover) !important; - border-color: var(--langChange-button-border-hover) !important; + background-color: var(--langChange-button-bg-hover) !important; + border-color: var(--langChange-button-border-hover) !important; } .talawa_logo { - height: clamp(3rem, 8vw, 5rem); - width: auto; - aspect-ratio: 1; - display: block; - margin: 1.5rem auto 1rem; + height: clamp(3rem, 8vw, 5rem); + width: auto; + aspect-ratio: 1; + display: block; + margin: 1.5rem auto 1rem; - @media (prefers-reduced-motion: no-preference) { - -webkit-animation: zoomIn 0.3s ease-in-out; - animation: zoomIn 0.3s ease-in-out; - } + @media (prefers-reduced-motion: no-preference) { + -webkit-animation: zoomIn 0.3s ease-in-out; + animation: zoomIn 0.3s ease-in-out; + } } .password_checks { - display: flex; - justify-content: space-between; - align-items: flex-start; - flex-direction: column; - gap: var(--spacing-md, 1rem); + display: flex; + justify-content: space-between; + align-items: flex-start; + flex-direction: column; + gap: var(--spacing-md, 1rem); } .password_check_element { - padding: var(--spacing-sm, 0.5rem) 0; + padding: var(--spacing-sm, 0.5rem) 0; } .password_check_element_top { - margin-top: var(--spacing-lg, 1.125rem); + margin-top: var(--spacing-lg, 1.125rem); } .password_check_element_bottom { - margin-bottom: var(--spacing-lg, 1.25rem); + margin-bottom: var(--spacing-lg, 1.25rem); } .reg_btn { - font-weight: bold; - background-color: var(--register-button-bg); - border-color: var(--register-button-border); - --bs-btn-hover-bg: var(--register-button-border); - --bs-btn-hover-border-color: var(--register-button-border-hover); - --bs-btn-active-color: var(--register-button-color-active); - --bs-btn-active-bg: var(--register-button-bg-active); - --bs-btn-active-border-color: var(--register-button-border-active); - margin-top: 1rem; - color: var(--register-button-color); - margin-bottom: 1rem; - width: 100%; - transition: background-color 0.2s ease; - cursor: pointer; + font-weight: bold; + background-color: var(--register-button-bg); + border-color: var(--register-button-border); + --bs-btn-hover-bg: var(--register-button-border); + --bs-btn-hover-border-color: var(--register-button-border-hover); + --bs-btn-active-color: var(--register-button-color-active); + --bs-btn-active-bg: var(--register-button-bg-active); + --bs-btn-active-border-color: var(--register-button-border-active); + margin-top: 1rem; + color: var(--register-button-color); + margin-bottom: 1rem; + width: 100%; + transition: background-color 0.2s ease; + cursor: pointer; } .reg_btn:hover { - color: var(--register-button-color-hover) !important; - box-shadow: var(--hover-shadow); + color: var(--register-button-color-hover) !important; + box-shadow: var(--hover-shadow); } .row .left_portion { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - height: 100vh; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + height: 100vh; } - .row .left_portion .inner .palisadoes_logo { - width: 600px; - height: auto; + width: 600px; + height: auto; } .row .right_portion { - min-height: 100vh; - position: relative; - overflow-y: scroll; - display: flex; - flex-direction: column; - justify-content: center; - padding: 1rem 2.5rem; - background: var(--row-bg); + min-height: 100vh; + position: relative; + overflow-y: scroll; + display: flex; + flex-direction: column; + justify-content: center; + padding: 1rem 2.5rem; + background: var(--row-bg); } .row .right_portion::-webkit-scrollbar { - width: 8px; + width: 8px; } .row .right_portion::-webkit-scrollbar-track { - background: transparent; + background: transparent; } .row .right_portion::-webkit-scrollbar-thumb { - background-color: var(--row-bg-scroll); - border-radius: 4px; + background-color: var(--row-bg-scroll); + border-radius: 4px; } .row .right_portion .langChangeBtn { - margin: 0; - position: absolute; - top: 1rem; - left: 1rem; + margin: 0; + position: absolute; + top: 1rem; + left: 1rem; } .orText { - display: block; - position: absolute; - top: -0.2rem; - left: calc(50% - 2.6rem); - margin: 0 auto; - padding: 0.5rem 2rem; - z-index: 100; - background: var(--orText-bg); - color: var(--orText-color); + display: block; + position: absolute; + top: -0.2rem; + left: calc(50% - 2.6rem); + margin: 0 auto; + padding: 0.5rem 2rem; + z-index: 100; + background: var(--orText-bg); + color: var(--orText-color); } .row .orText { - display: block; - position: absolute; - top: -0.5rem; - left: calc(50% - 2.6rem); - margin: 0 auto; - padding: 0.35rem 2rem; - z-index: 100; - background: var(--row-bg); - color: var(--row-color); + display: block; + position: absolute; + top: -0.5rem; + left: calc(50% - 2.6rem); + margin: 0 auto; + padding: 0.35rem 2rem; + z-index: 100; + background: var(--row-bg); + color: var(--row-color); } @media (max-width: 992px) { - .row .left_portion { - padding: 0 2rem; - } + .row .left_portion { + padding: 0 2rem; + } - .row .left_portion .inner .palisadoes_logo { - width: 100%; - } + .row .left_portion .inner .palisadoes_logo { + width: 100%; + } } @media (max-width: 769px) { - .row { - flex-direction: column-reverse; - } - - .row .right_portion, - .row .left_portion { - height: unset; - } - - .row .right_portion { - min-height: 100vh; - overflow-y: unset; - } - - .row .left_portion .inner { - display: flex; - justify-content: center; - } - - .row .left_portion .inner .palisadoes_logo { - height: 70px; - width: unset; - position: absolute; - margin: 0.5rem; - top: 0; - right: 0; - z-index: 100; - } - - .row .left_portion .inner p { - margin-bottom: 0; - padding: 1rem; - } - - .socialIcons { - margin-bottom: 1rem; - } + .row { + flex-direction: column-reverse; + } + + .row .right_portion, + .row .left_portion { + height: unset; + } + + .row .right_portion { + min-height: 100vh; + overflow-y: unset; + } + + .row .left_portion .inner { + display: flex; + justify-content: center; + } + + .row .left_portion .inner .palisadoes_logo { + height: 70px; + width: unset; + position: absolute; + margin: 0.5rem; + top: 0; + right: 0; + z-index: 100; + } + + .row .left_portion .inner p { + margin-bottom: 0; + padding: 1rem; + } + + .socialIcons { + margin-bottom: 1rem; + } } @media (max-width: 577px) { - .row .right_portion { - padding: 1rem 1rem 0 1rem; - } + .row .right_portion { + padding: 1rem 1rem 0 1rem; + } - .row .right_portion .langChangeBtn { - position: absolute; - margin: 1rem; - left: 0; - top: 0; - } + .row .right_portion .langChangeBtn { + position: absolute; + margin: 1rem; + left: 0; + top: 0; + } - .marginTopForReg { - margin-top: 4rem !important; - } + .marginTopForReg { + margin-top: 4rem !important; + } - .row .right_portion .talawa_logo { - height: 120px; - margin: 0 auto 2rem auto; - } + .row .right_portion .talawa_logo { + height: 120px; + margin: 0 auto 2rem auto; + } - .socialIcons { - margin-bottom: 1rem; - } + .socialIcons { + margin-bottom: 1rem; + } } @media (prefers-reduced-motion: reduce) { - .talawa_logo { - animation: none; - } + .talawa_logo { + animation: none; + } - .active_tab { - animation: none; - } + .active_tab { + animation: none; + } } /* -- EditUserTagModal.tsx -- */ @@ -919,4 +915,4 @@ /* Add more Class Related to a particular Screen above this */ -/* ----------------------------------------------------- */ \ No newline at end of file +/* ----------------------------------------------------- */ From 05b67bfac97b141639c8ee09846de99d88d4afa6 Mon Sep 17 00:00:00 2001 From: hustlernik Date: Thu, 20 Feb 2025 19:56:17 +0530 Subject: [PATCH 3/7] css refactor --- .../CollapsibleDropdown.tsx | 6 +- src/components/Loader/Loader.tsx | 2 +- src/components/NotFound/NotFound.tsx | 2 +- .../Modal/CategoryModal.tsx | 2 +- .../Create/AgendaCategoryCreateModal.tsx | 4 +- .../Update/AgendaCategoryUpdateModal.tsx | 2 +- src/components/ProfileCard/ProfileCard.tsx | 2 +- src/components/SignOut/SignOut.tsx | 2 +- .../UpdateSession/UpdateSession.tsx | 2 +- .../UserPasswordUpdate/UserPasswordUpdate.tsx | 2 +- .../CreateDirectChat/CreateDirectChat.tsx | 2 +- .../VolunteerGroups/VolunteerGroupModal.tsx | 2 +- .../Volunteers/VolunteerCreateModal.tsx | 2 +- .../Volunteer/Groups/GroupModal.tsx | 2 +- src/style/app-fixed.module.css | 899 +++++++++++++++++- src/style/app.module.css | 13 +- 16 files changed, 915 insertions(+), 31 deletions(-) diff --git a/src/components/CollapsibleDropdown/CollapsibleDropdown.tsx b/src/components/CollapsibleDropdown/CollapsibleDropdown.tsx index 1618a956d8..1f8860283c 100644 --- a/src/components/CollapsibleDropdown/CollapsibleDropdown.tsx +++ b/src/components/CollapsibleDropdown/CollapsibleDropdown.tsx @@ -1,6 +1,6 @@ import React, { useEffect } from 'react'; import { Button, Collapse } from 'react-bootstrap'; -import styles from '../../style/app.module.css'; +import styles from '../../style/app-fixed.module.css'; import IconComponent from 'components/IconComponent/IconComponent'; import { NavLink, useLocation, useNavigate } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; @@ -50,8 +50,8 @@ const collapsibleDropdown = ({ {tCommon(name)} diff --git a/src/components/Loader/Loader.tsx b/src/components/Loader/Loader.tsx index c08036c753..31b1b508f5 100644 --- a/src/components/Loader/Loader.tsx +++ b/src/components/Loader/Loader.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import styles from '../../style/app.module.css'; +import styles from '../../style/app-fixed.module.css'; import { Spinner } from 'react-bootstrap'; interface InterfaceLoaderProps { diff --git a/src/components/NotFound/NotFound.tsx b/src/components/NotFound/NotFound.tsx index 782a6b49cd..47a1c16873 100644 --- a/src/components/NotFound/NotFound.tsx +++ b/src/components/NotFound/NotFound.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; -import styles from '../../style/app.module.css'; +import styles from '../../style/app-fixed.module.css'; interface InterfaceNotFoundProps { title: string; // Title of the page or resource not found diff --git a/src/components/OrgSettings/ActionItemCategories/Modal/CategoryModal.tsx b/src/components/OrgSettings/ActionItemCategories/Modal/CategoryModal.tsx index efd8888350..55dee52507 100644 --- a/src/components/OrgSettings/ActionItemCategories/Modal/CategoryModal.tsx +++ b/src/components/OrgSettings/ActionItemCategories/Modal/CategoryModal.tsx @@ -191,7 +191,7 @@ const CategoryModal: FC = ({