GroceriStar / GroceriStar/calendar

One Modal window to rule em all

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.