Fruity-Loops/ALTA

B-20: Inventory item's table does not respond well to randomly generated data

Closed this issue · 0 comments

Details

Summary
The current implementation of the Inventory Items table focuses on the fields provided in the dummy items csv file. The frontend table is dynamic meaning it relies on the content passed from the backend. When considering randomly generated data similar to other organization's data format, the table no longer follows the expected design.

The following screenshot displays the distorted table:
please stand by - screenshot is coming soon

Comments

  • There are some limitations with the backend functionality
    • We essentially need a way to create the model directly from what is in the CSV and we can't really do that with Django (so the model field were hardcoded manually)
    • there is a way in Django to create the model dynamically from the existing DB field but it's not to be used to generate model but rather to give us a suggestion on what field should be added

Reproduction Steps:

  1. An inventory manager logs into the system
  2. The user navigates to the Inventory Items page

Expected Results:
The table containing the inventory items matches the designs presented in the mockups

Actual Results:
The table containing the inventory items is distorted and difficult to interpret

Tracking

Severity: Medium
Priority: Medium
Status: Fixed