Skip to content

Conversation

@bryantran24
Copy link
Contributor

Issue
closes none

Database Changes/Migrations
I did not make any database changes or migrations.

Test Modifications
No modifications.

Test Procedure
Look at the branch with this commit.
Run the application locally on http://localhost:8080/.
Go to the admins page For example: http://localhost:8080/admin/upload_prof or http://localhost:8080/admin/ then click on Import Professors via Json. Next go into the YACS rpi_data folder in the repository and put in Professors.json
To view these changes go into http://localhost:8080/professors to see the new changes.

Photos

Photos
Before:
image
image

After:
image
image

Added it to admin.ts and a new file upload_prof.vue which should mimic upload_courses.vue but for json instead and accepts single files
Gets a list of professors from API and caches results using useMemorize. Also made it so uploading professor data from the admin panel only accepts one file at a time.
Fixed professor.ts so it looks better

Made professor model but didn't figure out how to use router view
Made it so all modals have correct padding horizontally and vertically.

Styled professor page for mobile and so it looks better
Made professor page have a dropdown that shows all the departments taken from all the professors. Also has department searching.
Made the department multi-selector functional by making it so when you choose a department, it shows professors in that department.

Also made tailwind css look better with hover over effects.
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.

1 participant