VikeLabs / courseup

An open-source website built to simplify the experience of searching courses and building timetables for the University of Victoria.
https://courseup.vikelabs.ca/
41 stars 29 forks source link

Bug: Error for abbreviations for new buildings #477

Open aomi opened 1 year ago

aomi commented 1 year ago

Describe the Bug/Issue The sidebar in the calendar view can't show abbreviations for new buildings.

To Reproduce

  1. Add CSC 225 for Fall 2023.
  2. Notice the abbreviation issue on the sidebar.

Expected Behaviour

The proper abbreviation is shown and not undefined or fallback to non-abbreviated.

Screenshots

image

Desktop/Mobile

szeckirjr commented 1 year ago

future ref: https://github.com/VikeLabs/courseup/blob/e9bbd61cfb79e2c44e31bd0ffa5216bbe85d3bea/functions/src/constants.ts#L35