44 < meta charset ="utf-8 " />
55 < meta name ="viewport " content ="width=device-width,initial-scale=1 " />
66 < title > Work board — Wave</ title >
7+ < link rel ="stylesheet " href ="/static/style.css ">
78 < link rel ="stylesheet " href ="/static/tailwind.css " />
89</ head >
9- < body class ="bg-slate-50 text-slate-900 antialiased ">
10- < nav class ="bg-white border-b border-slate-200 ">
11- < div class ="max-w-6xl mx-auto px-6 py-3 flex items-center gap-6 ">
12- < a href ="/work " class ="flex items-center gap-2 font-semibold ">
13- < svg width ="22 " height ="22 " viewBox ="0 0 28 28 " fill ="none " stroke ="currentColor " stroke-width ="2.6 " stroke-linecap ="round " aria-hidden ="true ">
14- < path d ="M2 14 C6 6, 10 6, 14 14 C18 22, 22 22, 26 14 "/>
15- < path d ="M2 14 C6 22, 10 22, 14 14 C18 6, 22 6, 26 14 " opacity ="0.35 "/>
16- </ svg >
17- Wave
18- </ a >
19- < div class ="flex items-center gap-4 text-sm ">
20- < a href ="/work " class ="text-slate-900 font-medium border-b-2 border-slate-900 pb-3 -mb-3 "> Work</ a >
21- < a href ="/runs " class ="text-slate-600 hover:text-slate-900 "> Runs</ a >
22- < a href ="/pipelines " class ="text-slate-600 hover:text-slate-900 "> Pipelines</ a >
23- < a href ="/issues " class ="text-slate-600 hover:text-slate-900 "> Issues</ a >
24- < a href ="/prs " class ="text-slate-600 hover:text-slate-900 "> PRs</ a >
25- </ div >
26- </ div >
27- </ nav >
10+ < body class ="bg-surface text-txt antialiased ">
11+ {{template "partials/nav" .}}
2812
2913 < main class ="max-w-6xl mx-auto px-6 py-8 ">
3014 < header class ="mb-8 ">
3115 < h1 class ="text-2xl font-semibold tracking-tight "> Work</ h1 >
32- < p class ="text-sm text-slate-600 mt-1 ">
16+ < p class ="text-sm text-txt-secondary mt-1 ">
3317 Worksource bindings and recent matches across connected forges.
3418 </ p >
3519 </ header >
3620
3721 < section class ="mb-10 ">
3822 < div class ="flex items-baseline justify-between mb-3 ">
3923 < h2 class ="text-lg font-semibold "> Bindings</ h2 >
40- < span class ="text-xs text-slate-500 "> {{len .Bindings}} configured</ span >
24+ < span class ="text-xs text-txt-muted "> {{len .Bindings}} configured</ span >
4125 </ div >
4226
4327 {{if .HasBindings}}
44- < div class ="bg-white border border-slate-200 rounded-lg overflow-hidden ">
28+ < div class ="bg-surface-secondary border border-edge rounded-lg overflow-hidden ">
4529 < table class ="w-full text-sm ">
46- < thead class ="bg-slate-50 border-b border-slate-200 text-left text-xs uppercase tracking-wide text-slate-500 ">
30+ < thead class ="bg-surface-tertiary border-b border-edge text-left text-xs uppercase tracking-wide text-txt-muted ">
4731 < tr >
4832 < th class ="px-4 py-2 font-medium "> Status</ th >
4933 < th class ="px-4 py-2 font-medium "> Forge</ th >
@@ -55,26 +39,26 @@ <h2 class="text-lg font-semibold">Bindings</h2>
5539 </ thead >
5640 < tbody >
5741 {{range .Bindings}}
58- < tr class ="border-b border-slate-100 last:border-0 hover:bg-slate-50 ">
42+ < tr class ="border-b border-edge last:border-0 hover:bg-surface-tertiary ">
5943 < td class ="px-4 py-3 ">
6044 {{if .Active}}
61- < span class ="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-emerald-50 text-emerald-700 text-xs font-medium ">
45+ < span class ="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-state-completed-bg text-state-completed text-xs font-medium ">
6246 < svg class ="w-3 h-3 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="3 "> < polyline points ="20 6 9 17 4 12 "/> </ svg >
6347 active
6448 </ span >
6549 {{else}}
66- < span class ="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-slate-100 text-slate-600 text-xs font-medium "> inactive</ span >
50+ < span class ="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-surface-tertiary text-txt-secondary text-xs font-medium "> inactive</ span >
6751 {{end}}
6852 </ td >
6953 < td class ="px-4 py-3 font-mono text-xs "> {{.Forge}}</ td >
7054 < td class ="px-4 py-3 font-mono text-xs "> {{.RepoPattern}}</ td >
7155 < td class ="px-4 py-3 font-medium "> {{.PipelineName}}</ td >
72- < td class ="px-4 py-3 text-xs text-slate-600 "> {{.TriggerLabel}}</ td >
73- < td class ="px-4 py-3 text-xs text-slate-600 ">
56+ < td class ="px-4 py-3 text-xs text-txt-secondary "> {{.TriggerLabel}}</ td >
57+ < td class ="px-4 py-3 text-xs text-txt-secondary ">
7458 {{if .LabelFilter}}
75- {{range .LabelFilter}}< span class ="inline-block px-1.5 py-0.5 mr-1 rounded bg-slate-100 text-slate-700 font-mono "> {{.}}</ span > {{end}}
59+ {{range .LabelFilter}}< span class ="inline-block px-1.5 py-0.5 mr-1 rounded bg-surface-tertiary text-txt font-mono "> {{.}}</ span > {{end}}
7660 {{else}}
77- < span class ="text-slate-400 "> —</ span >
61+ < span class ="text-txt-muted "> —</ span >
7862 {{end}}
7963 </ td >
8064 </ tr >
@@ -83,18 +67,18 @@ <h2 class="text-lg font-semibold">Bindings</h2>
8367 </ table >
8468 </ div >
8569 {{else}}
86- < div class ="bg-white border border-dashed border-slate-300 rounded-lg p-10 text-center ">
87- < svg class ="w-10 h-10 text-slate-300 mx-auto mb-3 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="1.5 ">
70+ < div class ="bg-surface-secondary border border-dashed border-edge rounded-lg p-10 text-center ">
71+ < svg class ="w-10 h-10 text-txt-muted mx-auto mb-3 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="1.5 ">
8872 < rect x ="3 " y ="3 " width ="18 " height ="18 " rx ="2 "/>
8973 < line x1 ="3 " y1 ="9 " x2 ="21 " y2 ="9 "/>
9074 < line x1 ="9 " y1 ="21 " x2 ="9 " y2 ="9 "/>
9175 </ svg >
92- < h3 class ="text-base font-medium text-slate-900 "> No bindings yet</ h3 >
93- < p class ="text-sm text-slate-600 mt-1 max-w-md mx-auto ">
76+ < h3 class ="text-base font-medium "> No bindings yet</ h3 >
77+ < p class ="text-sm text-txt-secondary mt-1 max-w-md mx-auto ">
9478 Bindings connect a forge repo to a Wave pipeline so incoming issues
9579 and PRs trigger the right work. Configure one to get started.
9680 </ p >
97- < p class ="text-xs text-slate-500 mt-3 ">
81+ < p class ="text-xs text-txt-muted mt-3 ">
9882 A bindings UI ships in a future iteration; create them via the API
9983 or < code class ="font-mono "> wave</ code > CLI for now.
10084 </ p >
@@ -105,28 +89,28 @@ <h3 class="text-base font-medium text-slate-900">No bindings yet</h3>
10589 < section >
10690 < div class ="flex items-baseline justify-between mb-3 ">
10791 < h2 class ="text-lg font-semibold "> Recent matches</ h2 >
108- < span class ="text-xs text-slate-500 "> runs of pipelines that match a binding</ span >
92+ < span class ="text-xs text-txt-muted "> runs of pipelines that match a binding</ span >
10993 </ div >
11094
11195 {{if .RecentRuns}}
112- < ul class ="bg-white border border-slate-200 rounded-lg divide-y divide-slate-100 ">
96+ < ul class ="bg-surface-secondary border border-edge rounded-lg divide-y divide-edge ">
11397 {{range .RecentRuns}}
114- < li class ="px-4 py-3 hover:bg-slate-50 ">
115- < a href ="/runs/{{.RunID}} " class ="flex items-center justify-between gap-4 ">
98+ < li class ="px-4 py-3 hover:bg-surface-tertiary ">
99+ < a href ="/runs/{{.RunID}} " class ="flex items-center justify-between gap-4 text-txt no-underline hover:underline ">
116100 < div class ="min-w-0 ">
117101 < div class ="font-medium truncate "> {{.PipelineName}}</ div >
118- < div class ="text-xs text-slate-500 mt-0.5 ">
102+ < div class ="text-xs text-txt-muted mt-0.5 ">
119103 < span class ="font-mono "> {{.RunID}}</ span >
120104 {{if .Input}}· < span class ="truncate "> {{.Input}}</ span > {{end}}
121105 </ div >
122106 </ div >
123- < span class ="text-xs text-slate-500 whitespace-nowrap "> {{.Status}}</ span >
107+ < span class ="text-xs text-txt-muted whitespace-nowrap "> {{.Status}}</ span >
124108 </ a >
125109 </ li >
126110 {{end}}
127111 </ ul >
128112 {{else}}
129- < div class ="bg-white border border-slate-200 rounded-lg p-6 text-center text-sm text-slate-500 ">
113+ < div class ="bg-surface-secondary border border-edge rounded-lg p-6 text-center text-sm text-txt-muted ">
130114 No recent runs match the configured bindings.
131115 </ div >
132116 {{end}}
0 commit comments