Skip to content

Add icon support to Goal model#270

Open
thakurtanisha833-cyber wants to merge 1 commit into
fencer-so:mainfrom
thakurtanisha833-cyber:add-goal-icon-feature
Open

Add icon support to Goal model#270
thakurtanisha833-cyber wants to merge 1 commit into
fencer-so:mainfrom
thakurtanisha833-cyber:add-goal-icon-feature

Conversation

@thakurtanisha833-cyber

Copy link
Copy Markdown

This PR adds support for goal icons.

Changes:

  • Added an optional Icon field (string) to the Goal model in the backend, allowing users to save an emoji icon for each goal
  • Added a unit test (GetForUser) to cover the GetGoalsForUser route in GoalController, verifying that goals are correctly filtered by user ID

Tested locally with Postman to confirm the API returns the icon field correctly, and all 11 unit tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant