Skip to content

Comments

Enhanced search page#903

Merged
barrettruth merged 57 commits intodevfrom
enhanced-search
Feb 18, 2025
Merged

Enhanced search page#903
barrettruth merged 57 commits intodevfrom
enhanced-search

Conversation

@Jay-Lalwani
Copy link
Collaborator

What I did

  • Convert browse page to enhanced/advanced search (Add filtering by discipline)

@Jay-Lalwani Jay-Lalwani marked this pull request as ready for review October 24, 2024 15:40
@Jay-Lalwani Jay-Lalwani marked this pull request as draft October 24, 2024 18:44
@Jay-Lalwani
Copy link
Collaborator Author

Discuss whether or not to include the courses that the selected filtered instructors are teaching in the current semester or have taught in any semester.

@Jay-Lalwani
Copy link
Collaborator Author

Jay-Lalwani commented Oct 27, 2024

To setup db for enhanced-search:
Download and place the latest database backup from Google Drive into db/latest.sql in your local repo.

Reset DB:

sh scripts/reset-db.sh db/latest.sql

Load latest course info:

docker exec -it tcf_django python manage.py migrate
docker exec -it tcf_django python manage.py load_semester 2024_fall

@Jay-Lalwani
Copy link
Collaborator Author

Key Files:

Front-end search filtering page (as of right now): tcf_website/templates/browse/browse.html & tcf_website/views/browse.py
Goal to move filtering to dropdown in: tcf_website/templates/search/searchbar.html

Search functionality: tcf_website/views/search.py
Search results landing: tcf_website/templates/search/search.html

Jay-Lalwani and others added 29 commits January 20, 2025 13:29
1. Removed indicator for filters active and instead button displays
"Filters Active". Added Javascript to detect if filters are active.
2. Shortened subject and discipline lists
3. Added searchbar for disciplines list
4. Fixed search icon not showing up in subjects/discipline search bar
5. Improved color consistency
version. Retained most of the original logic
but added fix to allow for query and filters.

Fixed icon issue cause by loading in Font-Awesome
Icons incorrectly causing icons to break.
Enhanced search david -> enhanced search
Enhanced-search-brian merge to enhanced-search
@barrettruth barrettruth merged commit 35d6aa5 into dev Feb 18, 2025
9 checks passed
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.

5 participants