Skip to content

Commit 918216d

Browse files
authored
Merge pull request #930 from web3dev1337/feature/site-diff-viewer-asset
feat: add real diff viewer website screenshot
2 parents 8593e34 + 27aa4dc commit 918216d

5 files changed

Lines changed: 94 additions & 27 deletions

File tree

CODEBASE_DOCUMENTATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ site/ - Concise product/showcase site kept separate
372372
├─ llms-full.txt - Extended AI-oriented product details for retrieval/chat assistants
373373
├─ styles.css - Showcase visual system, layout, and motion
374374
├─ script.js - Small reveal-on-scroll enhancement
375-
├─ assets/ - Favicon, provider logos, generated Open Graph preview, and real UI screenshot
375+
├─ assets/ - Favicon, provider logos, generated Open Graph preview, and real UI screenshots (home page, diff viewer, projects, ports, tabs)
376376
└─ README.md - Local preview and future publishing notes
377377
```
378378

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ Agent Workspace is a local-first orchestration layer for CLI coding agents.
5050

5151
![Agent and server windows](site/assets/server-run-windows.png)
5252

53+
### Diff Viewer + Review Console
54+
55+
Review diffs with the agent pane, server pane, and in-app diff viewer visible in one workflow, then jump straight to the GitHub PR or diff when needed.
56+
57+
![Diff viewer review console](site/assets/diff-viewer-windows.png)
58+
5359
### Projects Board
5460

5561
![Projects board](site/assets/projects-board-windows.png)
382 KB
Loading

site/index.html

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -327,32 +327,12 @@ <h3 class="feature-title">Agent + Server Windows per Worktree</h3>
327327
<h3 class="feature-title">Built-in Diff Viewer + Review Console</h3>
328328
<p class="feature-desc">Review diffs in-app with agent and server context still visible in the same workflow. Use action buttons to jump directly to the GitHub PR or GitHub diff, re-prompt agents from review context, run verification steps, and merge once checks pass.</p>
329329
</div>
330-
<div class="feature-visual diff-visual" aria-hidden="true">
331-
<aside class="diff-sidebar">
332-
<div class="visual-heading">Agents + Servers</div>
333-
<div class="visual-tag">website/work1 · Claude</div>
334-
<div class="visual-tag">website/work1 · Server</div>
335-
<div class="visual-tag">website/work2 · Codex</div>
336-
</aside>
337-
<div class="diff-main">
338-
<div class="diff-toolbar">
339-
<span>PR #842</span>
340-
<span>Open PR on GitHub</span>
341-
<span>Open Diff on GitHub</span>
342-
<span>Re-prompt Agent</span>
343-
<span>Run Server</span>
344-
<span>Merge</span>
345-
</div>
346-
<div class="diff-columns">
347-
<pre>- const staleFlag = true;
348-
- if (staleFlag) return;
349-
- // old branch parsing</pre>
350-
<pre>+ const isReady = branchState.ready;
351-
+ if (!isReady) return;
352-
+ refreshBranchLabel(sessionId);</pre>
353-
</div>
354-
</div>
355-
</div>
330+
<figure class="feature-shot contain diff-viewer-shot">
331+
<img src="assets/diff-viewer-windows.png" alt="Diff viewer review console with agent and server panes alongside the in-app diff viewer">
332+
<div class="shot-badge shot-badge-top-left">Agent</div>
333+
<div class="shot-badge shot-badge-bottom-left">Server</div>
334+
<div class="shot-badge shot-badge-center">Diff Viewer</div>
335+
</figure>
356336
</article>
357337

358338
<article class="feature-card reveal" style="--delay: 0.2s">

site/styles.css

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,64 @@ a.btn-glow {
734734
background: #060912;
735735
}
736736

737+
.diff-viewer-shot {
738+
position: relative;
739+
min-height: clamp(360px, 48vw, 760px);
740+
background:
741+
radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.12), transparent 34%),
742+
#060912;
743+
}
744+
745+
.diff-viewer-shot img {
746+
object-position: center top;
747+
}
748+
749+
.shot-badge {
750+
position: absolute;
751+
z-index: 2;
752+
display: inline-flex;
753+
align-items: center;
754+
justify-content: center;
755+
min-height: 38px;
756+
padding: 0.45rem 0.9rem;
757+
border-radius: 999px;
758+
border: 1px solid rgba(255, 255, 255, 0.16);
759+
background: rgba(4, 8, 18, 0.82);
760+
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
761+
color: #f8fbff;
762+
font-family: var(--font-mono);
763+
font-size: 0.82rem;
764+
font-weight: 600;
765+
letter-spacing: 0.04em;
766+
text-transform: uppercase;
767+
backdrop-filter: blur(14px);
768+
}
769+
770+
.shot-badge-top-left {
771+
top: 1rem;
772+
left: 1rem;
773+
color: #7dd3fc;
774+
border-color: rgba(56, 189, 248, 0.42);
775+
background: rgba(8, 47, 73, 0.78);
776+
}
777+
778+
.shot-badge-bottom-left {
779+
left: 1rem;
780+
bottom: 1rem;
781+
color: #86efac;
782+
border-color: rgba(34, 197, 94, 0.4);
783+
background: rgba(5, 46, 22, 0.8);
784+
}
785+
786+
.shot-badge-center {
787+
left: 50%;
788+
top: 50%;
789+
transform: translate(-50%, -50%);
790+
color: #fef3c7;
791+
border-color: rgba(251, 191, 36, 0.38);
792+
background: rgba(69, 26, 3, 0.8);
793+
}
794+
737795
.feature-shot.narrow {
738796
max-width: 380px;
739797
margin-left: auto;
@@ -1765,6 +1823,29 @@ body.legal-page {
17651823
min-height: 260px;
17661824
}
17671825

1826+
.diff-viewer-shot {
1827+
min-height: 280px;
1828+
}
1829+
1830+
.shot-badge {
1831+
font-size: 0.74rem;
1832+
min-height: 34px;
1833+
padding: 0.35rem 0.72rem;
1834+
}
1835+
1836+
.shot-badge-top-left,
1837+
.shot-badge-bottom-left {
1838+
left: 0.75rem;
1839+
}
1840+
1841+
.shot-badge-top-left {
1842+
top: 0.75rem;
1843+
}
1844+
1845+
.shot-badge-bottom-left {
1846+
bottom: 0.75rem;
1847+
}
1848+
17681849
.visual-grid,
17691850
.diff-columns,
17701851
.projects-visual {

0 commit comments

Comments
 (0)