diff --git a/breathecode/authenticate/management/commands/create_academy_roles.py b/breathecode/authenticate/management/commands/create_academy_roles.py index be54489c9..f55180f3b 100644 --- a/breathecode/authenticate/management/commands/create_academy_roles.py +++ b/breathecode/authenticate/management/commands/create_academy_roles.py @@ -158,6 +158,7 @@ {"slug": "delete_calendly_organization", "description": "Delete calendly integration"}, {"slug": "crud_assessment", "description": "Manage student quizzes and assessments"}, {"slug": "read_user_assessment", "description": "Read user assessment submissions"}, + {"slug": "read_talent_pipeline", "description": "Read users from the talent pipeline"}, {"slug": "read_subscription", "description": "Read subscriptions and plan financings of other users"}, { "slug": "crud_subscription", @@ -419,6 +420,7 @@ def extend_roles(roles: list[RoleType]) -> None: "classroom_activity", "read_asset", "task_delivery_details", + "read_talent_pipeline", ], } ) diff --git a/breathecode/feedback/utils.py b/breathecode/feedback/utils.py index 6a78e0ef8..f0542b2da 100644 --- a/breathecode/feedback/utils.py +++ b/breathecode/feedback/utils.py @@ -31,7 +31,7 @@ "lowest": "mala", }, "button_label": "Responder", - "survey_subject": "¿Cómo ha sido tu experiencia en 4Geeks hasta este momento?", + "survey_subject": "Necesitamos tu feedback", "survey_message": "Por favor toma 5 minutos para enviarnos un feedback sobre tu experiencia en la academia hasta ahora", }, "en": { @@ -66,7 +66,7 @@ "lowest": "not good", }, "button_label": "Answer the question", - "survey_subject": "How has been your experience at 4Geeks so far?", + "survey_subject": "We need your feedback", "survey_message": "Please take 5 minutes to give us feedback about your experience at the academy so far.", }, } diff --git a/breathecode/registry/actions.py b/breathecode/registry/actions.py index 8cfa67642..70060beef 100644 --- a/breathecode/registry/actions.py +++ b/breathecode/registry/actions.py @@ -788,8 +788,9 @@ def process_asset_config(asset, config): asset.with_solutions = True asset.with_video = True - if "agent" in config: - asset.agent = config["agent"] + if "editor" in config: + if "agent" in config["editor"]: + asset.agent = config["editor"]["agent"] if "solution" in config: asset.with_solutions = True diff --git a/breathecode/registry/serializers.py b/breathecode/registry/serializers.py index 3e7d6305b..f38ac11f1 100644 --- a/breathecode/registry/serializers.py +++ b/breathecode/registry/serializers.py @@ -503,6 +503,7 @@ def to_value(self, instance): class AssetTechnologySerializer(ParentAssetTechnologySerializer): parent = ParentAssetTechnologySerializer(required=False) + sort_priority = serpy.Field() lang = serpy.Field(required=False) diff --git a/breathecode/registry/tests/urls/v1/tests_technology.py b/breathecode/registry/tests/urls/v1/tests_technology.py index 2aabcd206..a730e96ed 100644 --- a/breathecode/registry/tests/urls/v1/tests_technology.py +++ b/breathecode/registry/tests/urls/v1/tests_technology.py @@ -20,6 +20,7 @@ def get_serializer(asset_technology, assets=[], asset_technologies=[]): "slug": asset_technology.slug, "title": asset_technology.title, "visibility": asset_technology.visibility, + "sort_priority": asset_technology.sort_priority, }