Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Discussion Responses Order to Show Latest First & Fix Sorting and Filtering #103

Open
wants to merge 14 commits into
base: 2U/develop
Choose a base branch
from

Conversation

HamzaIsrar12
Copy link

Description

LEARNER-10450

Reverse Order of Responses in API:

  • Responses on the post responses and comments screen should be displayed in reverse chronological order (latest first).
  • Update the API request to include reverse_order=true when fetching responses.
  • The order should match the web application’s behaviour.

Update "Add a Response" and "Add a Comment" Behavior:

  • Newly added responses and comments should appear at the top of the list instead of the bottom.
  • UI updates instantly to reflect the correct order after adding a response or comment.

Sorting & Filtering:

  • Clear the list and load the first page when sorting or filtering.
  • On refresh, retain the applied filter and sort order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant