Skip to content

website: Implement random course picker button (#3735) #4039

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Glenn-Chiang
Copy link

Context

#3735 random course picker button

Implementation

I added a "Random Course" button to the /courses page. When the button is clicked, the user will be redirected to the page of a random course.

image

Other Information

Hi, this is my first time contributing to an open source project. I hope that my changes are acceptable and look forward to making more substantial contributions as I learn more about the codebase.

Copy link

vercel bot commented Mar 20, 2025

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 20, 2025 2:34pm

Copy link

vercel bot commented Mar 20, 2025

@Glenn-Chiang is attempting to deploy a commit to the modsbot's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codecov bot commented Mar 20, 2025

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 54.90%. Comparing base (988c6fd) to head (4a6b415).
Report is 93 commits behind head on master.

Files with missing lines Patch % Lines
website/src/views/modules/ModuleRandomButton.tsx 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4039      +/-   ##
==========================================
+ Coverage   54.52%   54.90%   +0.37%     
==========================================
  Files         274      277       +3     
  Lines        6076     6340     +264     
  Branches     1455     1552      +97     
==========================================
+ Hits         3313     3481     +168     
- Misses       2763     2859      +96     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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