Skip to content

Commit 6c827cc

Browse files
committed
Revert "conflicts solved"
This reverts commit 9e7e84d, reversing changes made to dfad5ba.
1 parent 9e7e84d commit 6c827cc

File tree

131 files changed

+1177
-15814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+1177
-15814
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name,externalId,type,hasAParentTask,parentTaskId,learningResources1-name,learningResources1-type,learningResources1-id,learningResources2-name,learningResources2-type,learningResources2-id,startDate,endDate
2-
Chapter 1: Real Numbers Clas 6,1,content,,,,,,,,,,
3-
Introduction to Real Numbers,2,content,YES,1,Real Numbers – Video,prerequisite,do_2141830551647928321130,Real Numbers – Assessment,postrequisite,do_2141829595245281281142,,
4-
Euclid’s Division Lemma,3,content,YES,1,Euclids Formula – Youtube,prerequisite,do_2141830572373852161134,Euclids Formula – EPUB,postrequisite,do_2141830562205204481132,,
5-
The Fundamental Theorem of Arithmetic,4,content,YES,1,Fundamental Therom – PDF,facilitator-requisite,do_2141830485434695681127,,,,,
6-
During Course,5,content,YES,1,Fundamental Therom – PDF,during,do_2141830485434695681127,,,,,
2+
Chapter 1: Real Numbers Clas 6,1,content,,,,,,,,,10-02-2025,11-02-2025
3+
Introduction to Real Numbers,2,content,YES,1,Real Numbers – Video,prerequisite,do_2141830551647928321130,Real Numbers – Assessment,postrequisite,do_2141829595245281281142,07-02-2025,11-02-2025
4+
Euclid’s Division Lemma,3,content,YES,1,Euclids Formula – Youtube,prerequisite,do_2141830572373852161134,Euclids Formula – EPUB,postrequisite,do_2141830562205204481132,10-02-2025,11-02-2025
5+
The Fundamental Theorem of Arithmetic,4,content,YES,1,Fundamental Therom – PDF,facilitator-requisite,do_2141830485434695681127,,,,10-02-2025,11-02-2025

apps/admin-app-repo/public/locales/en/common.json

Lines changed: 10 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,7 @@
166166
"ACTIVATE_USER": "Activate User",
167167
"ACTIVATE": "Activate",
168168
"RESIGNED_FROM_COMPANY": "Resigned from the company",
169-
"MOVED_TO_DIFFERENT_ROLE": "Moved to a different role",
170-
"NO_MOBILIZER_FOUND": "No Mobilizer Found",
171-
"MAP": "Map",
172-
"NEXT": "Next"
169+
"MOVED_TO_DIFFERENT_ROLE":"Moved to a different role"
173170
},
174171
"LOGIN_PAGE": {
175172
"USERNAME": "Username",
@@ -245,8 +242,7 @@
245242
"PROGRAMS": "Programs",
246243
"SKILLING_CENTERS": "Skilling Centers",
247244
"CURRICULUM_PLANNER": "Curriculum Planner",
248-
"BATCH": "Batch",
249-
"MOBILIZER": "Mobilizer"
245+
"BATCH": "Batch"
250246
},
251247
"FACILITATORS": {
252248
"STATE": "State",
@@ -282,7 +278,8 @@
282278
"EDIT_LEARNER": "Edit Learner",
283279
"NO_LEARNERS_FOUND": "No Learners Found",
284280
"RE_ASSIGN_LEARNER": "Re-assign Learner",
285-
"ACTIVATE_USER_SUCCESS": "User has been successfully activated"
281+
"ACTIVATE_USER_SUCCESS": "User has been successfully activated"
282+
286283
},
287284
"MENTOR_LEADERS": {
288285
"SEARCHBAR_PLACEHOLDER": "Search Center Heads..",
@@ -361,8 +358,8 @@
361358
"DELETE_PLANNER": "Delete Planner",
362359
"CSV_TEMPLATE": "CSV Template",
363360
"NEW_TOPIC": "New Topic",
364-
"DOWNLOAD_CSV": "Download Uploaded CSV",
365-
"DURING_COURSE": "During Course"
361+
"DOWNLOAD_CSV": "Download Uploaded CSV"
362+
366363

367364
},
368365
"MASTER": {
@@ -386,6 +383,7 @@
386383
"BLOCK_CODE": "Block Code",
387384
"CODE": "Code",
388385
"MASTER": "Master"
386+
389387
},
390388
"CENTERS": {
391389
"CENTER": "center",
@@ -545,10 +543,8 @@
545543
"MOTHER_NAME": "Mother Name",
546544
"DATE_OF_BIRTH": "Date of Birth",
547545
"TEST_BELONG_TO": "test belongs to below center",
548-
"WAS_BELONG_TO": "was archived in the below location",
549-
"CONFIRM_TO_ACTIVATE": "Are you sure you want to activate this user again?",
550-
"WORKING_LOCATION": "Working Location",
551-
"CATCHMENT_AREA": "Catchment Area"
546+
"WAS_BELONG_TO": "was archived in the below location",
547+
"CONFIRM_TO_ACTIVATE":"Are you sure you want to activate this user again?"
552548
},
553549
"FORM_ERROR_MESSAGES": {
554550
"INVALID_INPUT": "Invalid Input.",
@@ -603,9 +599,7 @@
603599
"COURSE_STATUS": "Course Status",
604600
"ISSUED_DATE": "Issued Date",
605601
"USER_ID": "User Id",
606-
"COURSE_ID": "Course Id",
607-
"LOCATION": "Location (State / District / Block / Village)",
608-
"WORKING_VILLAGE": "Working Village"
602+
"COURSE_ID": "Course Id"
609603
},
610604
"WORKSPACE": {
611605
"EDITOR_WORKSPACE": "Editor Workspace",
@@ -756,7 +750,6 @@
756750
"REMOTE": "Remote",
757751
"IS_VOLUNTEER": "Is Volunteer",
758752
"middle_name": "Middle Name",
759-
"CATCHMENT_AREA": "Catchment Area",
760753
"CONTENT_CREATORS": {
761754
"SEARCHBAR_PLACEHOLDER": "Search content creator..",
762755
"NEW_CONTENT_CREATOR": "New Content Creator",
@@ -850,24 +843,5 @@
850843
"DO_YOU_WANT_TO_UNMARK_AS_VOLUNTEER": "Do you want to unmark as a volunteer",
851844
"UNMARK_AS_VOLUNTEER_SUCCESSFULLY": "Unmarked as volunteer successfully",
852845
"UNMARK_AS_VOLUNTEER_FAILED": "Failed to unmark as volunteer"
853-
},
854-
"MOBILIZER": {
855-
"ACTIVATE_USER_SUCCESS": "User has been successfully activated",
856-
"MOBILIZER_UPDATED_SUCCESSFULLY": "Mobilizer has been successfully updated!",
857-
"NOT_ABLE_UPDATE_MOBILIZER": "Not able to update Mobilizer",
858-
"MOBILIZER_CREATED_SUCCESSFULLY": "Mobilizer has been successfully created!",
859-
"NOT_ABLE_CREATE_MOBILIZER": "Not able to create Mobilizer",
860-
"USER_CREDENTIALS_WILL_BE_SEND_SOON": "Mobilizer is created, credentials will be sent soon",
861-
"MAP_USER_AS_LEAD": "Map User as Lead",
862-
"MAP_USER_AS_MOBILIZER": "Map User as Mobilizer",
863-
"PLEASE_SEARCH_AND_SELECT_USER": "Please search and select a user",
864-
"UNKNOWN_STATE": "Unknown State",
865-
"UNKNOWN_DISTRICT": "Unknown District",
866-
"UNKNOWN_BLOCK": "Unknown Block",
867-
"WORKING_LOCATION_REQUIRED": "Working location is required. Please select villages for all blocks.",
868-
"WORKING_LOCATION_REQUIRED_MISSING_VILLAGES": "Working location is required. Please select villages for all blocks. Missing villages in: {{blocks}} and {{count}} more block(s).",
869-
"WORKING_LOCATION_REQUIRED_MISSING_VILLAGES_SINGLE": "Working location is required. Please select villages for all blocks. Missing villages in: {{blocks}}.",
870-
"WORKING_LOCATION_REQUIRED_AT_LEAST_ONE": "Working location is required. Please select at least one village in all blocks.",
871-
"MOBILIZER_NAME": "Mobilizer Name"
872846
}
873847
}

apps/admin-app-repo/src/components/CoursePlan/CoursePlanForm.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,9 +1018,6 @@ const CoursePlanForm: React.FC<CoursePlanFormProps> = ({
10181018
<option value="facilitator-requisite">
10191019
{t('Facilitator-requisite')}
10201020
</option>
1021-
<option value="during">
1022-
{t('During')}
1023-
</option>
10241021
</Select>
10251022
</FormControl>
10261023
</Grid>

apps/admin-app-repo/src/components/DynamicForm/DynamicFormCallback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const searchListData = async (
6767
// status: [Status.ACTIVE],
6868
...Object.entries(restFormData).reduce((acc, [key, value]) => {
6969
if (value !== undefined && value !== '') {
70-
if (key === 'tenantStatus' || key === 'status') {
70+
if (key === 'status') {
7171
acc[key] = [value];
7272
} else if (key === 'name' && typeof value === 'string') {
7373
acc[key] = value.trimEnd();

apps/admin-app-repo/src/components/DynamicForm/DynamicFormConstant.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ export const FormContext = {
4242
youth: {
4343
context: 'USERS',
4444
contextType: 'Learner'
45-
},
46-
mobilizer: {
47-
context: 'USERS',
48-
contextType: 'MOBILIZER'
4945
}
46+
5047
};

apps/admin-app-repo/src/components/LearnerCourses/CourseTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const CourseTable: React.FC = () => {
207207
let response;
208208
if (searchKeyword !== '')
209209
response = await courseWiseLernerList({ limit, offset, filters });
210-
else response = await courseWiseLernerList({ limit,offset, filters });
210+
else response = await courseWiseLernerList({ offset, filters });
211211
const totalCount = response.count;
212212
setPageCount(Math.ceil(totalCount / pageLimit));
213213

apps/admin-app-repo/src/components/RouteGuard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const RouteGuard: React.FC<{ children: React.ReactNode }> = ({ children }) => {
4545
const user = JSON.parse(adminInfo);
4646

4747
const allowedPaths = ["/workspace","/course-planner", "/subjectDetails","/stateDetails" ];
48-
const notAllowedPathsForCentralAdmin = ["/team-leader", "/faciliator", "/learners", "/centers", "/certificate-issuance", "/mentor", "/central-head", "/user-leader" ];
48+
const notAllowedPathsForCentralAdmin = ["/team-leader", "/faciliator", "/learners", "/centers", "/certificate-issuance", "/mentor", "/central-head" ];
4949

5050
const isWorkspaceContent = router.pathname.startsWith("/workspace");
5151
const coursePlannerPaths = [

apps/admin-app-repo/src/components/SimpleModal.tsx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const SimpleModal: React.FC<SimpleModalProps> = ({
3737
footer,
3838
children,
3939
modalTitle,
40-
isFullwidth = true,
40+
isFullwidth = false,
4141
id = '',
4242
}) => {
4343
const theme = useTheme<any>();
@@ -47,19 +47,18 @@ const SimpleModal: React.FC<SimpleModalProps> = ({
4747
const modalStyle: SxProps<Theme> = {
4848
display: 'flex',
4949
flexDirection: 'column',
50-
position: isFullwidth ? 'fixed' : 'absolute',
51-
top: isFullwidth ? 0 : '50%',
52-
left: isFullwidth ? 0 : '50%',
53-
transform: isFullwidth ? 'none' : 'translate(-50%, -50%)',
54-
width: isFullwidth ? '100vw' : '40%',
55-
maxWidth: isFullwidth ? '100vw' : '40%',
56-
height: isFullwidth ? '100vh' : 'auto',
57-
maxHeight: isFullwidth ? '100vh' : '80vh',
50+
position: 'absolute',
51+
top: '50%',
52+
left: '50%',
53+
transform: 'translate(-50%, -50%)',
54+
width: isFullwidth ? '96%' : '40%',
55+
maxWidth: isFullwidth ? '96%' : '40%',
56+
height: isFullwidth ? '96vh' : 'auto',
57+
maxHeight: isFullwidth ? '96vh' : '80vh',
5858
backgroundColor: 'rgb(255, 255, 255)',
59-
borderRadius: isFullwidth ? 0 : '8px',
59+
borderRadius: '8px',
6060
boxShadow:
6161
'rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 5px 8px 0px, rgba(0, 0, 0, 0.12) 0px 1px 14px 0px',
62-
overflow: 'hidden',
6362
};
6463

6564
const titleStyle = isFullwidth

0 commit comments

Comments
 (0)