Skip to content

Fix 'No content available' message by handling failed generation stat…#166

Merged
ItsVikasA merged 1 commit intoItsVikasA:mainfrom
VishalRaut2106:fix/issue-141-failed-chapter-retry
Feb 24, 2026
Merged

Fix 'No content available' message by handling failed generation stat…#166
ItsVikasA merged 1 commit intoItsVikasA:mainfrom
VishalRaut2106:fix/issue-141-failed-chapter-retry

Conversation

@VishalRaut2106
Copy link
Copy Markdown
Contributor

Description

Introduces the ability to archive and unarchive courses, helping users organize their roadmaps without deleting them.

Key Changes

  • API: Added PATCH method to /api/roadmap/[id] to toggle the archived status in Firestore.
  • Frontend:
    • Integrated ArchiveCourse component into CourseCard.jsx.
    • Updated src/app/roadmap/page.jsx to support filtering by "Active" and "Archived" courses.
    • Passed necessary props (isArchived, onArchive) through the component tree.

Verification Plan

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Feb 23, 2026

@VishalRaut2106 is attempting to deploy a commit to the Vikas' projects Team on Vercel.

A member of the Team first needs to authorize it.

@ItsVikasA ItsVikasA merged commit 6910740 into ItsVikasA:main Feb 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"No content available" on Failed Chapters

2 participants