flightplan-tool / flightplan

Search for award inventory using Node.js and Headless Chrome!
Apache License 2.0
142 stars 41 forks source link

Calendar `inactive` type should depend on query parameters #17

Closed jd20 closed 5 years ago

jd20 commented 5 years ago

Currently, I believe calendarStore flips a cell's type to active if any awards are found for that date (including the special empty placeholder). Ideally this would be conditional on the query params (engine / quantity / partner flag). Probably need to use the requests table to calculate the state properly, and maybe get rid of the empty award placeholder altogether.