Skip to content

[BUG] My Review bug in Detail Review Page #35

Open
@yudha-haris

Description

@yudha-haris

Problem Statement

Currently, when users scroll to the bottom of a course page that has more than three reviews, the "My Review" section gets mixed up with the general course reviews. This behavior is not aligned with the expected behavior, where the "My Review" section should only display reviews from the logged-in user for the specified course.

Expected Behavior

The "My Review" section should exclusively display the logged-in user's review for the course, regardless of how many reviews are present on the page.

Current Behavior

When a user scrolls to the bottom of a course page with multiple reviews, the "My Review" section becomes mixed with reviews from other users, causing confusion and a poor user experience.

Possible Solution

The issue may be related to improper state management. When a user scrolls to the bottom, it's possible that there's an issue with data assignment for the review section. To resolve this, we should review and rectify the state management logic to ensure that the "My Review" section remains separate from the general course reviews.

Steps to Reproduce

  1. Open a course that has more than three reviews.
  2. Scroll down to the bottom of the page.
  3. Observe how the "My Review" section becomes mixed with the course's general reviews.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions