Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

2.8 KB
Raw Blame
/**
 * Overview page vocabulary.
 *
 * A small set of section-shaped primitives, kept here rather than in the web
 * app so downstream consumers get them unchanged.
 *
 * The rules they encode: group with hairlines and vertical rhythm instead of
 * cards, spend colour on one accent plus the health bands and nothing else,
 * keep a wide type scale so hierarchy does not depend on borders, and put a
 * sentence next to every figure — a number with no frame is not information.
 */

export { OverviewSection, SectionLink } from "./section";
export type { OverviewSectionProps } from "./section";

export { RepoIdentityHeader } from "./repo-identity-header";
export type { RepoIdentityHeaderProps, RepoIdentityMeta } from "./repo-identity-header";

export { RepoAvatar, githubOwnerFromRemote } from "./repo-avatar";
export type { RepoAvatarProps } from "./repo-avatar";

export { RepoRows } from "./repo-rows";
export type { RepoRow, RepoRowsProps } from "./repo-rows";

export { HealthLede } from "./health-lede";
export type { HealthLedeCopy, HealthLedeProps } from "./health-lede";

export { ReadsColumn } from "./reads-column";
export type { ReadItem, ReadBarSegment } from "./reads-column";

export { ChangeLine } from "./change-line";
export type { ChangeLineCopy, ChangeLineProps, ChangeStat } from "./change-line";

export { CommitRows, DecisionRows } from "./activity-lists";
export type { CommitRow, DecisionRow } from "./activity-lists";

export { AttentionAreas } from "./attention-areas";
export type { AttentionAreasCopy } from "./attention-areas";
export type { AttentionSectionCopy } from "./attention-section";
export { AttentionRows } from "./attention-rows";
export { AttentionSources } from "./attention-sources";
export type { AttentionRowItem } from "./attention-rows";

export { HotspotTable } from "./hotspot-table";
export { actionHref } from "./action-href";
export { NextActions, renderActionTitle } from "./next-actions";
export type { NextActionsCopy, NextActionsProps } from "./next-actions";
export { ExploreList } from "./explore-list";
export { ExploreCards } from "./explore-cards";
export type { ExploreCard, ExploreCardsProps } from "./explore-cards";
export type { ExploreEntry } from "./explore-list";
export { LanguageBar } from "./language-bar";

export { OverviewBody } from "./overview-body";
export { OVERVIEW_BODY_COPY } from "./overview-body";
export type { OverviewBodyCopy, OverviewBodyProps, OverviewBodySlots } from "./overview-body";

export {
  buildChangeStats,
  buildExplore,
  buildExploreCards,
  buildLanguageDistribution,
  buildReads,
  buildRibbon,
  docPageCount,
  previousSnapshotAt,
  resolveOverviewRoutes,
} from "./overview-model";
export type {
  ExploreEntryKey,
  InventoryCopy,
  OverviewModelCopy,
  OverviewRoutes,
  ResolvedOverviewRoutes,
} from "./overview-model";