feat: restore original logos, 3D GLB model and implement animated progress ring#71
Merged
Merged
Conversation
…nt animated progress ring
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the user profile UI to include an animated circular level progress ring, restores the homepage 3D GLB model asset to prevent runtime 404s, and fixes quiz XP-awarding calls to match the gamification API’s required signature.
Changes:
- Updated quiz XP awarding to pass a required “reason” string to
addXp(...). - Implemented an animated SVG progress ring in the profile hero area (with new supporting CSS module styles).
- Reintroduced
public/devpath3d.glbvia Git LFS.
Reviewed changes
Copilot reviewed 4 out of 13 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| src/components/resources/QuizComponent.tsx | Updates addXp calls to include a reason string. |
| src/components/profile/UserProfile.tsx | Adds animated SVG progress ring UI and related state/effects. |
| src/components/profile/Profile.module.css | Adds styling and transitions for the circular progress ring. |
| public/devpath3d.glb | Restores the 3D model asset via Git LFS pointer. |
Comments suppressed due to low confidence (1)
src/components/profile/Profile.module.css:236
- The progress circle animates via
transition: stroke-dashoffset ...; add aprefers-reduced-motion: reduceoverride to disable the dashoffset transition (and any related filters) so the ring doesn’t animate for users who prefer reduced motion.
.circleProgress {
fill: none;
stroke-width: 8;
stroke-linecap: round;
transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 0 6px rgba(0, 191, 191, 0.4));
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request resolves Issue #48 and Issue #62. Specifically, it: