Skip to content

Add icon support to Goal model, GoalCard, and GoalManager - #263

Open
Pandhari-404 wants to merge 1 commit into
fencer-so:mainfrom
Pandhari-404:add-goal-icon
Open

Add icon support to Goal model, GoalCard, and GoalManager#263
Pandhari-404 wants to merge 1 commit into
fencer-so:mainfrom
Pandhari-404:add-goal-icon

Conversation

@Pandhari-404

Copy link
Copy Markdown

Changes Made

  • Added an optional icon field (string) to the Goal interface in types.ts
  • Displayed the icon on the GoalCard component
  • Implemented an emoji picker in GoalManager.tsx allowing users to add/change a goal's icon
  • Wired up the PUT request so icon changes persist to the backend and survive page refresh

Testing

  • Manually verified in the browser that icons display on goal cards and persist after refresh

@Pandhari-404 Pandhari-404 reopened this Sep 4, 2026
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.

2 participants