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 composesDaySelector,ScheduleHeader, andScheduleCardwhile pulling data fromuseSchedule(attik-mobile/hooks/useSchedule). - Each
ScheduleCardalready deep-links toattik-mobile/app/(app)/inspection/[id].tsxwhen 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.tsxattik-mobile/components/schedule/ScheduleCard.tsxattik-mobile/hooks/useSchedule.tsattik-mobile/app/(app)/inspection/[id].tsx