Skip to content

Conversation

@interfinityOfficial
Copy link
Collaborator

@interfinityOfficial interfinityOfficial commented Oct 13, 2025

📌 What’s Changed

✅ Actions

  • Send and store the data in the backend instead of just local storage

📝 Notes for Reviewer

  • N/A

Copy link
Collaborator

@chenxin-yan chenxin-yan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

The scraping for course user already taken looks good. Could you make sure the shape for the courses taken look like this:

const userCourses = {
  userId: v.string(),
  courseCode: v.string(), // CSCI-UA 101
  title: v.string(),
  year: v.number(), // 2025
  term: v.union(
    v.literal("spring"),
    v.literal("summer"),
    v.literal("fall"),
    v.literal("j-term"),
  ),
  grade: v.optional(
    v.union(
      v.literal("a"),
      v.literal("a-"),
      v.literal("b+"),
      v.literal("b"),
      v.literal("b-"),
      v.literal("c+"),
      v.literal("c"),
      v.literal("c-"),
      v.literal("d+"),
      v.literal("d"),
      v.literal("p"),
      v.literal("f"),
      v.literal("w"),
    ),
  ),
};

you can ignore the userId for now I can help you set it up.

for the enrolled courses for this semester and courses in the shopping cart, you should get the following data for each record: courseCode, term, year', and section`

@chenxin-yan chenxin-yan force-pushed the main branch 4 times, most recently from 7072356 to 503ca3f Compare October 19, 2025 02:11
Copy link
Collaborator

@chenxin-yan chenxin-yan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed last time, connect what you have so far with the backend. Let me know if you have any questions or when you are ready for review

@chenxin-yan chenxin-yan force-pushed the main branch 3 times, most recently from 4740be5 to 25e00d9 Compare November 1, 2025 19:14
@chenxin-yan chenxin-yan changed the title feat(chrome): Added content script scraping to obtain course data from Albert page feat(chrome): added content script scraping to obtain course data from Albert page Nov 2, 2025
Copy link
Collaborator

@chenxin-yan chenxin-yan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not working as expected on my end. Make sure we have convex database as the source of truth and user can confirm and save to the db.

@chenxin-yan chenxin-yan force-pushed the main branch 3 times, most recently from 7103a52 to 70e93ad Compare November 9, 2025 03:31
@chenxin-yan chenxin-yan force-pushed the main branch 4 times, most recently from e2d6c6a to f1d9b93 Compare November 17, 2025 23:10
@chenxin-yan chenxin-yan force-pushed the main branch 2 times, most recently from 166dea0 to 60ed6ec Compare December 10, 2025 05:18
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.

parse degree progress report and save data to the database parse courses in the shopping cart and save them to the database

3 participants