Skip to content

Commit

Permalink
Merge pull request #637 from Rushikesh-Sonawane99/release-1.1.0
Browse files Browse the repository at this point in the history
Issue #PS-000 chore: Modified app name and changed icons on MenuDrawer
  • Loading branch information
itsvick authored Jan 23, 2025
2 parents 72387ab + 5c4e945 commit fce6cdd
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 20 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appName": "Pratham Learning Management App",
"appName": "Pratham Learning Management Portal",
"languages": [
{
"label": "English",
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/app.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ context('App', () => {

it('verify the title', () => {
cy.clearLocalStorage();
cy.title().should('eq', 'Pratham Learning Management App');
cy.title().should('eq', 'Pratham Learning Management Portal');
});

it('CSSLocator', () => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "pratham-learning-management-app",
"name": "pratham-learning-management-portal",
"version": "0.1.0",
"private": true,
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"SUBMIT_YOUR_REQUEST_FOR_ISSUES": "Submit your request and let us assist you with any issues or concerns.",
"INSTALL": "Install Now",
"INSTALL_APP_MESSAGE": "For Easy Access, Install the App Now",
"INSTALL_APP_DESCRIPTION": "Get access to the Pratham Learning Management App (LMA) at your fingertips by installing on your device.",
"INSTALL_APP_DESCRIPTION": "Get access to the Pratham Learning Management Portal (LMP) at your fingertips by installing on your device.",
"RELOAD": "Update Now",
"UPDATE_AVAILABLE": "New Update Available!",
"RELOAD_TO_UPDATE": "Get the latest features and improvements—update now to enjoy a smoother experience and stay up-to-date!"
Expand Down
6 changes: 3 additions & 3 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"display": "standalone",
"scope": "/",
"start_url": "/",
"name": "Pratham Learning Management App",
"short_name": "LMA",
"description": "Learning Management app for Pratham",
"name": "Pratham Learning Management Portal",
"short_name": "Pratham LMP",
"description": "Learning Management Portal for Pratham",
"icons": [
{
"src": "/icon-192x192.png",
Expand Down
8 changes: 8 additions & 0 deletions src/assets/images/assessment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/images/surveyForm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 16 additions & 6 deletions src/components/MenuDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import { accessGranted } from '@/utils/Helper';
import { AcademicYear } from '@/utils/Interfaces';
import ClearIcon from '@mui/icons-material/Clear';
import DashboardOutlinedIcon from '@mui/icons-material/DashboardOutlined';
import EditNoteIcon from '@mui/icons-material/EditNote';
import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';
import EventAvailableOutlinedIcon from '@mui/icons-material/EventAvailableOutlined';
import LocalLibraryOutlinedIcon from '@mui/icons-material/LocalLibraryOutlined';
import {
Button,
Expand All @@ -32,6 +30,8 @@ import { isEliminatedFromBuild } from '../../featureEliminationUtil';
import board from '../assets/images/Board.svg';
import support from '../assets/images/Support.svg';
import checkBook from '../assets/images/checkbook.svg';
import assessment from '../assets/images/assessment.svg';
import surveyForm from '../assets/images/surveyForm.svg';
import { useDirection } from '../hooks/useDirection';
import GroupsIcon from '@mui/icons-material/Groups';
interface DrawerProps {
Expand Down Expand Up @@ -487,7 +487,14 @@ const MenuDrawer: React.FC<DrawerProps> = ({
},
marginTop: '15px',
}}
startIcon={<EditNoteIcon sx={{ fontSize: '24px !important' }} />}
startIcon={
<Image
src={surveyForm}
alt="SurveyForm-Icon"
width={24}
height={24}
/>
}
onClick={navigateToObservation}
>
{t('OBSERVATION.SURVEY_FORMS')}
Expand Down Expand Up @@ -563,9 +570,12 @@ const MenuDrawer: React.FC<DrawerProps> = ({
gap: '10px',
}}
startIcon={
<EventAvailableOutlinedIcon
sx={{ fontSize: '24px !important' }}
/>
<Image
src={assessment}
alt="Assessment Icon"
width={24}
height={24}
/>
}
onClick={() => {
router.push(`/assessments`);
Expand Down
3 changes: 2 additions & 1 deletion src/utils/app.constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export enum EventStatus {
}

export const metaTags = {
title: 'Pratham Learning Management App',
title: 'Pratham Learning Management Portal',
description:
"Pratham's Second Chance program focuses on providing school dropouts, especially young girls and women, another chance at education. Second Chance aims to support those who could not complete their secondary education. The program focuses on completion of Grade 10. The academic certificate that they receive opens the door for further opportunities for lifelong learning and growth. The Second Chance program uses innovative teaching methods, to provide accessible learning opportunities very close to where the students live.",
keywords: 'Second Chance Program',
Expand All @@ -185,6 +185,7 @@ export const metaTags = {
export enum ResourcesType {
PREREQUSITE = 'prerequisite',
POSTREQUSITE = 'postrequisite',
OTHER = 'other',
NONE = 'none',
}
export const FeesStepBoards = ['NIOS'];
Expand Down
8 changes: 4 additions & 4 deletions src/utils/telemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ if (typeof window !== 'undefined') {
const telemetryConfig = {
apislug: '',
pdata: {
id: 'pratham-teacher-app',
id: 'pratham-learning-management-portal',
pid: '0.0.1',
ver: 'pratham-teacher-app',
ver: 'pratham-learning-management-portal',
},
env: 'pratham-teacher-app',
channel: 'pratham-teacher-app',
env: 'pratham-learning-management-portal',
channel: 'pratham-learning-management-portal',
did: 'did',
authtoken: '',
studentid:
Expand Down

0 comments on commit fce6cdd

Please sign in to comment.