Commit Graph

7 Commits

Author SHA1 Message Date
Yoga Pangestu
5994f38f01 feat: implement permission checks for academic terms, courses, departments, and user management
- Added permission checks for creating, updating, and deleting academic terms, courses, and departments.
- Updated the routes to enforce permissions for various actions in the admin panel.
- Enhanced user management by adding permissions for administrators, lecturers, and students.
- Refactored components to conditionally render actions based on user permissions.
- Updated the auth type to include optional permissions array for user roles.
2026-08-30 23:27:31 +07:00
Yoga Pangestu
a76ee85c24 feat: add filter functionality to various admin pages
Some checks failed
tests / ci (pull_request) Has been cancelled
- Implemented filter dialogs in the following pages:
  - Academic Classes Assignments
  - Course Registrations
  - Materials
  - Announcements
  - Feedback
  - Tuition Invoices
  - Course Classes
  - Courses
  - Academic Terms
  - Academic Advising Logs
  - Letter Requests
  - Administrators
  - Lecturers
  - Students

- Updated the useServerTable hook to support filter parameters.
- Enhanced the UI with filter options for better data management and retrieval.
2026-08-26 00:32:16 +07:00
Yoga Pangestu
0397959f60 feat: implement notification system with CRUD operations and UI integration
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-08-25 13:21:11 +07:00
Yoga Pangestu
1b5510b4e5 feat: add reusable components for dialogs and headers
Some checks failed
tests / ci (pull_request) Has been cancelled
- Implemented DeleteConfirmDialog for confirming deletions.
- Created FormDialog for handling forms within dialogs.
- Added PageHeader component for consistent page headers.
- Introduced RowActions component for action buttons with tooltips.
- Added useServerTable hook for managing server-side table interactions.
- Updated DatePicker component with default month and dropdown caption layout.
- Removed outdated data.json file.
2026-08-05 13:46:38 +07:00
Yoga Pangestu
fbf29ad4e9 feat: Refactor UI components and add new Drawer, Table, and Tabs components
Some checks failed
tests / ci (pull_request) Has been cancelled
- Removed unnecessary "use client" directive from checkbox and select components.
- Added new Drawer component with associated subcomponents (DrawerTrigger, DrawerClose, etc.) for better UI management.
- Introduced Table component with TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, and TableCaption for structured data display.
- Added Tabs component with TabsList, TabsTrigger, and TabsContent for tabbed navigation.
- Updated user-info component to use full_name instead of name for better clarity.
- Modified user-menu-content to include translations for settings and logout options.
- Added data.json file for mock data in the dashboard.
- Updated dashboard page to utilize new components and improved layout.
- Refactored User type to replace name with full_name for consistency across the application.
2026-08-03 15:57:38 +07:00
Yoga Pangestu
8f692c44c7 refactor: update component imports and improve styling
Some checks failed
tests / ci (pull_request) Has been cancelled
- Refactored imports in Select, Separator, Sheet, Sidebar, Skeleton, Sonner, Toggle, and Tooltip components to use new radix-ui package.
- Enhanced styling for various components, including SelectTrigger, SelectContent, and TooltipContent for better visual consistency.
- Introduced a new hook `useIsMobile` to manage mobile state detection.
- Adjusted class names and styles for better responsiveness and accessibility across components.
- Added support for custom spacing in ToggleGroup component.
2026-08-03 15:19:17 +07:00
Yoga Pangestu
e870a155fa initial commit
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-07-29 17:46:01 +07:00