Customize home screen (#250)

* Customize home screen

* remove logs

* Lint fix

* move func

* Fix for checklist

* Fix save state

* open api

* Fix spec

* Changelog

* Add TODO

* Button size

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-01-06 18:17:29 -05:00
1 parent e7324495fe
commit fd7bdde733
21 files changed
+638 -16

No files matched your search

@@ -1,4 +1,5 @@
- title: Subscriptions
id: subscriptions
feedSources:
- id: inv_auth_feed
title: Subscriptions
@@ -6,6 +7,7 @@
endpoint: auth_feed
- title: Trending
id: trending
feedSources:
- id: inv_trending
title: Trending
@@ -13,6 +15,7 @@
endpoint: trending
- title: Trending - Music
id: trending_music
feedSources:
- id: inv_trending_music
title: Trending - Music
@@ -22,6 +25,7 @@
type: Music
- title: Trending - Gaming
id: trending_gaming
feedSources:
- id: inv_trending_gaming
title: Trending - Gaming
@@ -31,6 +35,7 @@
type: Gaming
- title: Trending - Movies
id: trending_movies
feedSources:
- id: inv_trending_movies
title: Trending - Movies
@@ -40,6 +45,7 @@
type: Movies
- title: Popular
id: popular
feedSources:
- id: inv_popular
title: Popular
@@ -47,6 +53,7 @@
endpoint: popular
- title: Playlists
id: playlists
feedSources:
- id: inv_auth_playlists
title: Playlists
@@ -54,6 +61,7 @@
endpoint: auth_playlists
- title: Watch history
id: watch_history
feedSources:
- id: inv_auth_history
title: Watch history
+49
View File
@@ -130,6 +130,55 @@
key: "misc",
description: "Misc. preferences",
children: [
{
displayText: "Edit home screen",
key: "misc.home_screen_layout",
description: "Edit the home screen feed",
type: "array",
defaultValue: [
{
id: "subscriptions",
enabled: true,
},
{
id: "trending",
enabled: true,
},
{
id: "trending_music",
enabled: true,
},
{
id: "trending_gaming",
enabled: true,
},
{
id: "trending_movies",
enabled: true,
},
{
id: "popular",
enabled: true,
},
{
id: "playlists",
enabled: true,
},
{
id: "watch_history",
enabled: true,
},
],
visibility: "tv",
rokuComponent: "EditHomeScreenControl",
},
{
displayText: "Edit home screen",
key: "misc.home_screen_layout",
description: "Edit the home screen feed",
visibility: "web",
svelteComponent: "EditHomeScreenControl",
},
{
displayText: "Queue notifications",
key: "misc.queue_notifications",