Skip to content

fix - #160

Merged
hqvjet merged 1 commit into
developfrom
fix-final
Jan 10, 2026
Merged

fix#160
hqvjet merged 1 commit into
developfrom
fix-final

Conversation

@ngochoa203

Copy link
Copy Markdown
Collaborator

No description provided.

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

This PR restructures the CourseCard component layout to improve the visual presentation of course recommendation scores and progress information. The changes reorganize UI elements to better display recommendation badges with Vietnamese localization.

  • Reorganized CourseCard header layout to improve visual hierarchy
  • Added recommendation_score field mapping from API to course card data
  • Enhanced recommendation badge with localized text

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/src/components/user/courses/CourseCard.tsx Restructured card header layout: moved recommendation badge and subtitle into title container, separated progress display into its own div, and added " phù hợp" (suitable/matching) text to recommendation score
frontend/src/app/user/my-courses/page.tsx Added recommendation_score field to ApiCourseSummary interface and included it in the mapApiToCard mapping function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hqvjet
hqvjet merged commit 884cec4 into develop Jan 10, 2026
7 checks passed
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.

3 participants