Commit Graph

69 Commits

Author SHA1 Message Date
Kemas M. Aryadary Rasyad e396914609 add navigation on internify header: navigation to home from humic logo +
crosscheck line code
2026-07-22 02:15:11 +07:00
Kemas M. Aryadary Rasyad 4170a93173 minor update: mentor-generate sertifikat: tambahin status jika intern sudah ada sertifikat 2026-07-21 09:10:47 +07:00
Kemas M. Aryadary Rasyad 7f4e149819 feat: update landing page assets and enhance developer section with new team members 2026-07-20 20:06:34 +07:00
Kemas M. Aryadary Rasyad ef3ac59c90 fix import module on Mentor Admin Page 2026-07-18 03:24:36 +07:00
Kemas M. Aryadary Rasyad e278db1988 feat: refactor file URL resolution and enhance component imports 2026-07-18 00:54:36 +07:00
Kemas M. Aryadary Rasyad 62aaf2bcba feat: enhance project and mentor management features
- Updated MentorProjectCard to provide more detailed success/error messages upon archiving and completing projects.
- Adjusted layout for certificate generation to improve visual alignment.
- Introduced resolveErrorMessage utility to standardize error message handling across the application.
- Enhanced customToast functionality to handle hook failures more gracefully.
- Refactored useCertificates hook to return structured responses for certificate claims and generation.
- Updated useMentors hook to improve error handling and response structure for mentor operations.
- Improved useNotification hook to return structured responses for marking notifications as read.
- Refactored useProjects hook to provide structured responses for project creation, updates, and member assignments.
- Enhanced useTasks hook to return structured responses for task creation, updates, and deletions.
- Updated services to return structured responses with messages for various API calls related to certificates, mentors, notifications, projects, tasks, and user management.
- Moved mentor-related types to a dedicated user.types file for better organization.
2026-07-16 22:50:56 +07:00
Kemas M. Aryadary Rasyad 99082efbdb feat: enhance routing and UI components for intern and mentor sections 2026-07-16 12:05:50 +07:00
Kemas M. Aryadary Rasyad 5689898f33 feat: enhance certificate management and project task features
- Updated CertificateForm to improve loading state UI with skeletons.
- Enhanced CertificateResult with better loading indicators and structure.
- Refactored ProjectForumTab to include a skeleton loader and improved error handling.
- Introduced ProjectTaskTab for managing project tasks with modals for creating and editing tasks.
- Improved ProjectsPage with a skeleton loader during project data fetching.
- Refined AddInternsToProjects, ArchiveProjectDialog, CompleteProjectDialog, CreateProjectDialog, CreateTaskDialog, and EditTaskDialog components to handle modal states more effectively.
- Updated EligibleInternTable to enhance loading states and formatting of dates.
- Modified StatusSubmissionTable to simplify status display.
- Improved certificate generation utility functions for better date formatting and layout management.
- Removed deprecated certificate assets and added a new template for certificates.
- Updated types for certificates and projects to include start and end dates.
2026-07-15 11:42:22 +07:00
Kemas M. Aryadary Rasyad c2aacb505f feat: Refactor Mentor Settings Page and improve user profile handling
- Removed MentorSettingsPage component to streamline user profile management.
- Updated ProjectForumTab and ProjectsInternTab for better UI/UX.
- Enhanced ProjectsPage loading state with a spinner.
- Improved TaskTab to handle loading states and error messages more effectively.
- Added new utility functions for user initials and file URL resolution.
- Updated UserService to normalize user data and handle profile updates more efficiently.
- Enhanced CSS styles for better visual consistency across components.
- Added new properties to CurrentUser type for better user data management.
2026-07-14 17:20:15 +07:00
Kemas M. Aryadary Rasyad a124a2b96e feat: enhance user profile update functionality and error handling
- Added detailed error messages for various HTTP status codes in useUpdateProfile hook.
- Refactored updateProfile service to handle full_name as separate first and last name fields.
- Updated UpdateProfilePayload type to allow profile_picture to be a string or File.
- Introduced resolveFileUrl utility function for consistent file URL resolution.
- Improved loading and error state management in useUpdateProfile hook.
- Added DEFAULT_AVATAR constant for default user avatar.
2026-07-13 12:15:15 +07:00
Kemas M. Aryadary Rasyad 5516d35546 add overdue status signal UI for overdue task 2026-07-10 17:43:00 +07:00
Kemas M. Aryadary Rasyad 17e3928d35 feat: implement profile settings and comprehensive mentor-intern project management system 2026-07-10 10:01:25 +07:00
Kemas M. Aryadary Rasyad 88f457258d feat: update dashboard and project components for batch handling and icon management 2026-07-09 17:39:46 +07:00
Kemas M. Aryadary Rasyad 328bcbcdc2 Perbaikan pada landing page: Gambar Feedback menjadi statis
Taskform type link: saat diupdate sudah diarahkan ke submission status
Settings Page: Penambahan data user di samping gambar profile_picture
Penambahan warning dialog pada saat melakukan archiveProject dan CompletedProject pada list mentor project
Input durasi projek format string pada SertificateGenerator
2026-07-08 18:24:56 +07:00
Kemas M. Aryadary Rasyad 9470d30a9a feat: add notification system with real-time updates, certificate generator utility, and intern eligibility tracking components 2026-07-08 11:31:48 +07:00
Kemas M. Aryadary Rasyad 77965be7f9 feat: implement certificate template management and eligible intern tracking module for mentors 2026-07-07 15:35:01 +07:00
Kemas M. Aryadary Rasyad 91d7bcf3f7 Toast Implementation; fix add interns dialogue: penghapusan UI delete pada dialog komponen; penambahan params pada generate sertificate; perubahan tipe state untuk submission (user bisa open file submission) 2026-07-07 11:47:33 +07:00
Kemas M. Aryadary Rasyad 7a331b8e7d feat: enhance task creation and editing with success/error toasts
- Added success and error toast notifications for task creation in CreateTaskDialog.
- Implemented success and error toast notifications for task updates in EditTaskDialog.
- Integrated custom toast notifications in MentorProjectCard for project archiving.
- Removed unused mock data files related to projects, interns, deadlines, and certificates.
- Updated useProjectTasks hook to accept projectId as a number instead of a string.
- Improved error handling in useSubmission hook methods to throw errors instead of returning null.
2026-07-06 20:38:30 +07:00
Kemas M. Aryadary Rasyad 8f5fb82f59 feat: enhance certificate verification and submission handling, add custom toast notifications 2026-07-06 09:01:26 +07:00
Kemas M. Aryadary Rasyad c4ca23e869 Generate Certificates: Adding QR with UUID of certificates to verify 2026-07-04 02:06:02 +07:00
Kemas M. Aryadary Rasyad 5b7ac30589 [TEST DONE] Checking Sertification generation for mentor/admin and view on intern 2026-07-03 20:18:52 +07:00
Kemas M. Aryadary Rasyad 508ffe5f84 [UNTEST] CERTIFICATE GENERATION AND BACKEND ENDPOINT IMPLEMENTATION ON CERTIFICATES (CLAIM, GENERATE, FETCH DATA)
- Updated AddInternsModal to allow selection of interns via dropdown instead of email input.
- Introduced CertResultTable component for displaying certificate results with search and pagination.
- Modified CreateProjectDialog to accept an onSuccess callback for better project creation handling.
- Integrated certificate generation functionality in EligibleInternTable with improved error handling.
- Enhanced HomeMentorProject and MentorProjectCard to dynamically display project icons and statuses.
- Refactored SidebarMentor to improve active route detection.
- Added utility functions for certificate preview and download in Certificates.ts.
- Removed unused DownloadImagetoDevice utility and related hooks.
- Implemented useProjectsByRole hook for fetching projects based on user role.
- Updated types for certificates and projects to reflect recent changes in the data structure.
2026-07-03 15:03:17 +07:00
Kemas M. Aryadary Rasyad 5dec77862c feat: update certificate handling and project management features
- Refactored CertificateHistory component to display dynamic certificate images.
- Modified CertificateNotAvailable component text for clarity on certificate publication.
- Enhanced CertificateForm to include file preview and clear functionality for uploaded images.
- Removed obsolete CertificatePage component to streamline mentor interface.
- Updated CertificateResult to handle project details and loading states more effectively.
- Improved HomeMentorPage structure by adjusting imports for better organization.
- Enhanced EligibleInternTable with navigation to results and improved error handling for certificate generation.
- Updated HomeMentorProject styles for consistency with design system.
- Added utility function to resolve image URLs for certificates.
- Introduced new hooks for generating certificates and managing notifications.
- Expanded project service functions to include project completion and assignable interns retrieval.
- Updated types for certificates and projects to reflect new data structures.
- Added user types for better type safety in user management.
2026-07-02 10:27:28 +07:00
Kemas M. Aryadary Rasyad 7fffc08912 feat: implement certificate download functionality with image and PDF options 2026-06-30 13:46:34 +07:00
Kemas M. Aryadary Rasyad f22e4683a7 feat: add progress bar component and integrate into certificate detail page
- Implemented ProgressBar component for visual task completion representation.
- Created SertificatePage to display certificate details and handle claiming logic.
- Updated CertificateAvailable component to support dynamic certificate data.
- Enhanced CertificateNotAvailable component with error handling and claim functionality.
- Refactored CertificateHistory component to use updated hooks for fetching certificates.
- Modified CertificateForm to utilize new hooks for uploading certificate templates.
- Introduced CertificateResult component for displaying generated certificates with pagination.
- Added EligibleInternTable component for managing eligible interns and generating certificates.
- Developed utility functions for generating certificates as images.
- Created hooks for managing certificate-related API interactions.
- Updated project and certificate types to include new properties for templates and images.
2026-06-30 12:28:17 +07:00
Kemas M. Aryadary Rasyad 28bd1d3d87 test pertama:
- implementasi seluruh backend pada akun intern dan mentor pada bagian lms
- kondisi semua hooks dan types yang dibutuhkan
- Pengujian task, project, dan submission pada mentor dan intern

next progress:
- Implementasi lib eksternal untuk unduh kedalam devices dan kirim sertifikat ke internet (linkedin)
- implementasi proses sertifikat pada mentor untuk melakukan generate sertifikat dengan template dan intern pada projek
2026-06-29 20:01:37 +07:00
Kemas M. Aryadary Rasyad da67ad86d8 Refactor internify components and services
- Updated LoginInternify to remove unnecessary state initialization.
- Cleaned up NotificationList by removing unused code and fixing button click handler.
- Added project_id prop to InternClaimCert for better data handling.
- Enhanced CertificateNotAvailable to include claim functionality with loading and error states.
- Modified HomeHeader to display a default user name.
- Corrected ProjectTimeline to import ProjectTask from the correct type file.
- Implemented loading and error handling in CertificateListPage.
- Improved MentorProjectDetailPage to handle task updates and navigation correctly.
- Enhanced MentorSettingsPage to manage profile picture errors and state.
- Updated AddInternsDialog to use the correct hook for fetching interns.
- Refactored EditSubmissionTask to handle task updates and errors more effectively.
- Improved MentorProjectCard to include project archiving functionality.
- Removed deprecated useInterns hook and replaced it with useUser for fetching user data.
- Added new useMentors hook for managing mentor-related operations.
- Cleaned up CertificateService by removing unused verifyCertificate function.
- Created MentorServices for managing mentor data operations.
- Updated UserService to include fetching Mahasiswa data and removed unused UserServices file.
2026-06-29 15:42:48 +07:00
Kemas M. Aryadary Rasyad 4084ccf1bf Merge pull request #3 from internship-humic/implement-backend
Implement backend
2026-06-29 11:35:00 +07:00
Kemas M. Aryadary Rasyad 5f0ada7697 Merge branch 'main' into implement-backend 2026-06-29 11:34:50 +07:00
Kemas M. Aryadary Rasyad 732684200f feat: add CertificateForm and CertificateResult components for managing intern certificates
- Implemented CertificateForm for uploading certificate templates and displaying project details.
- Created CertificateResult to show generated certificates with pagination and search functionality.
- Added EligibleInternTable component to display eligible interns and their progress.
- Updated CertificateListPage to reflect changes in project listing styles.
- Enhanced MentorProjectCard with dynamic icon rendering.
- Introduced useProjectInternProgress hook for fetching intern progress data.
- Modified ProjectService to include task details in project responses.
- Updated project types to accommodate new task structures.
2026-06-28 22:22:03 +07:00
Kemas M. Aryadary Rasyad b796e70dca Merge pull request #2 from internship-humic/feat/notification
feat: integrasi notifikasi backend dengan frontend
2026-06-28 17:14:29 +07:00
Kemas M. Aryadary Rasyad 37e21a1f39 feat: implement authentication system, role-based routing, and profile settings for interns and mentors 2026-06-28 10:13:50 +07:00
Kemas M. Aryadary Rasyad ad26a53f21 feat: update project task card to use new task type and improve navigation
fix: update project card to reflect actual tasks done from project data

feat: enhance task form components to accept project ID for submissions

refactor: clean up certificate detail page by removing unused elements

chore: streamline certificate generation page by removing unnecessary navigation

refactor: update certificate list page to use dynamic project data

feat: improve interns management page with API integration and better state handling

feat: add modal for assigning interns to projects with project selection

feat: create a new component for displaying project cards in certificate list

fix: correct import paths in create project dialog component

refactor: enhance project hooks to include task filtering and refetch capabilities

fix: update mock certificate data to reflect correct status

feat: extend certificate types to include new fields for better tracking

feat: add task_done field to project types for improved task management
2026-06-28 08:12:56 +07:00
Rafi Athallah cafcf6314a feat: integrasi notifikasi backend dengan frontend 2026-06-27 19:27:16 +07:00
Kemas M. Aryadary Rasyad 6ec9620f1f feat: implement project management dashboard and certification module for mentors and interns 2026-06-26 22:53:19 +07:00
Kemas M. Aryadary Rasyad 60aba4180e feat: implement mentor dashboard features including project task management, submission tracking, and modal-based task creation. 2026-06-26 18:05:54 +07:00
Kemas M. Aryadary Rasyad 53b270921d Update all hooks (Projects, Tasks, Certificates), implement backend for Projects. HomePage on Mentors 2026-06-26 10:59:35 +07:00
Kemas M. Aryadary Rasyad 49b8a288f0 Merge pull request #1 from internship-humic/implement-backend
Implement backend
2026-06-26 04:05:03 +07:00
Kemas M. Aryadary Rasyad 2e162bfc1e intern project and user fix bug and implementation 2026-06-26 04:01:10 +07:00
Kemas M. Aryadary Rasyad f63efb0e12 Implementasi Backend pada login, FAQ, Settings Intern, Projects Intern, Home Intern 2026-06-25 00:35:53 +07:00
Kemas M. Aryadary Rasyad 9e5a97ef10 update Task Submission Page: Submission, aftersubmission, etc 2026-06-23 12:43:25 +07:00
Kemas M. Aryadary Rasyad dc64fadfdd feat: Implement task editing functionality and improve UI components
- Added EditTaskModal component for editing tasks.
- Integrated EditTaskModal into TaskTab for task editing.
- Refactored AddInternsDialog for better UI and functionality.
- Created AddInternsToProjects component for adding interns to projects.
- Enhanced CreateProjectDialog and CreateTaskDialog with improved styling.
- Introduced EditSubmissionTask component for editing submission tasks.
- Added ProtectedRoutes for route protection based on user roles.
- Implemented API utility for handling requests with authorization.
- Removed obsolete InternRoute and MentorRoute files.
- Updated global CSS styles for better responsiveness and aesthetics.
2026-06-22 21:01:25 +07:00
Kemas M. Aryadary Rasyad ff68115fca feat: add react-hot-toast for notifications, enhance project detail page, and update task handling
- Added `react-hot-toast` dependency for improved notification handling.
- Introduced `MentorProjectsDetailPage` for detailed project and task views.
- Updated routing to include task-specific paths.
- Enhanced breadcrumb navigation to reflect new project structure.
- Refactored task handling in `MentorTaskCard` and `ProjectTimeline` components.
- Updated mock data to include detailed task submissions and deadlines.
- Improved UI elements for better user experience in project management.
2026-06-16 17:54:00 +07:00
Kemas M. Aryadary Rasyad f9bb21a961 progress: breadcrumbs fixation, submission task fixation and add new UI after submitted, Certificates change layout and new page (Certificate List) 2026-06-16 14:50:31 +07:00
Kemas M. Aryadary Rasyad 8b20c11822 feat: update routing parameters, add header component, and refactor project details; enhance breadcrumb labels and task timeline 2026-06-16 11:47:47 +07:00
Kemas M. Aryadary Rasyad b7489e3be7 feat: add breadcrumbs component and integrate with layout; update dependencies and refactor various pages 2026-06-11 19:50:16 +07:00
Kemas M. Aryadary Rasyad eceb325836 apply dialog window and add current css 2026-06-07 20:22:36 +07:00
Kemas M. Aryadary Rasyad 46cd26f4d2 feat: add modals for managing interns, creating projects, and tasks
- Implemented AddInternsDialog for inviting and managing interns.
- Created CreateProjectDialog for launching new projects with detailed forms.
- Added CreateTaskDialog for task creation with deadline and submission type options.
- Enhanced Header component with navigation functionality.
- Updated MentorProjectCard to navigate correctly to mentor projects.
- Refactored SidebarMentor for improved navigation and mobile responsiveness.
- Adjusted Internify login logic to streamline user role navigation.
- Added CSS styles for consistent layout and design.
- Introduced mock data for interns to facilitate development and testing.
2026-06-06 23:47:22 +07:00
Kemas M. Aryadary Rasyad e59e63a21e feat: Refactor mentor components and implement project management features
- Removed unused imports and interfaces in HomeProjectList component.
- Added ArrowDownNarrowWide icon to ProjectTimeline component for visual enhancement.
- Updated layout imports to reflect new component structure.
- Created BaseProjectsPage for mentor to manage projects with navigation.
- Introduced MentorCertificatePage as a placeholder for future certificate functionality.
- Deleted obsolete HomeMentorPage and replaced it with HomePage for mentor dashboard.
- Added InternsPage and updated MentorInternPage for better intern management.
- Implemented ProjectForumTab and ProjectsInternTab for project details and intern listings.
- Developed TaskTab for task management within projects.
- Created SidebarMentor for navigation in mentor dashboard.
- Enhanced login functionality with user role-based navigation.
- Updated mockData to include task submission counts and certificate data structure.
- Added new assets for certificate representation.
2026-06-05 14:33:03 +07:00
Kemas M. Aryadary Rasyad 8146545779 Merge branch 'main' of https://github.com/internship-humic/internify-fe 2026-05-29 11:49:06 +07:00