Skip to content

In-Context Discussion Sidebar fails to filter by Unit ID #851

@YannickPezeu

Description

@YannickPezeu

Description

When I am on a tutor unit (a video for instance), I have the option to open the discussion in the sidebar.
In this sidebar, I want to see the discussions related to the unit (i.e. the topic) I am on.
Instead, I see all the discussions of the entire course
And I can't filter to get only the discussions related to the topic I am on

Environment

  • Platform: Tutor (Sumac/Redwood release)
  • Application: frontend-app-discussions
  • Browser: Chrome

Configuration

  1. Studio > Content > Pages & Resources > Discussion:
    • "Group in context discussion at the subsection level" is UNCHECKED (Disabled).
  2. Unit Settings:
    • "Enable discussion" is CHECKED.

Steps to Reproduce

  1. Create two different Units
  2. Ensure "Group in context discussion at the subsection level" is disabled for the course.
  3. Enable discussion on both units.
  4. Post a comment in "Unit A".
  5. Navigate to "Unit B".
  6. Open the Discussion Sidebar on Unit B.

Expected Behavior

The Sidebar for Unit B should be empty ("No posts") or only show posts specifically linked to Unit B.

Actual Behavior

The Sidebar for Unit B displays the posts from Unit A.
In my specific case, the sidebar displays posts from completely different sections of the course.

Evidence (See attached screenshots)

  1. Discussion Tab (Correct):
Image

The main discussion tab correctly shows that the topic "L'aiuola" has 0 posts.
2. In-Context Sidebar (Incorrect):

Image

When viewing the unit "L'aiuola", the sidebar displays multiple posts that actually belong to other topics (like "L'odinola" or "Introduction").
3. Missing Filters:

Image

The sidebar filter menu does not offer a "Current Unit Only" option, making it impossible for learners to segregate the conversation.

Severity

High. This prevents the creation of structured courses where discussions must be isolated per video/module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions