Skip to content

Improve website performance and update the About section - #61

Merged
samanyugoyal2010 merged 12 commits into
mainfrom
website-performance-cleanup
Oct 11, 2026
Merged

samanyugoyal2010 merged 12 commits into
mainfrom
website-performance-cleanup

Conversation

@samanyugoyal2010

@samanyugoyal2010 samanyugoyal2010 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Reduce loading and scrolling work by removing decorative animation loops, per-stroke SVG entrances, blur transitions, and pointer-following springs.
  • Defer optional tools, optimise team portraits, and stabilise gallery tile sizes.
  • Fix course totals, saved progress handling, keyboard access, and confusing copy.
  • Remove Vihaana from the About roster and swap Vibhav with Rachit, placing Rachit last.

Validation

  • npm run check passed (lint, TypeScript, lesson graph validation, production build).
  • Checked mobile and desktop layouts, navigation, course filtering, FAQ, story playback, whiteboard readiness, team profiles, and Koda tap interactions.
  • No browser errors in the checked flows.
  • Initial JavaScript payload comparisons and audit details are in docs/PERFORMANCE_CLEANUP.md. Device-specific FPS improvements have not been measured.

Summary by cubic

Reduces page-load and scroll work by removing decorative animation loops, per-stroke SVG entrances, blur transitions, and pointer-tracking effects, and updates the About roster alongside copy fixes.

  • Initial gzip payloads drop 15–19% across main routes; details and measurements are in docs/PERFORMANCE_CLEANUP.md.
  • Koda's mascot now loads 5 seconds after page content and is skipped in the lesson reader; the whiteboard and Clerk data sync load only when needed, and portraits use responsive next/image sizes that preserve gallery photo proportions.
  • Removes SpotlightCard, DotGrid, KoalaEasterEggs, and CommitDistributionChart, and reduces animation-heavy components (Magnet, GlareHover, TiltedCard, Reveal, marquees, and idle loops) to static versions.
  • Fixes course totals across all nine tracks, restores dashboard course filtering without animation, fixes saved-progress handling and discards stale navigation updates, defers alternate Koda poses until first interaction, and restores the story video soundtrack with its credit file (public/story-music-credit.txt).
  • Standardises copy to British spellings, removes Vihaana from the roster, swaps Vibhav and Rachit (Rachit now last), and updates FAQ and dashboard copy.
  • npm run check passes.

Written for commit a300f6c. Summary will update on new commits.

View guided diff Turn on auto-fix

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
new-cwp Ready Ready Preview Oct 11, 2026 12:54am UTC

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 53 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread src/components/TeamCard.tsx Resolved
Comment thread src/components/KodaGreeting.tsx Resolved
Comment thread src/components/FaqSection.tsx Resolved
Comment thread src/components/reactbits/Masonry.tsx Resolved
Comment thread src/components/KoalaMascot.tsx Resolved
Comment thread src/components/KoalaMascot.tsx Resolved
Comment thread src/components/PromptsMarquee.tsx Resolved
Comment thread src/components/PromptsMarquee.tsx Resolved
Comment thread src/components/KodaGreeting.tsx Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 15 files (changes from recent commits).

Confidence score: 4/5

  • Because public/story-music-credit.txt is unreferenced, viewers of the unmuted public/story.mp4 on the About page never see the CC BY 4.0 attribution. Surface the credit on the About page.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="public/story-music-credit.txt">

<violation number="1" location="public/story-music-credit.txt:1">
P2: This CC BY 4.0 credit file is unreferenced anywhere in the codebase, so the attribution never reaches the viewer. Commit 82dac86 restored the soundtrack inside `public/story.mp4`, which the About page plays unmuted at `src/app/about/page.tsx:360` via `<ScrollExpandVideo>` (`controls autoPlay ... playsInline`) — but no page or asset links to or displays `story-music-credit.txt` (`rg 'story-music-credit'` matches only the file itself). CC BY 4.0 allows use only when appropriate credit accompanies the work; Scott Buckley's licensing page states the credit must be provided with the project. The current setup restores the audio while hiding its required attribution. Link the credit file (or render its text under the story video on the About page) so the restored soundtrack is compliant.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread public/story-music-credit.txt Resolved
Comment thread src/components/KodaGreeting.tsx Resolved
@samanyugoyal2010
samanyugoyal2010 merged commit aff9374 into main Oct 11, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — a300f6c1 Deployed Oct 11, 2026 by vercel[bot]
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