diff --git a/tasks/5_git/commit.md b/tasks/5_git/commit.md index e00c2a6..6643db1 100644 --- a/tasks/5_git/commit.md +++ b/tasks/5_git/commit.md @@ -1,4 +1,15 @@ -# Commit Your Changes -```shell -git commit -am "Support icons" -``` \ No newline at end of file +## Description +This pull request adds end-to-end support for custom goal icons across the application stack. + +### Key Changes +- **Backend (.NET / C#):** + - Updated the `Goal` model to include an optional `Icon` property mapped to MongoDB. + - Added unit test coverage in `GoalControllerTests.cs` using xUnit and Moq for CRUD operations involving icons. +- **Frontend (React / TypeScript / Redux):** + - Updated the `Goal` interface to support the `icon` field. + - Integrated `emoji-mart` picker in `GoalManager.tsx` to allow selecting and updating icons. + - Implemented PUT request handling to persist icon modifications directly to the database. + +### Testing +- Executed `dotnet test` ensuring all controller test cases pass (HTTP 200, 201, 204, 404). +- Verified manually in the browser that selected emojis persist after full page refresh.