Skip to content

Add emoji picker and goal icon feature#164

Open
yeevern wants to merge 3 commits into
fencer-so:mainfrom
yeevern:main
Open

Add emoji picker and goal icon feature#164
yeevern wants to merge 3 commits into
fencer-so:mainfrom
yeevern:main

Conversation

@yeevern

@yeevern yeevern commented Jun 8, 2026

Copy link
Copy Markdown

Changes Made

Backend (C#/.NET)

  • Added optional Icon field to the Goal model
  • Tested the API using Postman to verify icon persists after update

Frontend (React/TypeScript)

  • Installed emoji-mart v3.0.1
  • Created reusable EmojiPicker component that uses theme from Redux
  • Created GoalIcon component to display the selected emoji
  • Updated GoalManager to:
    • Show "Add icon" button when no icon exists
    • Show the emoji when an icon exists
    • Open/close the emoji picker on click
    • Save the selected emoji to Redux store and database

Tests

  • Added GetForUser unit test to GoalControllerTests

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