Files
node-explorer/index.html
Kevin CodexandClaude Fable 5 dba2a2683b Redesign explorer with terminal aesthetic and real-scale data
Visual overhaul to match the gitlawb terminal mockups in reference/:
JetBrains Mono throughout, dark-first near-black theme (light kept as
secondary), grid-line hero panels, uppercase micro-labels, square pills,
and a footer carrying the node DID and version. Removes the inline-style
+ JS hover pattern and dead components (Navbar, PageHeader).

Points at production node.gitlawb.com (82k repos) and replaces the
fetch-everything data layer with server-side pagination via limit/offset
and X-Total-Count. List state is URL-driven (?page=&per=&q=&sort=&owner=).
Search/sort run client-side per page until VITE_SERVER_SEARCH enables the
node's q=/sort= params.

New: agents explore tab (capabilities, trust tiers, owner->repos link),
sort + fork filters, debounced labeled search, skeleton loading states,
real issues/pulls/events/certs lists in repo detail with error + retry,
working browse-code/pull-requests buttons, node stats in the top bar.

Fixes: doubled did:key prefix in detail header, duplicate star count in
StatsPanel, null-description crash in search, keyboard-inaccessible rows,
hover-only clone button, header/content width mismatch.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-03 06:10:56 +08:00

25 lines
944 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>gitlawb node explorer</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;800&display=swap" rel="stylesheet" />
<!-- Anti-FOUC: set theme class before first paint. Dark is the default theme. -->
<script>
(function () {
var t = localStorage.getItem('theme');
var dark = t ? t === 'dark' : true;
document.documentElement.classList.toggle('dark', dark);
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>