diff --git a/components/sidebar.html b/components/sidebar.html index fcdbe108..666ce2d4 100644 --- a/components/sidebar.html +++ b/components/sidebar.html @@ -40,14 +40,14 @@ - + - Recent + For You { + const app = getApplication(); + if (app && typeof app.loadVideos === "function") { + if (typeof app.mountVideoListView === "function") { + app.mountVideoListView(); + } + app.loadVideos(); + } + // Force profile updates after the new view is in place. + const refreshApp = getApplication(); + if (refreshApp && typeof refreshApp.forceRefreshAllProfiles === "function") { + refreshApp.forceRefreshAllProfiles(); + } + }, explore: () => { devLogger.log("Explore view loaded."); }, diff --git a/views/for-you.html b/views/for-you.html new file mode 100644 index 00000000..6b416c80 --- /dev/null +++ b/views/for-you.html @@ -0,0 +1,17 @@ + + + For You + + + + + + + Loading for you… + + + +