Skip to content

feat: Add emoji picker to goal manager and display icon on goal card - #259

Open
SaurabhForge wants to merge 1 commit into
fencer-so:mainfrom
SaurabhForge:feat/add-goal-icon
Open

feat: Add emoji picker to goal manager and display icon on goal card#259
SaurabhForge wants to merge 1 commit into
fencer-so:mainfrom
SaurabhForge:feat/add-goal-icon

Conversation

@SaurabhForge

Copy link
Copy Markdown

Summary

This pull request implements the emoji picker and displays goal icons in the UI.

Changes

  • types.ts: Added optional icon?: string to Goal interface.
  • GoalCard.tsx: Added Icon styled component to render emoji on goal cards when present.
  • GoalManager.tsx: Connected EmojiPicker, AddIconButton, and GoalIcon components. Added state handling and API updating via PUT request when emoji is selected.

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