Overview
The create note page currently uses a free text input to allow a user to choose a section with regex validation. Meaning I can input "WHAT 1200.420 Fall 9999". We need this to be a search bar that only allows choosing a actual section.
Proposal
Add a new section search bar similar to the existing search bar except that instead of searching for course and professors it searches for full sections in an academic session. Take a look at src\data\aggregated_data.json and the other files in src\data. You may need to write a new script in src\scripts to generate a helpful file format.
This should also allow us to get the professor for a section as right now the professor name is just a dummy value: "This should be pulled from the DB"
Overview
The create note page currently uses a free text input to allow a user to choose a section with regex validation. Meaning I can input "WHAT 1200.420 Fall 9999". We need this to be a search bar that only allows choosing a actual section.
Proposal
Add a new section search bar similar to the existing search bar except that instead of searching for course and professors it searches for full sections in an academic session. Take a look at
src\data\aggregated_data.jsonand the other files insrc\data. You may need to write a new script insrc\scriptsto generate a helpful file format.This should also allow us to get the professor for a section as right now the professor name is just a dummy value: "This should be pulled from the DB"