Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move-up Model Enhancemnt #499

Open
chopchop505 opened this issue Jun 18, 2020 · 0 comments
Open

Move-up Model Enhancemnt #499

chopchop505 opened this issue Jun 18, 2020 · 0 comments
Assignees

Comments

@chopchop505
Copy link
Collaborator

Overview

When a user goes to the move-up model, they need to populate the availability of units. We should be able to automatically populate this information based on a "best guess".

The best guess is simple, given a current time, 2020-06-17T17:06:47-10:00
. Issue an ES query to find all responses (use the apparatus index) that have apparatus_data.unit_status.dispatched < 2020-06-17T17:06:47-10:00 and (apparatus_data.unit_status.cleared > 2020-06-17T17:06:47-10:00 || apparatus_data.unit_status.avaiable >). This query would return all units that were on a call at a given time. All these units should default to unavailable, and the rest should be available.

Acceptance Criteria

  • Add controls to the UI to auto-populate based on a given date.

Mockups / Screenshots

@chopchop505 chopchop505 changed the title Move-up Model Move-up Model Enhancemnt Jun 18, 2020
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

No branches or pull requests

2 participants