mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Add explore feed pipeline
This commit is contained in:
1 parent
bb96aabdae
commit
c3aa42f39c
5 files changed
+336
-32
No files matched your search
+12
-1
@@ -119,11 +119,22 @@ export const viewInitRegistry = {
|
||||
},
|
||||
explore: () => {
|
||||
devLogger.log("Explore view loaded.");
|
||||
const app = getApplication();
|
||||
if (app && typeof app.loadExploreVideos === "function") {
|
||||
if (typeof app.mountVideoListView === "function") {
|
||||
app.mountVideoListView({ includeTags: false });
|
||||
}
|
||||
app.loadExploreVideos();
|
||||
}
|
||||
const refreshApp = getApplication();
|
||||
if (refreshApp && typeof refreshApp.forceRefreshAllProfiles === "function") {
|
||||
refreshApp.forceRefreshAllProfiles();
|
||||
}
|
||||
const infoTrigger = document.getElementById("exploreInfoTrigger");
|
||||
if (infoTrigger) {
|
||||
attachFeedInfoPopover(
|
||||
infoTrigger,
|
||||
"Coming soon."
|
||||
"Discovery feed blended for freshness, novelty, and diversity."
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user