Skip to content

Improve AI Mentor Output UI and Learner Analytics Dashboard - #24

Open
151205-sans wants to merge 4 commits into
vicharanashala:mainfrom
151205-sans:main
Open

Improve AI Mentor Output UI and Learner Analytics Dashboard#24
151205-sans wants to merge 4 commits into
vicharanashala:mainfrom
151205-sans:main

Conversation

@151205-sans

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings July 27, 2026 15:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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 thread client/src/main.jsx
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 thread client/src/main.jsx
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 thread client/src/main.jsx
Comment on lines +449 to +454
<div className="analytics-bar-track">
<div
className="analytics-bar-fill"
style={{ '--bar-width': `${pct}%` }}
/>
</div>
Comment thread client/src/styles.css
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 thread server/src/data/db.json
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": [
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.

2 participants