Skip to main content

Component Overview

Work-Wiki provides three complementary visualization components, each operating at a different granularity:

GitBlameViewer: Line-Level Attribution

Architecture

Two-Phase Data Loading

Agent Tooltip Display

GitDiffViewer: Hunk-Level Attribution

hunkMeta Coordinate System

The GitDiffViewer introduces a novel coordinate system for hunk attribution:

GitBranchDiagramViewer: Commit-Level

Micro-Save Badge

Draft Branch Node

The Draft Node represents uncommitted work - the “future” of the codebase:

Cross-Component Patterns

Consistent 4-Tier Color System

All three viewers implement the same color thresholds:

Map-Based O(1) Caching

All three viewers use the same caching pattern:

Two-Phase Rendering

All three viewers implement the same pattern:

Component Comparison

THE CENTER

Key Findings

  1. All viewers use two-phase rendering - Non-blocking UX
  2. Consistent 4-tier color vocabulary - Unified visual language
  3. Map-based O(1) caching everywhere - Performance
  4. hunkMeta is a novel coordinate system - Unique contribution
  5. Draft node uses half-moon icon - Intuitive “in progress”
  6. Agent names in tooltip - Native browser tooltip