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

Improves mobility time formatting #276

Closed Robert27 closed 1 year ago

Robert27 commented 1 year ago

🤖 Generated by Copilot at 21ada16

Summary

📝🌟♻️

This pull request refactors the mobility-utils.js file and adds a new parameter to the renderMobilityEntry function to enable different levels of detail for the mobility entries. It also updates the MobilityCard and mobility.js components to use the new parameter and show concise or detailed information accordingly. It deletes the package.json file as it is not needed.

Walkthrough

Screenshots

Screenshot 2023-06-06 at 14 21 39 Screenshot 2023-06-06 at 14 22 18