GroceriStar / GroceriStar/calendar
One Modal window to rule em all
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Right now each event has it's own generated and hidden modal that appears at our homepage.
And when you click on link(related to event A) you see an opened ModalA.
I want to have one modal only. And when you click on link,
+ you read an id of that element
+ you pass that id where it need to be passed
+ you get a data that you need
+ display that data in blank modal
So modal will have a 2 states: opened(with data from some of recipes), closed(without data, because no id was passed to constructor)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the homepage event links and trace how each event currently generates and hides its modal. Replace that arrangement with one blank modal that receives the clicked element's id, loads the corresponding recipe data, and supports the described opened and closed states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100