-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description:
As a user of the Inventory Management Application, I want to be able to view and manage product categories in a table format. This will allow me to organize my products and better understand my inventory.
Acceptance Criteria:
- A "Categories" table is added to the application UI.
- The table displays the following columns: Category ID, Category Name, Number of Products.
- There will be an Actions column with buttons to: View, Edit, Delete.
- The table is sortable by: Category Name, Number of Products.
- The table supports pagination to display a limited number of rows per page.
- The user can add a new category to the table by clicking a button that redirects them to the Add Category page. Add Category #29
- The user can edit the category information by clicking on the Edit button in the Actions column, which redirects them to the Edit Category page. Edit Category #30
- The user can delete a category by clicking on a "Delete" button in the Actions column, a dialog will pop up to confirm this.
- If the user tries to delete a category that still has products assigned to it, a warning message will be displayed and the deletion will be prevented until all products have been reassigned to another category.
- When a category is added, edited, or deleted, the table is updated automatically without requiring a page refresh.
- The table data is persisted to a database backend.
Reactions are currently unavailable