kir-dev / kir-dev/programSCH

CreateEvent - color field

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
frontend
Dominant language
TypeScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Right now, the form submit a hardcoded 'Colors.RED' as the event's color. There's a colorpicker element which we could use, but I think it should be discussed whether we want the users to have that much freedom in choosing an event's color.
If we remain on the original enum approach, we need to validate the users' input on the frontend.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the CreateEvent form and the code that currently submits Colors.RED. Review how the colorpicker is wired, then clarify whether users may choose arbitrary colors or only enum values. Done means the chosen policy is implemented and frontend input validation is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.