You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will implement routes and queries to support basic incident search, following the flow described in figma. The focus of this work is to support the initial implementation of the frontend search flow and to set up patterns for other search flows on the backend, not to build a comprehensive API.
API Routes
We will add a new incident route:
GET /api/v1/incidents/search: body {location: string, start_time: string, end_time: string, description: string} returns a list of incidents matching the search criteria. Large result sets are paginated. Incidents contain data according to the backend incident data model.
Backend
If needed, update the backend incident model to support the frontend search flow.
Define routes
Add development seeds with fake incidents
Implement routes using SQLAlchemy queries
Test routes
Load spreadsheet into backend
Frontend
Add routes to api.ts
Implement mock handlers for routes using fake incidents
Update api.test.ts and run e2e and mock integration tests
Add "engineer" UI that exercises search interactions. Just text fields -> api call -> text results
Add functional test for engineer UI, which will be adapted for the real UI once implemented
The text was updated successfully, but these errors were encountered:
alexjball
added
the
epic
Large issues and features that involve multiple PR's or sub-issues
label
Oct 14, 2021
We will implement routes and queries to support basic incident search, following the flow described in figma. The focus of this work is to support the initial implementation of the frontend search flow and to set up patterns for other search flows on the backend, not to build a comprehensive API.
API Routes
We will add a new incident route:
GET /api/v1/incidents/search
: body{location: string, start_time: string, end_time: string, description: string}
returns a list of incidents matching the search criteria. Large result sets are paginated. Incidents contain data according to the backend incident data model.Backend
Frontend
api.ts
api.test.ts
and run e2e and mock integration testsThe text was updated successfully, but these errors were encountered: