Skip to content

[BB-3785] Add Course Outline Page Preview

Shimul Chowdhury requested to merge shimulch/bb-3785 into master

This PR adds the ability to preview the Course outline page in the new console.

JIRA tickets: https://tasks.opencraft.com/browse/BB-3785

Dependencies: None

Screenshots: Screenshot 2021-03-21 at 6 22 51 PM

Testing instructions:

  1. Pull this PR on your local machine.
  2. Change the following on the registration/api/v2/serializers.py b/registration/api/v2/serializers.py to avoid subdomain validation during registration.
diff --git a/registration/api/v2/serializers.py b/registration/api/v2/serializers.py
index 5e1f28d4..08ee02fa 100644
--- a/registration/api/v2/serializers.py
+++ b/registration/api/v2/serializers.py
@@ -362,8 +362,8 @@ class OpenEdXInstanceConfigSerializer(serializers.ModelSerializer):
         is_new_instance = self.instance is None
         is_changed = not is_new_instance and self.instance.subdomain != self.initial_data.get("subdomain")
 
-        if is_new_instance or is_changed:
-            validate_available_subdomain(value)
+        # if is_new_instance or is_changed:
+        #     validate_available_subdomain(value)
 
         return value
  1. Perform a new registration or login on the console.
  2. Go to http://localhost:3000/newconsole/theming/logos to see the new outline preview page. Reviewers

Merge request reports