feat: Maintenance module, Leads/CRM module, and interactive floor plan seat map#1253
Open
BigBen-7 wants to merge 1 commit into
Open
Conversation
…e (BE-20), add interactive floor plan seat map (FE-17) Closes DistinctCodes#1187 Closes DistinctCodes#1188 Closes DistinctCodes#1189 Closes DistinctCodes#1186 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@BigBen-7 is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@BigBen-7 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! 🚀 |
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 four features assigned to BigBen-7:
[BE-19] Maintenance / Issue Reporting: Backend (#1187)
MaintenanceRequestentity withcategory(EQUIPMENT/FACILITY/SAFETY/OTHER),description,imageUrl,status(OPEN/IN_PROGRESS/RESOLVED),resolvedAt, andresolvedByStaffIdfieldsPOST /maintenance— member submits a requestGET /maintenance/mine— member views their own requests (paginated)GET /maintenance— admin/staff views all requests (filterable by status, category, workspaceId)PATCH /maintenance/:id/status— admin updates statusGET /maintenance/:id— detail viewMaintenanceModuleregistered inAppModule[FE-18] Maintenance / Issue Reporting: Frontend (#1188)
/maintenancepage listing member's own submissions with category badge, status badge, and submission dateuseSubmitMaintenanceRequestanduseGetMyMaintenanceRequestsReact Query hooks/maintenancelink added toDashboardSidebarunder Help[BE-20] Leads / CRM Module: Backend (#1189)
Leadentity withname,email,phone,company,source(CONTACT_FORM/REFERRAL/WALK_IN/OTHER),status(NEW/CONTACTED/QUALIFIED/CONVERTED/LOST),notes,assignedToStaffId,convertedAtfields with soft-delete supportGET /leads— paginated, filterable by status, source, assignedToStaffId (admin/staff)GET /leads/:id— single lead detailPATCH /leads/:id— update status, notes, assigned staffPOST /leads/:id/convert— marks lead as CONVERTED and sets convertedAtDELETE /leads/:id— soft-delete (admin only)createFromContactForm()helper for ContactModule integrationLeadsModuleregistered inAppModule[FE-17] Interactive Floor Plan / Seat Map (#1186)
/spaces/mappage rendering an SVG-based floor plan fromGET /floor-plan/active/bookings/new?workspaceId=Map Viewtoggle button added to the/workspaceslisting pageFloorPlanCanvascomponent infrontend/components/floor-plan/Closes #1187
Closes #1188
Closes #1189
Closes #1186