feat(channels): Channels Hub Phase 1 — hub band + ecosystem-health + media-diet - #2166
Merged
Conversation
Task 2 accidentally tracked hugo/data/channels-stats.json, a build-fetched artifact written by scripts/fetch-channels-stats.ts (wired into build:all) and committed in its fail-open error state. Its sibling fetched-data files (channels.json, channel-collections.json, tags.json) are all untracked; this aligns it with them: git rm --cached + gitignore entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Channels Hub — Phase 1 (Hub band + Ecosystem-Health radar + Build-Your-Media-Diet)
Turns
/channels/into a hub. Adds a top-of-page explainer + four-card nav band above the existing directory grid, and delivers the two Phase 1 data-driven surfaces from theChannelsdataset. (Crosswalk = Phase 2, Atlas = Phase 3; those nav cards are intentional forward refs and 404 until later PRs.)What's in this PR
/channels/(ChannelsDirectory.vue) — intro + four nav cards, inserted above the directory controls; existing grid untouched./build/channels-statsendpoint (srv/server.js) — aggregates status / ownerType / category / subcategory / isSapOwned / isPublished counts; post-barrier handler matching sibling/build/*convention; approuter allowlist route (authenticationType: none).fetch-channels-stats.ts— bakeshugo/data/channels-stats.json(gitignored build artifact, fails open with anerrorfield)./channels/health/— Hugo page +channels-healthVue island (byStatus / byCategory / byOwnerType + summary tiles)./channels/media-diet/— Hugo page +media-dietVue island (pick ≤3 focus areas → ranked, capped-at-12 channel recommendations).Testing
/build/channels-stats3/3.test/srv-qa/*suite failures are a fresh-worktree missing build bundleparsers.bundle.mjs, gitignored+untracked, unrelated to this branch — CI builds it.)bySubcategoryshipped in payload, no panel yet — forward-compatible).Notes
SELECT.from), no secrets, frontmatter strings quoted (no YAML-1.1 boolean coercion),srv/libuntouched.