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

feat(search): add grading basis filter to module list #3666

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

chew01
Copy link
Contributor

@chew01 chew01 commented Mar 12, 2024

Context

Closes #3664

Implementation

Add gradingBasisDescription to ModuleInformation type in scraper (and frontend for consistency)
Information is expected to be sent to Elastic client for indexing.
Updated view to reflect changes.

Other Information

I'm not familiar with Elastic API and certainly unable to see the endpoint format available so will need core team to review.
Let me know if adding field ModuleInformation is insufficient and explicit indexing is required. Thanks 🙌

Copy link

vercel bot commented Mar 12, 2024

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

Name Status Preview Comments Updated (UTC)
nusmods-export ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 9:08am
nusmods-website 🛑 Canceled (Inspect) Mar 13, 2024 9:08am

Copy link

vercel bot commented Mar 12, 2024

@chew01 is attempting to deploy a commit to a Personal Account owned by @nusmodifications on Vercel.

@nusmodifications first needs to authorize it.

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.94%. Comparing base (7494d84) to head (e97eae7).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3666   +/-   ##
=======================================
  Coverage   53.94%   53.94%           
=======================================
  Files         272      272           
  Lines        5963     5963           
  Branches     1420     1420           
=======================================
  Hits         3217     3217           
  Misses       2746     2746           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chew01 chew01 marked this pull request as ready for review March 13, 2024 08:46
@ravern ravern changed the title feat: add grading basis filter to module list feat(website): add grading basis filter to module list Mar 13, 2024
@ravern ravern changed the title feat(website): add grading basis filter to module list feat(search): add grading basis filter to module list Mar 13, 2024
@ravern ravern merged commit 5945799 into nusmodifications:master Mar 13, 2024
4 of 5 checks passed
Copy link
Member

@ravern ravern left a comment

Choose a reason for hiding this comment

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

LGTM!!

Thanks — highly requested feature.

@vercel vercel bot temporarily deployed to Preview – nusmods-website March 13, 2024 09:08 Inactive
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.

Allow filtering courses by Grading Basis
2 participants