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
@@ -2234,7 +2234,14 @@
"header": {
"preview": "Preview course",
"preview_missing_slug": "Generate and save a course slug before previewing.",
"view_as_student": "Xem với tư cách sinh viên"
"view_as_student": "Xem với tư cách sinh viên",
"view_course_site": "Xem trang khóa học"
},
"view_course_site": {
"unpublished_title": "Xuất bản khóa học của bạn",
"unpublished_description": "Bạn nên xuất bản khóa học này trước khi có thể xem trang web",
"cancel": "Hủy",
"publish_course": "Xuất bản khóa học"
},
"sidebar": {
"back_to_course": "Quay lại khóa học",
@@ -2420,6 +2427,8 @@
"delete": "Xóa",
"open": "Mở",
"open_public_course": "Mở khóa học công khai",
"view_course_site": "Xem trang khóa học",
"publish_course": "Xuất bản khóa học",
"copy_course_url": "Sao chép URL khóa học"
},
"due_date": "Đến hạn",