Skip to content

feat: Implement GitHub Issues-based lesson feedback system (#29)#67

Open
brainstrom286 wants to merge 1 commit intoUC-OSPO-Network:mainfrom
brainstrom286:feature/lesson-feedback
Open

feat: Implement GitHub Issues-based lesson feedback system (#29)#67
brainstrom286 wants to merge 1 commit intoUC-OSPO-Network:mainfrom
brainstrom286:feature/lesson-feedback

Conversation

@brainstrom286
Copy link
Contributor

Add GitHub Issues-based Lesson Feedback

This PR adds an inline lesson feedback system using the GitHub Issues API.

What’s included

  • New server-side API route (/api/feedback) to create GitHub issues securely
  • Inline feedback form added to lesson cards (no external redirect)
  • Automatic labeling (lesson-feedback, bug, suggestion, content-quality)
  • Basic spam protection (rate limiting + minimum description length)
  • Proper success/error handling

Notes

  • API route is server-rendered (prerender = false)
  • GitHub token will be provided via org secrets in production

Closes #29

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

❌ PR checks failed

One or more validation checks failed. Please review the workflow logs to see what went wrong.

Common issues:

  • 📊 Data validation: Google Sheets CSV is unreachable or has invalid data
  • 🔍 TypeScript check: Type errors in code
  • 🏗️ Build: Build process failed
  • 📄 Critical pages: Missing required pages (index, lessons, pathways)
  • 🔗 Internal links: Broken links detected

@brainstrom286
Copy link
Contributor Author

brainstrom286 commented Feb 9, 2026

Noted the GitHub Actions checks.
@jt14den happy to address any issues related to this PR if changes are needed.

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.

FEATURE: Implement GitHub Issues-based feedback system

1 participant