Impactworkers / iw-complaint-manager

Impactworkers Complaint Manager
1 stars 0 forks source link

Create cases page with table #50

Open rnair-tw opened 4 months ago

rnair-tw commented 4 months ago

User Story

As a user I want to see an "all cases" table view that lists out all the complaints and relevant fields So that I can have a comprehensive view of all complaints in the system

Business Context:

Having a comprehensive view of all complaints allows users to track and manage issues efficiently. It improves transparency and helps in prioritizing and addressing complaints systematically.

In Scope

  1. Development of the "all cases" table view using the the Data Grid MIT Version https://mui.com/x/react-data-grid/ This view is part of the home page.
  2. Display relevant fields such as complaint title, description, date created, status, and reporter information
  3. For the scope of this card we are using dummy data using a seeder. The actual data can be generated by AI. Remember the data has to be organization specific.
  4. The default columns to be displayed on the table should be the same as in the mockups

Out of Scope

  1. Export button and functionality
  2. Create case button and functionality
  3. Storing user preferences when they change the table view (columns view)
  4. Columns menu on the header is also out of scope. The ability to select which columns to show its available on the table itself, as the component has it by default. In other words, keep the current component, which is the “three dot” functionality

Mockups

https://www.figma.com/design/Qpewv3nKANuv7qm4oJd2Xy/Hi-Fi_Mockups?node-id=242-85472&t=AO2iNxEDwHGuctlq-1

Acceptance Criteria

  1. Scenario: View All Complaints Given a logged-in user, When they navigate to the "all cases" table view, Then they should see a list of all complaints with relevant fields displayed And I can interact with the table view settings provided

  2. Scenario: Organization context Given a logged-in user from Hawaii, When I look at the table, Then I should see fields and dummy data relevant to Hawaii

Notes

Checklist

Kickoff

Deskcheck

rnair-tw commented 4 months ago

Put the functionality in a separate card: Pagination and sorting functionality Advanced filtering options (e.g. basic search and sort) Show/hide columns (need to ensure that case ID always shows)

mariliasoaresTW commented 4 months ago

@justin-c-anthony @rowsnr please list out the components that should be created in Storybook.

faraakhatTW commented 2 months ago

WIP-Design

Image

faraakhatTW commented 2 months ago

Final look of UI work. @rowsnr approved

Image