Commit Graph
64 Commits
Author SHA1 Message Date
i701 361a01d86c fix getProfile import in PaymentId 🐛 2025-07-13 22:57:20 +05:00
i701 255c03ae6a feat: implement user verification and rejection functionality with improved error handling 2025-07-13 22:51:46 +05:00
i701 a20c939c91 feat: implement user profile page and integrate profile fetching logic in AccountPopover and ApplicationLayout components 2025-07-11 14:41:06 +05:00
i701 27a0b5d4b3 bug: fix payment status display and force timezones in creation date in PaymentsTable and DevicesToPay components 🐛 2025-07-09 21:14:49 +05:00
i701 783d4b360d fix: pagination in PaymentsTable and TopupsTable components 🐛 2025-07-08 22:40:06 +05:00
i701 a61231cf6b refactor: improve state management and layout in Topup components 🔨 2025-07-08 19:54:07 +05:00
i701 9f9f2e4e91 feat: add disabled prop to DevicesToPay component and update button state management 2025-07-06 23:19:12 +05:00
i701 9e25da717b feat: add expiry label to ExpiryCountDown component in TopupPage 2025-07-06 22:37:23 +05:00
i701 154226b48d feat: add radio filter for topup expiry 2025-07-06 19:48:24 +05:00
i701 da7d101ea6 feat: add payment method filter to payments page 2025-07-05 20:47:31 +05:00
i701 fa0d088f7f feat: enhance payment retrieval with flexible query parameters and add dynamic filters to payments page 2025-07-05 20:41:12 +05:00
i701 378fb4074c refactor: update topup status handling in DynamicFilter and TopupsTable components 2025-07-05 19:44:36 +05:00
i701 f3328f7a7b feat: add topup management features including topup creation, cancellation, and countdown timer 2025-07-04 23:07:02 +05:00
i701 c90b003167 refactor: enhance parental control features and improve device blocking logic 🔨 2025-07-02 23:29:40 +05:00
i701 905b4fa2a6 refactor: remove unused imports in user payments page component 🔨 2025-07-01 07:54:33 +05:00
i701 a6d844e8d1 refactor: reorganize imports and improve session handling in various components 🔨 2025-07-01 07:53:21 +05:00
i701 8051b00dcf refactor: remove unused import and improve conditional rendering in block device dialog 🔨 2025-07-01 06:59:38 +05:00
i701 3cd3bbad16 feat(portal-ui): enhance user and device information display in admin and user devices tables 2025-06-30 22:58:44 +05:00
i701 01b064aee7 WIP feat(admin-devices): enhance device management from admin with dynamic filters and improved blocking functionality 2025-06-30 15:16:36 +05:00
i701 0157eccd57 feat: add dual range slider component and integrate it into dynamic filter for device management 2025-06-29 20:46:34 +05:00
i701 11ac852762 chore: upgrade to tailwind v4 and add a generic filter for dynamic filter handling 2025-06-27 14:27:44 +05:00
i701 9e0d2d277b refactor: streamline package.json and tailwind.config.ts
- Simplified dependencies in package.json by removing unused packages and organizing existing ones.
- Updated tailwind.config.ts for better readability and maintainability, ensuring consistent formatting and structure.
2025-06-27 13:12:29 +05:00
i701 383ffddde6 fix: remove unused components and fix build 🐛 2025-06-26 19:01:25 +05:00
i701 59adaaf281 feat(devices): add proper filter handling and update shadcn 🔨 2025-06-26 18:42:48 +05:00
i701 6aea54884d feat: add admin check for device and payment pages; update session type to include is_admin property 2025-06-26 11:36:34 +05:00
i701 bed426a6b4 feat: add loading state and full-page loader component; update payment page and application layout to improve user experience 2025-05-31 12:37:46 +05:00
i701 886b0b15d0 fix: remove unused authentication imports in PaymentPage component 2025-04-20 08:14:06 +05:00
i701 3d12786332 fix: remove unused session retrieval in PaymentPage component 2025-04-20 07:58:36 +05:00
i701 ba91d2c8d4 feat: add getProfile function and integrate user profile retrieval in payment and layout components 2025-04-20 07:40:31 +05:00
i701 de1e842145 fix: remove unused type prop from BlockDeviceDialog component 2025-04-14 01:10:10 +05:00
i701 6365a701ba feat: enhance error handling and improve API response management across components 2025-04-14 01:05:07 +05:00
i701 0d578c9add feat: add loading skeleton for devices table and improve payment processing logic 2025-04-12 17:01:37 +05:00
i701 7750c5a1cc feat: add Dashboard layout main Error component for error handling in dashboard 2025-04-12 14:47:25 +05:00
i701 bb5eff8b5b refactor: remove layout error component from dashboard 2025-04-12 14:42:24 +05:00
i701 aff9d26e0e refactor: enhance error handling and add pagination to device queries 2025-04-12 14:35:23 +05:00
i701 b932fcf03c TEMPORARY FIX TO TEST BUILD 2025-04-10 23:18:19 +05:00
i701 e8296ae3f6 temporary fix for build and remove previous auth related code 2025-04-10 22:39:38 +05:00
i701 7e49bf119a refactor: update axios client import, enhance device and payment handling, and add cancel payment button component 2025-04-08 21:37:51 +05:00
i701 daab793592 refactor: implement session checking utility, enhance device queries with session validation, and improve UI interactions for device management 2025-04-06 22:43:12 +05:00
i701 9e2a2f430e refactor: update payment types and user interface, enhance error handling, and adjust API base URL 2025-04-05 23:25:17 +05:00
i701 aa18484475 refactor: add tryCatch utility for error handling, update device-related components and types, and clean up unused code in payment actions 2025-04-05 16:07:11 +05:00
i701 dbdc1df7d5 refactor: update authentication flow to use PIN instead of email/password, enhance OTP verification with NextAuth, and improve session handling in components 2025-04-05 11:50:39 +05:00
i701 ef9f032366 refactor: streamline authentication flow by removing unused code, replacing custom auth utilities with NextAuth, and updating session handling in components 2025-03-28 22:24:45 +05:00
i701 99c5fef748 refactor: enhance authentication and signup flow with new providers, update middleware matcher, and improve type safety for API responses 2025-03-26 22:48:14 +05:00
i701 020d74c5e2 refactor: update authentication flow to use NextAuth, replace better-auth with axios for API calls, and clean up unused code 2025-03-23 15:07:03 +05:00
i701 0fd269df31 refactor: migrate authentication and signup flow to use external API and improve type safety 2025-01-24 11:42:38 +05:00
i701 8ffabb1fcb Refactor authentication middleware to use native fetch, update dependencies, and enhance error handling. Add new error boundary component for dashboard and improve user verification UI. Update payment handling and device management components for better user experience. Adjust CSS for error backgrounds and refine input read-only components with validation indicators. 2025-01-15 10:35:03 +05:00
i701 a3f0759731 Refactor user verification and data handling
- Updated `package.json` to add a new script for Prisma database setup.
- Replaced `usePerson` hook with `getNationalPerson` function in `lib/person.ts` for improved national data fetching.
- Refactored imports in `auth-actions.ts`, `user-actions.ts`, and `verify/page.tsx` to use the new `getNationalPerson` function.
- Enhanced device notification logic in `check-devices/route.ts` to correctly handle payment data.
- Improved error handling in `devices-to-pay.tsx` for better user feedback.

These changes streamline user verification processes and enhance data integrity across the application.
2025-01-10 21:58:13 +05:00
i701 fcf4f37561 remove unused imports 2025-01-10 21:44:47 +05:00
i701 ff0eae6ec4 Enhance user verification and data validation features
- Updated `next.config.ts` to include remote image patterns for user verification.
- Introduced `VerifyUserDetails` function in `lib/person.ts` to validate user data against national records.
- Added `usePerson` hook for fetching national data based on ID card.
- Enhanced `signup` and `signin` functions in `auth-actions.ts` to handle user verification status and send notifications for pending verifications.
- Refactored `VerifyUser` function in `user-actions.ts` to incorporate national data validation.
- Improved UI components in the user verification page to display both database and national information.
- Updated `InputReadOnly` component to support customizable label classes for better styling.

These changes improve the user verification process, ensuring data integrity and enhancing the overall user experience.
2025-01-10 15:59:44 +05:00