earmuff-jam / pulse

Mashed - A community care application for local communities.
1 stars 0 forks source link

Maintenance Items should display red bar when overdue items are found #281

Open mohit2530 opened 13 hours ago

mohit2530 commented 13 hours ago

Acceptance Criteria

  1. When assets inside a maintenance plan fail to be reset, a red bar should be displayed under the maintenance plan indicating the user that the selected items in this maintenance plan are due for inspection.
  2. We should have the colors green, yellow and red and assets should honor this color. If an item is in good status, it should display green. if the item is within a fixed day limit ( should be configured from the backend ), the item should show up as yellow. Eg, If the user has configured the term_limit to be 3 days, then when the item is 3 days away from maintenance due date, it should show up as yellow. Once that term_limit has passed, audience members can configure grace_period where it will show up as light red. After that time is over, it should display as red.
  3. The concept of grace period and colors are new. We should accommodate this feature to make our plans more robust.
mohit2530 commented 13 hours ago

The concept of color coding should also apply to the asset, and maintenance plans that houses the asset due for maintenance.