PublicDataWorks / complaint-manager

Apache License 2.0
4 stars 0 forks source link

Enable filtering/sorting by priority incident #640

Open christina-luong opened 1 week ago

christina-luong commented 1 week ago

User Story

As a Hawaii user I want to be able to sort or view only priority incidents So that I can focus on these cases easier

Business Context:

Currently, there is no feature to highlight, sort, or display only priority incidents. This makes them difficult to track and handle in a timely manner. This story will provide the functionality to visually identify and/or emphasize these cases.

In Scope

1. 2. 3.

Out of Scope

Open Questions

  1. What would be the best system (Ex. filtering, separate view, color coding)? What are the pros and cons of each implementation?

Mockups

Acceptance Criteria

  1. Scenario: Given When Then

  2. Scenario: Given When Then

Notes

Checklist

Kickoff

Deskcheck

rowsnr commented 4 days ago

Color Coding

Pros: Immediate visual cue, easy to spot priority incidents. Implementation: distinct colors (e.g., red for high priority) for rows or case titles.

Filtering

Pros: Allows users to focus only on priority incidents, can be combined with other filters. Cons: Requires user to toggle filter. Implementation: Add a filter option in the case list to show only priority incidents.

Separate View

Pros: Provides a dedicated space for priority incidents, reducing clutter. Cons: Requires navigating to a different view, which might interrupt the flow. Implementation: Create a separate tab or panel labeled "Priority Incidents."

Sorting

Pros: Ensures priority incidents are always at the top of the list. Cons: Can mix different types of cases, potentially causing confusion. Implementation: Add a sorting option to order cases by priority.

Icons or Badges

Pros: Small visual elements like icons or badges can indicate priority without taking much space. Cons: Might be overlooked if not designed prominently. Implementation: Use icons (e.g., exclamation marks) or badges with labels (e.g., "High Priority") next to case titles.

Combined Approach

Pros: Combines benefits of multiple approaches, enhancing flexibility and usability. Cons: More complex to implement, requires balancing different visual elements. Implementation: Color Coding: Highlight priority incidents in red or another noticeable color. Filtering: Provide a filter option to show only priority incidents. Sorting: Allow users to sort the list so that priority incidents appear at the top. Icons/Badges: Use icons or badges to further emphasize priority cases.

rowsnr commented 4 days ago

I'm in favor of a combined approach. RIP to the devs on this.