Open jacobkwan opened 8 months ago
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 8, 2024 1:06pm |
nusmods-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 8, 2024 1:06pm |
@jacobkwan is attempting to deploy a commit to a Personal Account owned by @nusmodifications on Vercel.
@nusmodifications first needs to authorize it.
Attention: Patch coverage is 0%
with 9 lines
in your changes are missing coverage. Please review.
Project coverage is 53.63%. Comparing base (
d99218b
) to head (904ba66
).
Files | Patch % | Lines |
---|---|---|
website/src/views/planner/PlannerYear.tsx | 0.00% | 9 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context
3639: Autoscroll Course Planner to current year on first render
Implementation
currentYearCardRef
state variablecurrentYearCardRef
to thePlannerYear
card for the current year of enrolmentcomponentDidMount
method inPlannerYear
currentYearCardRef
to get parent container and calculate offsets for child and parentsmooth
effect)Before
https://github.com/nusmodifications/nusmods/assets/77665182/73a54f87-4da6-43ed-9bac-267ef656a392
After
https://github.com/nusmodifications/nusmods/assets/77665182/2fa24e4a-0337-4eea-8d34-39bcde10d12f
Other Information