feat: Remove hashtag pills from For You page

- Updated `For You` page to rely on feed engine filtering for tag preferences.
- Removed the `recentVideoTags` HTML element from `views/for-you.html`.
- Updated `js/app.js` and `js/ui/videoListViewController.js` to optionally skip finding the `recentVideoTags` element.
- Updated `loadForYouVideos` in `js/app.js` to explicitly skip `recentVideoTags`.
- Confirmed feed logic via `tests/feed-engine/tag-preference-filter.test.mjs`.
- Verified UI changes via Playwright.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-19 02:33:17 +00:00
1 parent 5261f3125b
commit 5c65c44db3
3 files changed
+16 -6

No files matched your search

+5 -2
View File
@@ -17,13 +17,16 @@ export default class VideoListViewController {
);
}
mount({ container = null, view, currentVideoList = null } = {}) {
mount({ container = null, view, currentVideoList = null, includeTags = true } = {}) {
if (!view) {
return { videoList: currentVideoList || null, popularTags: null };
}
const target = container || this.getElementById("videoList");
const popularTags = this.getElementById("recentVideoTags");
let popularTags = null;
if (includeTags) {
popularTags = this.getElementById("recentVideoTags");
}
if (typeof view.setPopularTagsContainer === "function") {
view.setPopularTagsContainer(popularTags || null);