Skip to content

feat: add institution route and membership grant component #2956

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: main
Choose a base branch
from

Conversation

rohitpaulk
Copy link
Member

No description provided.

testimonialsData['kang-ming-tay']!,
testimonialsData['jonathan-lorimer']!,
testimonialsData['patrick-burris']!,
];
Copy link

Choose a reason for hiding this comment

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

Bug: Duplicate Testimonial in Multiple Groups

The testimonial for 'beyang-liu' is duplicated in both testimonialGroup2 and testimonialGroup3 within the testimonialGroups getter. This is likely a copy-paste error, causing the same testimonial to be displayed twice on the page.

Locations (1)
Fix in Cursor Fix in Web

</div>

<div class="flex justify-center items-center mb-20">
<InstitutionPage::CreateMembershipGrantApplicationContainer class="max-w-xs" />
Copy link

Choose a reason for hiding this comment

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

Bug: Missing Arguments Cause Undefined Values

The InstitutionPage::CreateMembershipGrantApplicationContainer component is invoked without the required @affiliateLink and @course arguments. Its template expects these arguments, which results in undefined values being passed to the nested AffiliateLinkPage::AcceptReferralButton component.

Locations (1)
Fix in Cursor Fix in Web

<div class="bg-white bg-github-green-dot-wall">
<div class="container mx-auto lg:max-w-(--breakpoint-xl) pt-8 sm:pt-16 pb-48 px-3 md:px-6">
<div class="space-y-6 text-center max-w-[580px] mx-auto mb-8">
<h1 class="text-3xl text-gray-900 font-bold mb-6 md:text-4xl text-balance">
Copy link

Choose a reason for hiding this comment

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

Bug: Template Title and Logo Not Dynamic

The institution.hbs template, intended for generic institution pages, hardcodes the page title to "NUS offer" and the NUS logo URL. Both should be dynamic, based on the institution_slug parameter.

Locations (1)
Fix in Cursor Fix in Web

Copy link

Test Results

  1 files  ±0    1 suites  ±0   8m 30s ⏱️ +4s
640 tests ±0  592 ✅ +1  48 💤 ±0  0 ❌ ±0 
640 runs  ±0  592 ✅ +2  48 💤 ±0  0 ❌  - 1 

Results for commit 1d3ff1d. ± Comparison against base commit e8e990a.

Copy link

codecov bot commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
app/controllers/institution.ts 0.00% 7 Missing ⚠️
...e/create-membership-grant-application-container.ts 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link

codecov bot commented Jul 30, 2025

Bundle Report

Changes will increase total bundle size by 7.53kB (0.02%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
client-array-push 38.61MB 7.53kB (0.02%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/chunk.*.js 7.53kB 3.09MB 0.24%

Files in assets/chunk.*.js:

  • ./controllers/institution.ts → Total Size: 2.62kB

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