Skip to content

feat(#339): Categories CRUD UI, nav link, and blog post category assignment#340

Merged
mpaulosky merged 6 commits into
devfrom
squad/339-category-backend
May 15, 2026
Merged

feat(#339): Categories CRUD UI, nav link, and blog post category assignment#340
mpaulosky merged 6 commits into
devfrom
squad/339-category-backend

fix: upsert category in seed data to prevent DuplicateKey on repeated…

acb9ec2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 15, 2026 in 0s

80.04% (-1.62%) compared to be27b50

View this Pull Request on Codecov

80.04% (-1.62%) compared to be27b50

Details

Codecov Report

❌ Patch coverage is 73.61564% with 81 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.04%. Comparing base (be27b50) to head (acb9ec2).

Files with missing lines Patch % Lines
src/Web/Features/Categories/List/Index.razor 0.00% 44 Missing and 12 partials ⚠️
src/Web/Features/BlogPosts/Create/Create.razor 33.33% 4 Missing and 4 partials ⚠️
src/Web/Features/BlogPosts/Edit/Edit.razor 66.66% 3 Missing and 4 partials ⚠️
...Features/BlogPosts/Create/CreateBlogPostHandler.cs 0.00% 1 Missing and 1 partial ⚠️
...Web/Features/BlogPosts/Edit/EditBlogPostHandler.cs 0.00% 1 Missing and 1 partial ⚠️
...eatures/Categories/Create/CreateCategoryHandler.cs 87.50% 2 Missing ⚠️
...eatures/Categories/Delete/DeleteCategoryHandler.cs 90.00% 2 Missing ⚠️
...eb/Features/Categories/Edit/EditCategoryHandler.cs 90.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #340      +/-   ##
==========================================
- Coverage   81.66%   80.04%   -1.62%     
==========================================
  Files          51       68      +17     
  Lines        1369     1664     +295     
  Branches      166      195      +29     
==========================================
+ Hits         1118     1332     +214     
- Misses        184      243      +59     
- Partials       67       89      +22     
Files with missing lines Coverage Δ
src/AppHost/MongoDbResourceBuilderExtensions.cs 95.42% <100.00%> (+0.32%) ⬆️
src/Domain/Entities/BlogPost.cs 100.00% <100.00%> (ø)
src/Domain/Entities/Category.cs 100.00% <100.00%> (ø)
src/Web/Components/Layout/NavMenu.razor 75.00% <ø> (ø)
src/Web/Data/BlogDbContext.cs 100.00% <100.00%> (ø)
src/Web/Data/BlogPostDto.cs 100.00% <100.00%> (ø)
src/Web/Data/BlogPostMappings.cs 100.00% <100.00%> (ø)
src/Web/Data/CategoryDto.cs 100.00% <100.00%> (ø)
src/Web/Data/CategoryMappings.cs 100.00% <100.00%> (ø)
src/Web/Data/MongoDbBlogPostRepository.cs 100.00% <100.00%> (ø)
... and 20 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.