From 1f1b9aa2644cf192de764dd058901a381210fbf4 Mon Sep 17 00:00:00 2001 From: uttam05111990 Date: Thu, 30 Jul 2026 19:50:04 +0530 Subject: [PATCH] feat(app): improvement --- android/app/src/main/res/values/styles.xml | 3 + app/App.tsx | 36 +- app/api/authApi.ts | 18 +- app/api/dashboardLeadCountApi.ts | 10 + app/api/index.ts | 3 + app/api/notificationApi.ts | 24 + app/components/index.ts | 2 + app/components/leadDistribution/index.ts | 3 + .../leadDistribution.props.ts | 9 + .../leadDistribution.styles.ts | 224 +++++++++ .../leadDistribution/leadDistribution.tsx | 166 +++++++ app/components/notificationItem/index.ts | 1 + .../notificationItem.props.ts | 0 .../notificationItem.styles.ts | 63 +++ .../notificationItem/notificationItem.tsx | 56 +++ app/features/dashboard/dashboard.screen.tsx | 152 ++---- app/features/dashboard/dashboard.styles.ts | 154 +----- app/features/dashboard/reducers.ts | 42 ++ app/features/dashboard/thunk.ts | 19 + app/features/login/login.screen.tsx | 49 +- .../notification/notification.screen.tsx | 107 ++--- app/features/notification/reducers.ts | 63 +++ app/features/notification/thunk.ts | 49 ++ app/features/profile/profile.screen.tsx | 27 +- app/interfaces/auth.ts | 13 +- app/interfaces/dashboardLeadCount.ts | 15 + app/interfaces/index.ts | 3 + app/interfaces/notification.ts | 27 ++ app/navigation/customDrawerContent.tsx | 32 +- app/navigation/customersStack.tsx | 1 + app/navigation/leadsStack.tsx | 1 + app/navigation/tabStack.tsx | 10 +- app/store/commonReducers/auth/thunk.ts | 29 +- app/store/rootReducer.ts | 4 + app/utils/api.ts | 15 +- package.json | 5 + yarn.lock | 448 ++++++++++-------- 37 files changed, 1319 insertions(+), 564 deletions(-) create mode 100644 app/api/dashboardLeadCountApi.ts create mode 100644 app/api/notificationApi.ts create mode 100644 app/components/leadDistribution/index.ts create mode 100644 app/components/leadDistribution/leadDistribution.props.ts create mode 100644 app/components/leadDistribution/leadDistribution.styles.ts create mode 100644 app/components/leadDistribution/leadDistribution.tsx create mode 100644 app/components/notificationItem/index.ts create mode 100644 app/components/notificationItem/notificationItem.props.ts create mode 100644 app/components/notificationItem/notificationItem.styles.ts create mode 100644 app/components/notificationItem/notificationItem.tsx create mode 100644 app/features/dashboard/reducers.ts create mode 100644 app/features/dashboard/thunk.ts create mode 100644 app/features/notification/reducers.ts create mode 100644 app/features/notification/thunk.ts create mode 100644 app/interfaces/dashboardLeadCount.ts create mode 100644 app/interfaces/notification.ts diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 4b89c01..80db934 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -2,6 +2,9 @@