feat(dashboard): add view course site actions and publish flow (#690)

Add View course site and Publish course options to org course context menus.
Replace the course header View as student button with View Course Site and
a companion overflow menu that includes View as student plus list actions.
Show a publish prompt modal for unpublished courses and support #publish
deep links in course settings.
This commit is contained in:
Rotimi Best
2026-06-25 22:39:30 +01:00
committed by GitHub
parent 6d594b4296
commit 1305e2e454
17 changed files with 449 additions and 164 deletions
@@ -1970,6 +1970,8 @@
"invite": "Invite",
"delete": "Delete",
"open_public_course": "Open public course",
"view_course_site": "View course site",
"publish_course": "Publish course",
"copy_course_url": "Copy course URL"
},
"error_message": "An error occurred.",
@@ -2147,7 +2149,14 @@
"header": {
"preview": "Preview course",
"preview_missing_slug": "Generate and save a course slug before previewing.",
"view_as_student": "View as student"
"view_as_student": "View as student",
"view_course_site": "View Course Site"
},
"view_course_site": {
"unpublished_title": "Publish your course",
"unpublished_description": "You should publish this course before you can see the site",
"cancel": "Cancel",
"publish_course": "Publish Course"
},
"view_as_student": {
"title": "This will redirect you to the Student LMS.",