forked from omegaup/omegaup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Agregando los cambios en la UI para permitir cursos recomendados (ome…
…gaup#7627) # Description En este cambio se agrega todo lo referente a los cambios en la UI para permitir la configuración de cursos recomendados a los curadores de cursos. A continuación se muestra como funcionarán los cursos públicos. 1.- Creando cursos públicos como usuario normal: ![PublicCourseCreateAsNormalUser](https://github.com/user-attachments/assets/2ccdd98d-94af-4620-ac85-d8cd63d8854a) 2.- Permitiendo mostrar el curso en el listado de cursos públicos como admin: ![PublicCourseDisplayInPublicCoursesListAsAdmin](https://github.com/user-attachments/assets/f35337c0-0d18-49f8-a4ba-bcb1161e9798) 3.- Uniendose a un curso público por medio de un link: ![PublicCourseJoinWithLink](https://github.com/user-attachments/assets/a07285b6-b050-45bf-ba28-f2aa0f7b6bdd) 4.- Uniendose a un curso público que se muestra en el listado de cursos públicos: ![PublicCourseJoinFromPublicCoursesList](https://github.com/user-attachments/assets/e4c3d8de-bb5c-467b-bad8-07663b060635) Fixes: omegaup#6842 # Checklist: - [x] The code follows the [coding guidelines](https://github.com/omegaup/omegaup/wiki/Coding-guidelines) of omegaUp. - [x] The tests were executed and all of them passed. - [x] If you are creating a feature, the new tests were added. - [x] If the change is large (> 200 lines), this PR was split into various Pull Requests. It's preferred to create one PR for changes in controllers + unit tests in PHPUnit, and then another Pull Request for UI + tests in Jest, Cypress or both.
- Loading branch information
Showing
23 changed files
with
241 additions
and
75 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
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ adminSupportEmailUpdatedSuccessfully = "Email updated successfully" | |
adminSupportPageNotFound = "Page not found" | ||
adminSupportTypeNewEmail = "Type new email" | ||
admissionModeManualOnly = "Manual only (Add the names of your students' accounts)" | ||
admissionModePublic = "Public (Students enroll from the list of public courses)" | ||
admissionModePublic = "Public (Students enroll just with the course link)" | ||
admissionModeShareURL = "Share URL (Students enroll from the URL)" | ||
aliasAlreadyInUse = "Alias \"%(alias)\" already exists. Please choose a different name." | ||
aliasInUse = "alias already exists. Please choose a different alias." | ||
|
@@ -529,6 +529,8 @@ courseEditGroupTeachingAssistant = "Teaching assistant group" | |
courseEditGroupTeachingAssistantAdded = "Teaching assistant group successfully added." | ||
courseEditGroupTeachingAssistantRemoved = "Teaching assistant group successfully removed." | ||
courseEditGroupTeachingAssistantsEmpty = "No teaching assistant groups" | ||
courseEditRequestSetRecommendedCourse = "If you are interested in having your course appear in the list of public courses, please contact [[email protected]](mailto:[email protected]) indicating the course alias for review." | ||
courseEditShowInPublicCoursesList = "Show in public courses list" | ||
courseEditStudents = "Students" | ||
courseEditTeachingAssistantAddedSuccesfully = "Teaching assistant successfully added" | ||
courseEditTeachingAssistantRemovedSuccesfully = "Teaching assistant successfully removed" | ||
|
@@ -1394,7 +1396,10 @@ profileStatisticsWeek = "Week" | |
profileStatisticsYear = "Year" | ||
profileUnsolvedProblems = "Problems tried (but not solved)" | ||
profileUsername = "Account name" | ||
publicCourseCardMetrics = "%(lessonCount) lessons | %(studentCount) students" | ||
publicCourseCardMetricsLessons = "%(lessonCount) lessons" | ||
publicCourseCardMetricsOneLesson = "1 lesson" | ||
publicCourseCardMetricsOneStudent = "1 student" | ||
publicCourseCardMetricsStudents = "%(studentCount) students" | ||
publicCourseInformationDescription = "On-demand courses that omegaUp offers for free." | ||
publicTagsPlaceholder = "Ex. Recursion, Segment Trees, Binary Search" | ||
qualityFormCongrats = "Congratulations for solving this problem!" | ||
|
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ adminSupportEmailUpdatedSuccessfully = "El correo electrónico se actualizó cor | |
adminSupportPageNotFound = "Página no encontrada" | ||
adminSupportTypeNewEmail = "Escribe el nuevo correo electrónico" | ||
admissionModeManualOnly = "Manual (Agrega los nombres de las cuentas de tus estudiantes)" | ||
admissionModePublic = "Público (Los estudiantes se inscriben desde la lista de cursos públicos)" | ||
admissionModePublic = "Público (Los estudiantes se inscriben con la liga al curso)" | ||
admissionModeShareURL = "Compartir URL (Los estudiantes se inscriben desde el URL)" | ||
aliasAlreadyInUse = "El alias \"%(alias)\" ya está siendo usado. Por favor elige un nombre distinto." | ||
aliasInUse = "El alias (título corto) ya está siendo usado. Por favor elige un alias distinto." | ||
|
@@ -529,6 +529,8 @@ courseEditGroupTeachingAssistant = "Grupo de asistentes de enseñanza" | |
courseEditGroupTeachingAssistantAdded = "Grupo de asistentes de enseñanza agregado correctamente" | ||
courseEditGroupTeachingAssistantRemoved = "Grupo de asistentes de enseñanza eliminado correctamente" | ||
courseEditGroupTeachingAssistantsEmpty = "No hay grupos de asistentes de enseñanza" | ||
courseEditRequestSetRecommendedCourse = "Si te interesa que tu curso aparezca en la lista de cursos públicos, por favor contacta a [[email protected]](mailto:[email protected]) indicando el alias del curso para someterlo a revisión." | ||
courseEditShowInPublicCoursesList = "Mostrar en la lista de cursos públicos" | ||
courseEditStudents = "Estudiantes" | ||
courseEditTeachingAssistantAddedSuccesfully = "Asistente de enseñanza agregado correctamente" | ||
courseEditTeachingAssistantRemovedSuccesfully = "Asistente de enseñanza eliminado correctamente" | ||
|
@@ -1394,7 +1396,10 @@ profileStatisticsWeek = "Semana" | |
profileStatisticsYear = "Año" | ||
profileUnsolvedProblems = "Problemas intentados (pero no resueltos)" | ||
profileUsername = "Nombre de la cuenta" | ||
publicCourseCardMetrics = "%(lessonCount) lecciones | %(studentCount) estudiantes" | ||
publicCourseCardMetricsLessons = "%(lessonCount) lecciones" | ||
publicCourseCardMetricsOneLesson = "1 lección" | ||
publicCourseCardMetricsOneStudent = "1 estudiante" | ||
publicCourseCardMetricsStudents = "%(studentCount) estudiantes" | ||
publicCourseInformationDescription = "Cursos de programación bajo demanda que omegaUp ofrece de forma gratuita." | ||
publicTagsPlaceholder = "Ej. Recursión, Árboles de segmentos, Búsqueda binaria" | ||
qualityFormCongrats = "¡Felicidades por resolver este problema!" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ adminSupportEmailUpdatedSuccessfully = "Email atualizado com sucesso" | |
adminSupportPageNotFound = "Página não encontrada" | ||
adminSupportTypeNewEmail = "Digite um novo e-mail" | ||
admissionModeManualOnly = "Manual (Adicionar os nomes das contas dos seus estudantes)" | ||
admissionModePublic = "Público (os alunos se inscrevem na lista de cursos públicos)" | ||
admissionModePublic = "Público (Os alunos se inscrevem apenas com o link do curso)" | ||
admissionModeShareURL = "Compartilhar URL (os alunos se inscrevem na URL)" | ||
aliasAlreadyInUse = "Alias \"%(alias)\" já existe. Por favor, escolha um nome diferente." | ||
aliasInUse = "Alias já existe. Por favor, escolha um alias diferente." | ||
|
@@ -529,6 +529,8 @@ courseEditGroupTeachingAssistant = "Grupo de assistente de ensino" | |
courseEditGroupTeachingAssistantAdded = "Grupo de assistentes de ensino adicionado com sucesso" | ||
courseEditGroupTeachingAssistantRemoved = "Grupo de assistentes de ensino removido com sucesso" | ||
courseEditGroupTeachingAssistantsEmpty = "Não hay grupos de assistentes de ensino" | ||
courseEditRequestSetRecommendedCourse = "Se você estiver interessado em ter seu curso apareça na lista de cursos públicos, entre em contato com [[email protected]](mailto:[email protected]) indicando o alias do curso para revisão." | ||
courseEditShowInPublicCoursesList = "Mostrar na lista de cursos públicos" | ||
courseEditStudents = "Alunos" | ||
courseEditTeachingAssistantAddedSuccesfully = "Assistente de ensino adicionado com sucesso" | ||
courseEditTeachingAssistantRemovedSuccesfully = "Assistente de ensino removido com sucesso" | ||
|
@@ -1394,7 +1396,10 @@ profileStatisticsWeek = "Semana" | |
profileStatisticsYear = "Ano" | ||
profileUnsolvedProblems = "Problemas tentados (mas não resolvidos)" | ||
profileUsername = "Nome da conta" | ||
publicCourseCardMetrics = "%(lessonCount) lições | %(studentCount) estudantes" | ||
publicCourseCardMetricsLessons = "%(lessonCount) lições" | ||
publicCourseCardMetricsOneLesson = "1 lição" | ||
publicCourseCardMetricsOneStudent = "1 estudante" | ||
publicCourseCardMetricsStudents = "%(studentCount) estudantes" | ||
publicCourseInformationDescription = "Cursos sob demanda que o omegaUp oferece gratuitamente." | ||
publicTagsPlaceholder = "Ex. Recursão, Árvore de segmentos, Pesquisa Binária" | ||
qualityFormCongrats = "Parabéns por resolver esta problema!" | ||
|
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
Oops, something went wrong.