fix: validation of allowing teachers create compliance courses without setting deadline (#778)

* Fixed Validation of allowing teachers create compliance courses without setting deadline

* greptile highlightCertificateSettings decraration suggestion

* greptile multiple error bar showing fix suggestion

* organization race condition

* Delete screenshots/Screenshot 2026-07-22 at 11.52.00 AM.png

* deleted unwanted files

* code review fixes

* Changed AttentionHightlight component to work with just one parameter

created fixed Route Enums, Paths and Sections for

* Kebab-case naming fix

* Changes for code comments

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Victor Jack
2026-08-05 13:28:32 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 05936e788d
commit 60056a6236
16 changed files with 359 additions and 83 deletions
@@ -2028,6 +2028,8 @@
"rules_heading": "Rules",
"deadline_label": "Certification deadline",
"deadline_helper": "Students must meet the completion percentage before this datetime (local time). Leave empty for no deadline.",
"deadline_required": "Certificate deadline is required when certificates are downloadable.",
"deadline_required_enroll": "Compliance courses require a certificate deadline before learners can be enrolled.",
"threshold_label": "Minimum completion (%)",
"threshold_helper": "Combined lesson and exercise progress required to earn the certificate (0–100). Default is 100%.",
"final_exercise_label": "Final exercise (optional)",
@@ -3649,6 +3651,9 @@
"determines": "This determines if your course displays on your landing page",
"published": "Published",
"unpublished": "Unpublished",
"certificate_deadline_required": "Set Certificate Deadline First",
"certificate_deadline_required_description": "Compliance courses require a certificate deadline before learners can be enrolled. Please set a deadline in the certificate settings before publishing.",
"go_to_certificate_settings": "Go to Certificate Settings",
"locked_content": {
"title": "{count} course item(s) are locked",
"description": "Enrolled students won't be able to take locked lessons or exercises until you unlock them.",