Merged
Conversation
Introduce an Inventory Config tab in Settings and add a new SettingsInventoryConfigurations component to manage units of measurement. The new component provides a form for creating/updating units (with validation), a table listing existing units, and delete confirmation modal. Access is restricted to Admin/Manager roles via IUserContextService; it uses IUnitService for CRUD operations and handles loading, save/delete states and basic error feedback. Settings.razor was updated to include the nav item and route case to render the new component.
Increase Settings panel max-width from 700px to 960px for a wider layout. Remove Bootstrap icon elements from the Inventory tab button and Inventory Configurations header. Harden SettingsInventoryConfigurations.razor to avoid a potential null-reference by only checking _ctx.IsAuthenticated before redirect, then verifying _ctx.User is not null before reading Role and loading units.
Integrate Blazor.Bootstrap and client-side libraries: App.razor now includes Bootstrap CSS/JS, bootstrap-icons, Blazor.Bootstrap CSS/JS, Chart.js (+ datalabels) and Sortable.js. CulinaryCommand.csproj adds the Blazor.Bootstrap package and _Imports.razor registers BlazorBootstrap. Program.cs registers AddBlazorBootstrap and changes the Google Client singleton to require a Google:ApiKey from configuration (throws if missing). Added a local alias for Unit in two Razor pages to resolve type usage. RecipeService validation for a required Category was removed to allow creating recipes without that check.
Using Plotly Chart tool, create new cards/charts to display base information. Card 1: Display Low Stock Card 2: Count of Tasks Completed or Pending Card 3: Count of Tasks completed by employee name Card 4: Dynamic Activity card tracking live updates
matayasdurr
approved these changes
Apr 3, 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.
Created new dashboard layout with dynamic charts
Card 1: Display low stock inventory items
Card 2: Task Card, displaying pending and completed tasks
Card 3: Task count, count the number of tasks completed by a certain employee
Card 4: Live/Dynamic updating card displaying what task was complete with timeframe of when card was completed