Skip to content

Add icon support to Goal interface and GoalManager#128

Open
srivilliamsai wants to merge 1 commit intofencer-so:mainfrom
srivilliamsai:feature/add-icon-field
Open

Add icon support to Goal interface and GoalManager#128
srivilliamsai wants to merge 1 commit intofencer-so:mainfrom
srivilliamsai:feature/add-icon-field

Conversation

@srivilliamsai
Copy link
Copy Markdown

Summary

Added icon/emoji support to the Goal interface and GoalManager component, allowing users to assign emoji icons to their savings goals.

Changes Made

  • types.ts: Added icon: string | null field to the Goal interface
  • GoalManager.tsx:
    • Added icon state management
    • Integrated emoji picker component
    • Connected icon selection to the updateGoal API endpoint
    • Display selected emoji icon on goal cards

Features

Users can now click to open an emoji picker and assign an icon to represent each savings goal visually.

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