feat: Add Lawn Care Tips section and improve Dashboard layout #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/lawncaretips"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit introduces a new "Lawn Care Tips" section to the application and refines the visual layout of the main Dashboard.
Key Changes:
Lawn Care Tips Feature:
LawnCareTipmodel withTitle,Category, andContentproperties.TipCategoryenum for better organization (Mowing, Watering, Fertilizing, Weed Control, Aeration, General).LawnCareTipintoApplicationDbContextfor database persistence._Layout.cshtmlto include a new "Lawn Tips" navigation link.Dashboard Layout Fix:
Views/Home/Index.cshtmlto correctly use Bootstrap's grid system by placing the "Log a New Activity" card in its owndiv.row. This resolves the layout issue where the card was appearing immediately after the previous row without proper spacing.HomeControllerto include aLastAerationDatequery for the dashboard display.DashboardViewModelto includeLastAerationDate.Build/Dependency Updates:
Microsoft.EntityFrameworkCore.SqlServer(likely a residue from scaffolding, though SQLite is still primary).Microsoft.VisualStudio.Web.CodeGeneration.Designfor scaffolding tools.This enhances the application's functionality by providing a knowledge base and improves the user experience with a cleaner dashboard layout.
mentioned in commit
ed25245a1c