mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
Fix documentation drift and phone layouts
- Correct stale UI labels, flows, endpoints, and env var docs across the docs site - Refresh git and chat screenshots and drop unused images - Fit source control tabs and commit rows on phone widths; fix terminal filler color
This commit is contained in:
1 parent
d767fa2c93
commit
03500affe8
58 files changed
+254
-188
No files matched your search
@@ -45,7 +45,7 @@ export function CommitsTab({ repoId, branch, onSelectCommit }: CommitsTabProps)
|
||||
{data.commits.map((commit) => (
|
||||
<button
|
||||
key={commit.hash}
|
||||
className="flex items-start gap-3 px-3 py-2 text-left hover:bg-accent/50 transition-colors border-b border-border last:border-0"
|
||||
className="flex w-full items-start gap-3 px-3 py-2 text-left hover:bg-accent/50 transition-colors border-b border-border last:border-0"
|
||||
onClick={() => onSelectCommit?.(commit.hash)}
|
||||
>
|
||||
<div className="flex-shrink-0 w-8 h-8 rounded-full bg-accent flex items-center justify-center mt-0.5">
|
||||
|
||||
@@ -196,14 +196,15 @@ export function SourceControlPanel({
|
||||
<button
|
||||
key={tab.id}
|
||||
className={cn(
|
||||
'flex items-center gap-1.5 px-3 py-2 text-sm transition-colors border-b-2 -mb-px',
|
||||
'flex items-center gap-1.5 py-2 text-sm whitespace-nowrap transition-colors border-b-2 -mb-px',
|
||||
isMobile ? 'flex-1 justify-center px-2' : 'px-3',
|
||||
activeTab === tab.id
|
||||
? 'border-primary text-foreground'
|
||||
: 'border-transparent text-muted-foreground hover:text-foreground hover:bg-accent'
|
||||
)}
|
||||
onClick={() => setActiveTab(tab.id)}
|
||||
>
|
||||
<Icon className="w-4 h-4" />
|
||||
{!isMobile && <Icon className="w-4 h-4" />}
|
||||
<span>{tab.label}</span>
|
||||
{tab.id === 'changes' && changesCount > 0 && (
|
||||
<span className="text-xs px-1.5 py-0.5 rounded-full bg-accent">
|
||||
|
||||
@@ -183,7 +183,7 @@ export function TerminalPanel({ repoId, directory, isOpen, onClose }: TerminalPa
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div className="relative flex-1 min-h-0">
|
||||
<div className="relative flex-1 min-h-0 bg-background">
|
||||
{terminals.length === 0 ? (
|
||||
<div className="flex h-full items-center justify-center text-sm text-muted-foreground">
|
||||
{isLoading || isCreating ? 'Starting terminal...' : 'No terminals'}
|
||||
|
||||
Reference in new issue
Block a user