diff --git a/CHANGELOG.md b/CHANGELOG.md index 00806d8b..d757888b 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 worth mentioning yet. +## Added + +- Sort options to channel live streams ## [0.24.6] - 2024-07-08 diff --git a/playlet-lib/src/components/ChannelView/ChannelView.bs b/playlet-lib/src/components/ChannelView/ChannelView.bs index fc385def..113f8c42 100644 --- a/playlet-lib/src/components/ChannelView/ChannelView.bs +++ b/playlet-lib/src/components/ChannelView/ChannelView.bs @@ -200,7 +200,6 @@ function InitializeTabs() end function function InitializeSortOptions() - ' TODO:P1 add sort options for streams https://github.com/iv-org/invidious/pull/4224 m.sortOptions = { "channel_videos": [{ "id": "newest" @@ -212,6 +211,16 @@ function InitializeSortOptions() "id": "oldest" "title": "Oldest" }] + "channel_streams": [{ + "id": "newest" + "title": "Latest" + }, { + "id": "popular" + "title": "Popular" + }, { + "id": "oldest" + "title": "Oldest" + }] "channel_playlists": [{ "id": "newest" "title": "Date added (newest)"