c2f2c9e089075c54fde45ea0cc8fa102a7974587
The Online-Board + Schedule filter calendars ignored the 31-day operating-days bitmask the API ships, so users could pick dates that have no flights and land on empty result pages. Angular wires [disabledDates] from the same endpoint; we do the same here. - useCalendarDays / useScheduleCalendar now accept null params so the callers can skip the fetch until they have enough input to resolve a calendar segment (full flight number, route with both cities). - OnlineBoardFilter + ScheduleFilter compute disabledDates by differencing the min/max window against the API's available-days array, then feed that into PrimeReact's Calendar. - Test mocks added to sidestep the api provider requirement in the filter/start-page/integration trees that render these components.
Description
No description provided
Languages
TypeScript
62.7%
HTML
23.6%
SCSS
11%
JavaScript
1.1%
C#
0.9%
Other
0.6%