Skip to content

feat(mobile): resident maintenance tickets#49

Merged
ankitsejwal merged 1 commit into
mainfrom
feat/tickets-mobile
Jul 2, 2026
Merged

feat(mobile): resident maintenance tickets#49
ankitsejwal merged 1 commit into
mainfrom
feat/tickets-mobile

Conversation

@ankitsejwal

Copy link
Copy Markdown
Member

Slice 3 (final) of the maintenance-tickets vertical — the resident entry point on mobile.

What

  • New Maintenance screen (/tickets) + home-screen link.
  • Raise a ticket: title, description, and chip pickers for apartment / category / priority.
  • Your tickets: the resident's tickets (API scopes non-admins to their own apartments) with color-coded status.
  • mobile api client: listTickets, createTicket.

Verified E2E (expo web + Chrome DevTools, live Neon)

  • Screen renders the form + existing tickets with correct status colors (OPEN/IN_PROGRESS cyan, RESOLVED green, CLOSED/CANCELLED grey).
  • Raised "Corridor light out" (A-102, ELECTRICAL, HIGH) → appears at top of the list as OPEN with the chosen category/priority; form reset.
  • Console clean; gate green.

This completes the tickets vertical across DB + API (#47), admin web (#48) and resident mobile (this PR). Remaining follow-up: admin assignment UI (#40).

New resident Maintenance screen: raise a ticket (title, description,
apartment/category/priority chips) and view your tickets with live status.
Adds listTickets/createTicket to the mobile api client.
@ankitsejwal ankitsejwal merged commit 141c551 into main Jul 2, 2026
1 check passed
@ankitsejwal ankitsejwal deleted the feat/tickets-mobile branch July 2, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant