Skip to content

Commit e70b49a

Browse files
Frontend v2: terminology cleanup, lab view architecture, observatory removal, page polish
- Rename karma→reputation across all files (types, mock, pages, overlays, legal) - Rename citation→reference across all files (types, mock, feed, legal) - Add domain-colored tags via new utils/domainStyles.ts utility - Fix baseBubbleMs default from 12000→6000 for faster speech bubbles - New LabStatePanel: structured research state with status icons, scores, evidence - New HumanDiscussion: threaded comments replacing flat HumanComments - Add LabStateItem types + MOCK_LAB_STATE data with 5 research items per lab - Add currentTaskId to agents, "Working on:" in tooltips and narrative - Update WhiteboardRenderer to show top 3 lab state items - Remove Observatory: delete 8 files (pages, components, API, mock handlers) - Remove Observatory from sidebar nav and App routes - Page improvements: computed agent count, domain colors, dismissable explainer, running experiment progress bars, leaderboard archetype+lab columns, stronger agent registration CTA, lighter challenge filter pills 3 files added, 8 deleted, 28 modified. Net -649 lines. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4430e24 commit e70b49a

39 files changed

Lines changed: 872 additions & 1180 deletions

frontend/src/App.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { LabWorkspacePage } from './pages/labs/LabWorkspacePage'
1919
import LabListPage from './pages/labs/LabListPage'
2020
import ChallengeList from './pages/labs/ChallengeList'
2121
import ChallengeDetail from './pages/labs/ChallengeDetail'
22-
import { ObservatoryPage } from './pages/observatory/ObservatoryPage'
2322
import Leaderboard from './pages/agents/Leaderboard'
2423
import TermsOfService from './pages/legal/TermsOfService'
2524
import PrivacyPolicy from './pages/legal/PrivacyPolicy'
@@ -87,9 +86,6 @@ function App() {
8786
{/* Leaderboard */}
8887
<Route path="leaderboard" element={<Leaderboard />} />
8988

90-
{/* Observatory (accessible via direct URL, removed from nav) */}
91-
<Route path="observatory" element={<ObservatoryPage />} />
92-
9389
{/* Settings */}
9490
<Route path="settings/profile" element={<Profile />} />
9591
<Route path="settings/api-keys" element={<ApiKeys />} />

frontend/src/api/observatory.ts

Lines changed: 0 additions & 39 deletions
This file was deleted.

frontend/src/components/common/ActivityTicker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import { useState, useEffect } from 'react'
77
import { Zap } from 'lucide-react'
88

99
const TICKER_EVENTS = [
10-
'🔬 Protein Folding Lab verified a new β-sheet folding pathway — 23 citations',
10+
'🔬 Protein Folding Lab verified a new β-sheet folding pathway — 23 references',
1111
'🏆 Challenge "Protein Structure Prediction 2026" has 3 competing labs',
1212
'🤖 Skepticus-5 challenged a claim at the Roundtable — debate ongoing',
1313
'📊 Surface code threshold improved by 18% in Quantum Error Correction Lab',
1414
'📄 Neural ODE Dynamics Lab published memory efficiency breakthrough',
15-
'⭐ Dr. Folding promoted to Grandmaster tier — 2,450 karma',
15+
'⭐ Dr. Folding promoted to Grandmaster tier — 2,450 reputation',
1616
'🔍 PaperHound-9 discovered 3 relevant preprints in the Library',
1717
'🧪 LabRunner-12 completed 50 independent folding trajectories',
1818
'💬 Integrator-4 synthesized findings from 4 experiments',

frontend/src/components/feed/FeedItem.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { FeedItem as FeedItemType } from "../../types/feed";
2+
import { getDomainStyle } from "@/utils/domainStyles";
23

34
const BADGE_STYLES = {
45
green: { bg: "bg-green-500", label: "Verified" },
@@ -28,7 +29,7 @@ export function FeedItemCard({ item, onClick }: FeedItemProps) {
2829
<div className="flex-1 min-w-0">
2930
<p className="text-sm font-medium truncate">{item.title}</p>
3031
<p className="text-xs text-gray-500">
31-
{item.domain} {item.citation_count} citations
32+
<span className={getDomainStyle(item.domain).text}>{item.domain.replace(/_/g, ' ')}</span> {item.reference_count} references
3233
</p>
3334
</div>
3435
<span className="text-xs text-gray-400 flex-shrink-0">

frontend/src/components/feed/GlobalFeed.tsx

Lines changed: 0 additions & 105 deletions
This file was deleted.

frontend/src/components/layout/Sidebar.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
Microscope,
1414
Trophy,
1515
Medal,
16-
Eye,
1716
} from 'lucide-react'
1817
import { cn } from '@/lib/utils'
1918
import { useState } from 'react'
@@ -30,7 +29,6 @@ const navigation: NavItem[] = [
3029
{ name: 'Challenges', href: '/challenges', icon: Trophy },
3130
{ name: 'Agents', href: '/agents', icon: Bot },
3231
{ name: 'Leaderboard', href: '/leaderboard', icon: Medal },
33-
{ name: 'Observatory', href: '/observatory', icon: Eye },
3432
{ name: 'Experiments', href: '/experiments', icon: FlaskConical },
3533
{ name: 'Settings', href: '/settings/profile', icon: Settings },
3634
]

frontend/src/components/observatory/LabOverview.tsx

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)