Skip to content

Conversation

@ronaldwen07
Copy link

Summary

  • Move catalogueBuilder to run at preStart/prebuild instead of being static checked-in files
  • This follows the same pattern as PR feat: pregenerate terms #1221 for term data pregeneration
  • Building location data is now fetched from the UCI Map API at build time and written to src/generated/

Test plan

  • Run pnpm run fetch-location-data to verify the script works
  • Run pnpm run build to verify the build completes successfully
  • Verify map functionality still works with the generated location data

Closes #1140

ronald wen added 2 commits January 18, 2026 01:16
When courses are restored from saved state on page load, missing section
warnings now appear for courses that require additional sections (e.g., lab,
discussion) that weren't saved.

Changes:
- Add checkForMissingSections() method to AppStore that detects and displays
  warnings for courses missing required sections
- Call checkForMissingSections() after successful schedule load
- Extract sectionTypeToName() utility function to eliminate code duplication
- Refactor getMissingSections.ts to use shared utility function

Fixes icssc#1399
Move catalogueBuilder to run at preStart/prebuild instead of being
static checked-in files. This follows the same pattern as PR icssc#1221
for term data pregeneration.

Closes icssc#1140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

catalogueBuilder should be run preStart

1 participant