Improve AI Mentor Output UI and Learner Analytics Dashboard - #24
Open
151205-sans wants to merge 4 commits into
Open
Improve AI Mentor Output UI and Learner Analytics Dashboard#24151205-sans wants to merge 4 commits into
151205-sans wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the PyBe client UI to present richer AI Mentor output and a more visual learner analytics dashboard, alongside regenerated lockfiles and updated seed data.
Changes:
- Revamps scenario list cards (difficulty styling + concept “pill” display) and the hero/header presentation.
- Redesigns AI Mentor output into structured sections and adds a skeleton loader during submission.
- Replaces the analytics
<meter>list with summary stat cards, a circular score indicator, and animated concept mastery bars.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| server/src/data/db.json | Regenerates seeded scenario IDs/timestamps (risk of breaking persisted session references). |
| server/package-lock.json | Lockfile regeneration (adds workspace package name + fsevents entry). |
| client/src/styles.css | Adds substantial new styling for scenario cards, hero, mentor sections, skeletons, and analytics UI. |
| client/src/main.jsx | Implements new UI structure for scenarios, mentor output, and analytics dashboard components. |
| client/package-lock.json | Lockfile regeneration (adds workspace package name + peer markers). |
Files not reviewed (2)
- client/package-lock.json: Generated file
- server/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+281
to
+284
| <div className="score-ring"> | ||
| <span className="score-number">{(result.promptScore / 10).toFixed(1)}</span> | ||
| <small className="score-denom">/10</small> | ||
| </div> |
Comment on lines
+426
to
+428
| <div className="analytics-stat-card analytics-stat-card--score"> | ||
| <CircularProgress value={Number(avgScore)} max={10} size={56} stroke={5} /> | ||
| <div> |
Comment on lines
+449
to
+454
| <div className="analytics-bar-track"> | ||
| <div | ||
| className="analytics-bar-fill" | ||
| style={{ '--bar-width': `${pct}%` }} | ||
| /> | ||
| </div> |
Comment on lines
+115
to
+119
| .scenario:hover { | ||
| transform: translateY(-3px); | ||
| box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38); | ||
| background: #273d37; | ||
| } |
Comment on lines
3
to
7
| { | ||
| "_id": "8cf644f0-1402-4763-9542-02bd2ca0d1dc", | ||
| "_id": "4f1c2a01-dace-49a9-a69c-f8ffd30e7d63", | ||
| "title": "Bag Weight Label", | ||
| "difficulty": "Beginner", | ||
| "concepts": [ |
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.
No description provided.