feat: add "/inventory-catalog" endpoint#91
Merged
WChunter21 merged 6 commits intomainfrom Feb 18, 2026
Merged
Conversation
### CC-101 - Adding an "Item/Inventory" catalog so a restaurant owner can see the possible items that can be inside of a store. This does not keep track of the actual stock value of each item or ingredient
Collaborator
|
What's the Validation error about? |
There was a problem hiding this comment.
Pull request overview
This PR adds a new inventory catalog feature to help restaurant owners manage their ingredient catalog. The feature introduces a new Blazor component at /inventory-catalog that provides a UI for viewing, searching, filtering, sorting, and managing catalog items. The catalog tracks item metadata (name, SKU, category, unit, price, supplier, notes) but does not track actual stock quantities—that functionality is separate.
Changes:
- Added
InventoryCatalogDTOwith unit tests for managing catalog item data - Created a full-featured Blazor UI component with search, filtering, sorting, pagination, and CRUD operations
- Added navigation menu item for the new inventory catalog page
- Removed hardcoded credentials from
appsettings.json(security improvement) - Removed Playwright test project from solution and CI workflow
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 19 comments.
Show a summary per file
| File | Description |
|---|---|
| CulinaryCommandApp/Inventory/DTOs/InventoryCatalogDTO.cs | New DTO defining the structure for inventory catalog items with properties for ID, name, SKU, category, unit, price, supplier, and notes |
| CulinaryCommandUnitTests/Inventory/DTOs/InventoryCatalogDTOTests.cs | Comprehensive unit tests for the InventoryCatalogDTO covering default values, property setters, null handling, and decimal precision |
| CulinaryCommandApp/Inventory/Pages/Inventory/InventoryCatalog.razor | Interactive Blazor component implementing the catalog UI with search, filtering, sorting, pagination, and modal-based CRUD operations |
| CulinaryCommandApp/Inventory/Pages/Inventory/InventoryCatalog.razor.css | Comprehensive styling for the catalog page with responsive design, custom color scheme, and modal styling |
| CulinaryCommandApp/Components/Layout/NavMenu.razor | Added navigation link to the new Inventory Catalog page |
| CulinaryCommandApp/appsettings.json | Removed hardcoded environment variables including a Cognito client secret (positive security change) |
| CulinaryCommandApp/CulinaryCommand.sln | Removed Playwright test project reference from the solution |
| .github/workflows/validate.yml | Commented out Playwright setup and installation steps in the CI workflow |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
WChunter21
approved these changes
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CC-101
For details, refer to Copilot review