From 92091a66558b004a71ceeea1a7e973d1b14c55c4 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sun, 10 Nov 2024 18:26:05 -0500 Subject: [PATCH] Add channel shorts sort options (#484) * Add channel shorts sort options * changelog * [skip ci] --- CHANGELOG.md | 4 +++- playlet-lib/src/components/ChannelView/ChannelView.bs | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60975c4e..c4ea2928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing. +### Added + +- Sort options for channel shorts ## [0.29.2] - 2024-11-07 diff --git a/playlet-lib/src/components/ChannelView/ChannelView.bs b/playlet-lib/src/components/ChannelView/ChannelView.bs index 113f8c42..8bcf8818 100644 --- a/playlet-lib/src/components/ChannelView/ChannelView.bs +++ b/playlet-lib/src/components/ChannelView/ChannelView.bs @@ -211,6 +211,16 @@ function InitializeSortOptions() "id": "oldest" "title": "Oldest" }] + "channel_shorts": [{ + "id": "newest" + "title": "Latest" + }, { + "id": "popular" + "title": "Popular" + }, { + "id": "oldest" + "title": "Oldest" + }] "channel_streams": [{ "id": "newest" "title": "Latest"