Add search for past inspections in mobile app

Objective

Add text search across past inspections inside Attik Mobile so inspectors can jump to a job the same way they are used to in Spectora.

Background

  • The default schedule experience is implemented in attik-mobile/app/(app)/index.tsx, which composes DaySelector, ScheduleHeader, and ScheduleCard while pulling data from useSchedule (attik-mobile/hooks/useSchedule).
  • Each ScheduleCard already deep-links to attik-mobile/app/(app)/inspection/[id].tsx when the row represents an inspection, so search results can reuse that navigation pattern.

Scope

Mobile

  • Introduce a search entry point (likely on the schedule screen or global header) that queries cached or API-backed inspections beyond the currently selected day.
  • Define sensible ranking (recent first, partial address or client match) and empty states without prescribing the exact UX component.

Backend

  • Only if existing inspection list endpoints cannot satisfy performant mobile search; otherwise reuse established APIs.

References

  • attik-mobile/app/(app)/index.tsx
  • attik-mobile/components/schedule/ScheduleCard.tsx
  • attik-mobile/hooks/useSchedule.ts
  • attik-mobile/app/(app)/inspection/[id].tsx

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🏠

Main App

Date

About 2 months ago

Author

Linear

Subscribe to post

Get notified by email when there are changes.