61 lines · 5.0 KBRaw
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>search</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet><style>body{margin:0}</style></helmet>
<div style="width: 640px; height: 480px; box-sizing: border-box; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #222a26; color: #d8ded6; border: 1px solid #2a332e; border-radius: 12px; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; font-size: 13px; overflow: hidden">
<div style="display: flex; align-items: center"><div style="flex: 1; font-size: 15px; font-weight: 600">Search</div><div style="font-size: 11px; color: #93a096; padding: 2px 6px">Esc</div></div>
<label style="height: 36px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 9px; border: 1px solid #b9a3e3; background: #1a201d; color: #93a096">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><path d="M21 21l-4.3-4.3"></path></svg>
<input aria-label="Search" placeholder="Go to a tab, space or agent…" style="flex: 1; background: transparent; border: 0; outline: none; color: #d8ded6; font: inherit; font-size: 12.8px"></label>
<div style="display: flex; flex-direction: column; overflow: hidden">
<div style="display: flex; align-items: center; gap: 8px; padding: 10px 10px 3px; font-size: 11px; font-weight: 600; color: #66726a">
<div style="width: 18px; height: 18px; border-radius: 5px; background: #527d65; color: #fff; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center">A</div>aliasroute</div>
<div style="height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 38px; margin: 0 4px; border-radius: 7px; position: relative">
<div style="position: absolute; left: 15px; top: 0; bottom: 0; width: 1px; background: #66726a"></div>
<div style="position: absolute; left: 15px; top: 16px; width: 14px; height: 1px; background: #66726a"></div>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#d97757" stroke-width="2.4" stroke-linecap="round" aria-hidden="true" style="flex: none"><path d="M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6L5.6 18.4"></path></svg>
<div style="flex: 1; color: #d8ded6; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">Built tree-view search palette in mods/search, left uncommitted</div>
<div style="width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid #e3b65f; border-right-color: transparent; box-sizing: border-box"></div></div>
<div style="height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 38px; margin: 0 4px; border-radius: 7px; position: relative">
<div style="position: absolute; left: 15px; top: 0; height: 16px; width: 1px; background: #66726a"></div>
<div style="position: absolute; left: 15px; top: 16px; width: 14px; height: 1px; background: #66726a"></div>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#93a096" stroke-width="1.8" stroke-linejoin="round" aria-hidden="true" style="flex: none"><path d="M6 3h8l4 4v14H6z"></path><path d="M14 3v4h4"></path></svg>
<div style="flex: 1; display: flex; gap: 8px"><span style="color: #d8ded6">CLAUDE.md</span><span style="color: #66726a">apps/</span></div></div>
<sc-for list="{{spaces}}" as="s">
<div style="height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px; margin: 0 4px; border-radius: 7px; background: {{s.bg}}">
<div style="width: 18px; height: 18px; border-radius: 5px; background: {{s.color}}; color: #fff; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none">{{s.letter}}</div>
<div style="color: #d8ded6; white-space: nowrap; flex: none">{{s.name}}</div>
<div style="flex: 1; min-width: 0; color: #66726a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">{{s.task}}</div>
<div style="flex: none; font-size: 11px; color: #66726a">{{s.hint}}</div></div>
</sc-for>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":640,"height":480}}'>
class Component extends DCLogic {
renderVals() {
const row = (name, color, task, sel) => ({ name, color, letter: name[0].toUpperCase(), task: task ? '— ' + task : '', hint: sel ? '↵ previous' : '', bg: sel ? '#2f3431' : 'transparent' });
return { spaces: [
row('herdr-app', '#09672e', 'Explained the worktree attribution gap and proposed a hook-based fix', true),
row('api-sftns-com', '#883c00', 'Explained the 503 at 05:59:02 CST as a bidding check exceeding its count'),
row('cloudflare-git', '#d9649a', 'Loaded frontend-design skill and began checking the reworked mock screenshots'),
row('claude-code-model-router', '#977e0d', 'Answered pricing question for Fable, Opus, Sonnet, and Haiku'),
row('Developer', '#22a99a', "Deleted the unused `voiceflow-prod` Pages project's deployments"),
row('flipd', '#8e7699', ''),
row('thewilliams', '#3e42b6', ''),
] };
}
}
</script>
</body>
</html>