Skip to content

Add icon picker and API integration#208

Open
Tumah17 wants to merge 1 commit into
fencer-so:mainfrom
Tumah17:icons
Open

Add icon picker and API integration#208
Tumah17 wants to merge 1 commit into
fencer-so:mainfrom
Tumah17:icons

Conversation

@Tumah17

@Tumah17 Tumah17 commented Jul 4, 2026

Copy link
Copy Markdown

Summary

This PR adds icon support to the frontend:

  • Added emoji picker to GoalManager for selecting icons
  • Integrated with backend API to save icon changes
  • Icons now persist after page refresh

Changes Made

  • src/ui/features/goalmanager/GoalManager.tsx: Added emoji picker and icon display
  • src/api/lib.ts: Added PUT request for updating icons
  • src/api/types.ts: Added icon field to Goal interface

Testing

  • Icons display correctly on goal cards
  • Emoji picker opens and closes properly
  • Icons save to backend and persist after refresh
  • All TypeScript errors resolved

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