Skip to content

Add course unit view#14128

Open
AlexVelezLl wants to merge 3 commits intolearningequality:release-v0.19.xfrom
AlexVelezLl:course-unit-view
Open

Add course unit view#14128
AlexVelezLl wants to merge 3 commits intolearningequality:release-v0.19.xfrom
AlexVelezLl:course-unit-view

Conversation

@AlexVelezLl
Copy link
Member

@AlexVelezLl AlexVelezLl commented Feb 4, 2026

Summary

Route setup and CourseUnitView shell component.

image

References

Closes #14071

Reviewer guidance

Go to /learn/#/home/course/{course_id}/u/{unit_id}/l/{lesson_id}/r/{resource_id} and check that the shell looks fine.

@github-actions github-actions bot added APP: Learn Re: Learn App (content, quizzes, lessons, etc.) DEV: frontend SIZE: medium labels Feb 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

@github-actions github-actions bot added DEV: backend Python, databases, networking, filesystem... SIZE: large labels Feb 5, 2026
@rtibbles rtibbles self-assigned this Feb 5, 2026
Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes broadly make sense from a quick review - the only blocker that stands out is the incorrect assumption about where the pre and post test data live. It's on the unit itself!

Also OK to just remove this here and leave implementation of this part to #14134

return currentLessons.value?.find(lesson => lesson.id === props.lessonId);
});

const currentResource = computed(() => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how they appear in the side panel - but not how they're actually represented in the DB - the pre/post-tests are only specified/attached on the Unit ContentNode itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APP: Learn Re: Learn App (content, quizzes, lessons, etc.) DEV: backend Python, databases, networking, filesystem... DEV: frontend SIZE: large SIZE: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants