Commit Graph

8 Commits

Author SHA1 Message Date
Khafid Prayoga
d9a675be05 refactor(composables): extract pagination logic into usePaginatedList composable
- Remove duplicate schema.query.ts files from unit, division, and installation components
- Create new usePaginatedList composable to centralize pagination logic
- Update list.vue components to use the new composable
- Maintain same functionality while reducing code duplication
2025-09-04 16:19:51 +07:00
Khafid Prayoga
ee3bb1cd6e refactor(error): move error types to centralized location
Consolidate XError, XErrors, and FormErrors types into a single file for better maintainability and consistency across the codebase.
2025-08-29 11:04:59 +07:00
Khafid Prayoga
d6b288404f feat(division): add division management pages and form validation
- Create new division list and add pages
- Implement form validation using zod and error handling
- Add useFormErrors composable for form error management
- Update division entry form with validation support
- Add error styling in main.css
2025-08-29 10:42:07 +07:00
Abizrh
fe46db6bc6 feat (dashboard): implement dashboard page with summary cards and quick actions 2025-08-15 16:30:48 +07:00
Abizrh
67ccb21b49 🐛 fix (rbac): use userStore to determine user roles 2025-08-13 16:37:32 +07:00
Abizrh
d8d7d61fca enhance (auth): clear store on 401 and redirect to /401 2025-08-13 13:17:21 +07:00
Abizrh
125d7857ce feat (rbac): implement role-based access control 2025-08-12 11:32:36 +07:00
Abizrh
d4dc345d26 feat (composables): add xfetch 2025-08-10 15:47:55 +07:00