Provide a user with the ability to sort posts and comments according to various criteria. The sorting options for comments are "Hot", "Top", "New", and "Old". The sorting options for posts include "Active", "Hot", "New", "Old", "TopDay", "TopWeek", "TopMonth", "TopYear", "TopAll", "MostComments", "NewComments", "TopHour", "TopSixHour", "TopTwelveHour", "TopThreeMonths", "TopSixMonths", and "TopNineMonths". The time-bound "TopX" sort options should be contained within a submenu in the main sort menu.
User Stories
As a user, I want to:
Sort the posts and comments I view according to my preferred criteria.
Easily change my sorting preference in the UI.
Acceptance Criteria
Posts and comments should be sortable according to the described criteria.
The UI should offer an easy way to change the sorting preference.
The “Top*" sorting options for posts should be arranged in a submenu, clearly separated from the main sorting options.
Objective
Provide a user with the ability to sort posts and comments according to various criteria. The sorting options for comments are "Hot", "Top", "New", and "Old". The sorting options for posts include "Active", "Hot", "New", "Old", "TopDay", "TopWeek", "TopMonth", "TopYear", "TopAll", "MostComments", "NewComments", "TopHour", "TopSixHour", "TopTwelveHour", "TopThreeMonths", "TopSixMonths", and "TopNineMonths". The time-bound "TopX" sort options should be contained within a submenu in the main sort menu.
User Stories
As a user, I want to:
Acceptance Criteria
Required API Fields
Post
https://join-lemmy.org/api/types/SortType.html
sort
param on post list API call with one of these optionsComment
https://join-lemmy.org/api/types/CommentSortType.html
sort
param on the comment list API call with one of these optionsOut of Scope