Feat/department management page - #1245
Merged
yusuftomilola merged 5 commits intoJul 28, 2026
Merged
Conversation
|
@mijinummi is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@mijinummi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
yusuftomilola
approved these changes
Jul 28, 2026
Collaborator
|
@mijinummi Kindly resolve conflicts |
Contributor
Author
|
on it sir. Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Release & Pull Request Summary: Core Platform Features
This PR delivers foundational authentication, physical asset scanning, multi-format data exports, and organizational department management UI.
Closes #1060
Closes #1039
Closes #1040
Closes #1041
1. Auth Module Implementation (#1060)
src/auth/)POST /api/auth/register), login (POST /api/auth/login), logout (POST /api/auth/logout), and current user profile (GET /api/auth/me).bcrypt(minimum 8 characters validated via DTOs).401 UnauthorizedExceptionreturned on credential failures to eliminate user enumeration vectors.JwtStrategy,JwtAuthGuard, and@GetUser()decorator to protect API endpoints across modules.auth-api.tscontracts ({ accessToken, user: { id, email, firstName, lastName, role } }).2. QR Code & Barcode Generation with Scan Lookup (#1039)
src/assets/)bwip-js(Code128 barcodes) andqrcodefor asset tracking.${FRONTEND_URL}/assets/{id}) and Code128 barcodes uponPOST /assetscreation.qrcodes/{assetId}/) usingFileServicewith database references inAsset.qrCodeandAsset.barcode.GET /assets/:id/qrcodeandGET /assets/:id/barcodereturning 1-hour pre-signed S3 URLs.GET /assets/scan?code=enabling mobile barcode scanners to resolve assets by UUID or physicalassetTag.POST /assets/:id/regenerate-codesfor administrative asset tag re-generation.3. Streaming Data Exports (#1040)
src/common/services/export.service.ts,src/assets/,src/audit-logs/,src/reports/)exceljsand streaming writers (ExcelJS.stream.xlsx.WorkbookWriterand CSV stringifiers) for low memory footprint under high record volumes.GET /assets/export: Supports CSV/XLSX streaming while preserving query filters and department RBAC boundaries forMANAGERroles.GET /audit-logs/export: Restricted toADMINroles for compliance data dumps.GET /reports/export: Streams summary analytics and category/department breakdown data.Content-TypeandContent-Dispositionheaders with formatted filenames (filename="[dataset]-YYYY-MM-DD.[ext]").4. Department Management UI (#1041)
frontend/app/(dashboard)/departments/page.tsx,components/departments/,lib/query/hooks/useDepartments.ts)frontend/app/(dashboard)/departments/page.tsxdisplaying department names, managers, member counts, asset counts, and creation dates.useDepartments,useCreateDepartment,useUpdateDepartment,useDeleteDepartment,useDepartmentUsers, anduseDepartmentAssetsReact Query hooks.DepartmentModalcomponent supporting creation and editing with manager assignment.DepartmentDrawersliding panel with tabbed views for department members and allocated assets.📊 Summary Matrix
src/auth/src/assets/src/common/,src/assets/app/(dashboard)/departments/Closes #1060
Closes #1039
Closes #1040
Closes #1041