Closed Robert27 closed 1 year ago
Additional bug: Wrong filler days (even though tested and fixed in #224)
This bug was fixed in PR #224. It was just not deployed on the server this morning. :)
I just deployed the dev app. #224 is live now. This is also the reason why i created issue #226
I simulated that there are only three days available at Mensa, like it is the case before vacations. The day selector in food.js now shows Sunday as the first day. In the second example I removed just the data for Thursday.
I think we should always display one week (Mo-Fr) and add error messages for missing days, like "no menu available". So continue to disable the past days entirely, but make missing days clickable with an appropriate error message.
However we could also, as suggested here, still display the past days. But this would require an update of our API and all other applications (Mensa Widget etc.).