Back
IDE Extension Prototype
Branch: prototypes/ide-extension

HYPERDIMENSIONAL GOLF SCORECARD

OUT: 20
TOTAL: 20
Progress: 22%
1
2
3
4
5
6
7
8
9
123T
1
4/3
3 shots
100% clear
Authentication
123T
2
3/3
3 shots
100% clear
User
12345T
3
6/5
5 shots
100% clear
Dashboard
12345T
4
4/5
5 shots
100% clear
Data
123T
5
4/4
3 shots
76% clear
API
T
6
3/-
Error
T
7
3/-
Loading
T
8
4/-
Responsive
T
9
5/-
Performance
Front 9 Progress
4/9
OUT: 20
Explorer
📁scorecard
📁app
📄page.tsx
📄layout.tsx
📁components
📁prototypes
📄IDEPrototype.tsx
📄HorizontalScorecardBar.tsx
Golf Scorecard
Holes (18)
📊Progress: 45%
🎯Handicap: +2.3
ScorecardComponent.tsx
HorizontalScorecardBar.tsx
IDEPrototype.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Example TypeScript file
import { useState, useEffect } from 'react';

interface ScorecardData {
  holes: Hole[];
  project: Project;
}

export function ScorecardComponent({ data }: { data: ScorecardData }) {
  const [selectedHole, setSelectedHole] = useState<number | null>(null);
  
  useEffect(() => {
    // Track hole selection
    console.log('Selected hole:', selectedHole);
  }, [selectedHole]);

  return (
    <div className="scorecard-container">
      {data.holes.map(hole => (
        <HoleView
          key={hole.number}
          hole={hole}
          isSelected={hole.number === selectedHole}
          onSelect={() => setSelectedHole(hole.number)}
        />
      ))}
    </div>
  );
}
Terminal
Output
Problems
$npm run dev
✓ Ready in 1.2s
○ Compiling /prototypes/ide-extension ...
✓ Compiled /prototypes/ide-extension in 234ms
$git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
modified: components/prototypes/IDEPrototype.tsx
modified: app/prototypes/ide-extension/page.tsx
$_