neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 33 forks source link

✨ merge meal variants; remove duplicate meals #362

Closed BuildmodeOne closed 10 months ago

BuildmodeOne commented 11 months ago

[!IMPORTANT]
Add the following to your .env.local:

NEXT_PUBLIC_NEULAND_API_HOST=http://localhost:3000

image

New Meal Page

localhost_3000_food_(iPhone 14 Pro Max) (1) localhost_3000_food_(iPhone 14 Pro Max)

🤖 Generated by Copilot at 01247d9

Summary

🔄🍽️🛠️

This pull request refactors the code and data related to meal options in the rogue-thi-app. It replaces the term variations with variants for consistency and readability. It also improves the logic and translation of meal names and variants from different sources. It affects several files in the data, lib, pages, public, and styles directories.

We are the variants, we rise from the data We break the variations, we defy the schema We merge and unify, we create the plan We are the variants, we feed the hungry man

Walkthrough

Robert27 commented 11 months ago
image

In same cases the category is called "Suppen" instead of "Suppe". Can we standardize that?

Robert27 commented 11 months ago
image

Two decimal places should be enough.

BuildmodeOne commented 11 months ago
image

Two decimal places should be enough.

JavaScript 🫶🫶