← Back to PRs

#18755: feat(web): add Trending tab with crypto, AI, and faith feeds

by Claude222bot open 2026-02-17 01:36 View on GitHub →
app: web-ui stale size: L
## Summary - Adds a new **Trending** tab to the Control section with three curated sub-categories: Crypto, AI, and Faith - Each category displays a context blurb (agent-written summary) and a feed of items (X posts, Reddit, YouTube, articles, agent notes) with type-specific icons and color-coded borders - Seed data provided by agents (Belfort, Axiom, Shepherd) - Includes i18n keys for all four locales (en, zh-CN, zh-TW, pt-BR) ## New files - `data/trending/crypto.json`, `ai.json`, `faith.json` — seed data - `ui/src/ui/views/trending.ts` — view component with tab pills, context blurb, and feed rendering - `ui/src/ui/controllers/trending.ts` — data loader (JSON imports at build time) ## Modified files - `navigation.ts` — added trending to Tab type, paths, groups, icon - `app.ts` / `app-view-state.ts` — added trendingData and trendingCategory state - `app-render.ts` — wired renderTrending into tab routing - `app-lifecycle.ts` — loads trending data on connect - `icons.ts` — added trendingUp SVG icon - `components.css` — ~225 lines of tr-prefixed styles - All 4 locale files — added tabs.trending and subtitles.trending keys ## Test plan - [ ] `npm run build` succeeds with no errors - [ ] Trending tab appears in Control sidebar group - [ ] Three sub-tabs (Crypto, AI, Faith) display with correct item counts - [ ] Context blurb changes when switching categories - [ ] Feed items filter correctly per category - [ ] Type icons and color-coded borders render correctly - [ ] Items with URLs open in new tabs - [ ] Responsive layout works on mobile widths 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Most Similar PRs