Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto include new courses in autocomplete graph #302

Open
wants to merge 23 commits into
base: develop
Choose a base branch
from

Conversation

TyHil
Copy link
Member

@TyHil TyHil commented Nov 4, 2024

Overview

Resolves #270

An easier way to update search with new courses from the API.

What Changed

Add a new script to fetch the data the autocomplete graph and combo table are based off of.

Following Changes

We could change the build script on Vercel to be npm run fetchdata && npm run buildautocomplete && npm run buildcombos && npm run build which would keep production up to date, but not the repo.
We could also create a GitHub action to run npm run fetchdata && npm run buildautocomplete && npm run buildcombos every month and create a PR into develop or main.
Not sure which is best...

@TyHil TyHil linked an issue Nov 4, 2024 that may be closed by this pull request
1 task
Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
utd-trends ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 3:24am

@TyHil
Copy link
Member Author

TyHil commented Nov 8, 2024

Verdict: both change the build script on Vercel to be npm run fetchdata && npm run buildautocomplete && npm run buildcombos && npm run build and add an action to run the same and make a PR on develop once a month

@TyHil TyHil marked this pull request as draft November 8, 2024 04:35
@TyHil
Copy link
Member Author

TyHil commented Nov 11, 2024

I added an action that can be run manually to create a PR that updates develop's autocomplete graph and comobs table from the API

@TyHil TyHil marked this pull request as ready for review November 11, 2024 21:32
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.

[Bug]: Auto update new courses in autocomplete graph
1 participant