-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: AA-1205: Add Learning MFE support for Entrance Exams
* Adds entrance exam information to the Course Overview object * Enables hiding other tabs since the get_course_tab_list uses a Course Overview * Enables using the entrance exam helper functions to determine if Entrance exams are being used in this course. * Posts a message when Entrance Exam is passed to parent container for usage in the Learning MFE * Overrides the 'title' field of the courseware tab since the Learning MFE uses that over the 'name' field.
- Loading branch information
1 parent
8178a03
commit e592c19
Showing
8 changed files
with
159 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
.../core/djangoapps/content/course_overviews/migrations/0026_courseoverview_entrance_exam.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Generated by Django 3.2.12 on 2022-02-25 20:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('course_overviews', '0025_auto_20210702_1602'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='courseoverview', | ||
name='entrance_exam_enabled', | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AddField( | ||
model_name='courseoverview', | ||
name='entrance_exam_id', | ||
field=models.CharField(blank=True, max_length=255), | ||
), | ||
migrations.AddField( | ||
model_name='courseoverview', | ||
name='entrance_exam_minimum_score_pct', | ||
field=models.FloatField(default=0.65), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcourseoverview', | ||
name='entrance_exam_enabled', | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcourseoverview', | ||
name='entrance_exam_id', | ||
field=models.CharField(blank=True, max_length=255), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcourseoverview', | ||
name='entrance_exam_minimum_score_pct', | ||
field=models.FloatField(default=0.65), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters