Closed BuildmodeOne closed 1 year ago
Are the prices really identical for students / employees / guests?
Are the prices really identical for students / employees / guests?
I spoke to Mr. Reimann personally about the prices and the menus etc. are not discounted.
I made some changes to the food page to clean it up a bit. Please let me know what you think :)
I really like the new design of the category headings. However, I am not sure about the green / red label.
Why do we show the abbreviations on the home page at all? Unless the user has selected allergies or flags, this info is relatively irrelevant. Besides, no user knows to know what, for example, the code "3" even means.
My suggestion would be uniformly to hide all abbreviations and show them only if there are matches with the filter criteria. Maybe we could make an exception for vegan or vegetarian.
@Robert27
I tried to integrate the suggested changes:
Closes #293
π€ Generated by Copilot at 50bdaed
Summary
π½οΈπ π
This pull request enhances the app's functionality and user interface for showing the meals of Reimanns restaurant. It adds static fallback meals, a weekly view, and more details about the variations of each meal. It modifies the
getReimannsMeals
function, thefood.js
file, theMensa.module.css
file, and thedate-utils.js
file. It also adds a new JSON file with the static meals.Walkthrough
getDays
function to get dates between start and end date (link)getDays
function to initialize object with all days of current and next week for Reimanns meals (link)getReimannsMeals
function inreimanns.js
to scrape and return meals for Reimanns with fallback options (link)renderFoodVariations
function infood.js
to render variations of a meal in a list (link, link)renderFoodVariations
function to show variations of meals inrenderMealEntry
andrenderMealDetails
functions (link, link)renderMealEntry
function (link)renderMealDay
function (link)renderMealDay
function (link, link, link, link, link)WeekTab
function (link)Mensa.module.css
to improve appearance and alignment of elements (link, link)