feat: roles admin, custom fields, developers settings, my assets, QR scan - #1362
Merged
yusuftomilola merged 1 commit intoAug 26, 2026
Conversation
…ortal, QR scan page - FE-10: Extended users page with activate/deactivate toggle, invite-user modal with role selection, and role capabilities reference panel - FE-11: Custom fields builder at /settings/custom-fields with per-category field definitions (text/number/date/select/boolean), required flag, activate/deactivate, and delete - FE-12: Developer settings at /settings/developers with API key management (create with scopes, show secret once, revoke) and webhook management (CRUD, signing secret, test delivery, delivery history) - FE-13: My Assets employee self-service portal at /my-assets with assigned assets list, report-issue and request-transfer actions, and requests tab - FE-14: QR-scan landing page at /scan/[assetId] with public minimal view (name, photo, category, status) and authenticated quick actions Closes DistinctCodes#1098 Closes DistinctCodes#1099 Closes DistinctCodes#1100 Closes DistinctCodes#1101 Closes DistinctCodes#1102
|
@brightMedina5050 is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@brightMedina5050 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
Aug 26, 2026
yusuftomilola
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed. Solid additions:
- Users & Roles page: real invite-user flow and activate/deactivate with confirmation dialogs, admin-gated in the UI. I checked the current backend and confirmed
PATCH /users/:id/activeandPOST /users/invitedon't exist yet — these calls will 404 until the backend catches up, but that fails visibly (error surfaced in the modal), not silently, consistent with how search/reports in #1359 handle a not-yet-wired backend. - QR scan landing page (
/scan/:assetId): sensibly minimal public view (name, category, status, org contact) rather than leaking full asset details to an unauthenticated scanner — good privacy instinct. - My Assets, Custom Fields, and Developer Settings (API keys/webhooks) pages are honestly local-state-only for now — no persistence and no fake success claims, so nothing here misleads a user about what's real.
Approving.
Closed
4 tasks
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.
Summary
This PR implements five features: roles admin UI, custom fields builder, developer settings, employee self-service portal, and QR scan landing page.
Changes
[FE-10] Roles & Permissions Admin UI
/users) with activate/deactivate toggle per usertoggleActive,inviteUser[FE-11] Custom Fields Builder
/settings/custom-fieldspage with per-category field definitions[FE-12] Developer Settings
/settings/developerspage with API keys and webhooks panels[FE-13] My Assets Employee Self-Service Portal
/my-assetspage (default for STAFF role)[FE-14] QR Scan Landing Page
/scan/[assetId]route (outside dashboard shell, mobile-first)Verification
Closes #1098
Closes #1099
Closes #1097
Closes #1096