Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions pdd/frontend/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -859,12 +859,12 @@ const App: React.FC = () => {

{/* CENTER: Main workflow buttons with gold border */}
<div className="flex-1 flex justify-center">
<div className="flex gap-1 sm:gap-1.5 p-1.5 rounded-xl border-2 border-[#FDCE49]/60 bg-surface-800/40 max-w-fit overflow-x-auto scrollbar-hide">
<div className="flex gap-1 sm:gap-1.5 p-1.5 rounded-xl border-2 border-pdd-gold/60 bg-surface-800/40 max-w-fit overflow-x-auto scrollbar-hide">
<button
onClick={() => setView('devunits')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 ${
view === 'devunits'
? 'bg-[#DFA84A] text-surface-900 shadow-lg'
? 'bg-pdd-goldActive text-surface-900 shadow-lg'
: 'text-surface-300 hover:text-white hover:bg-surface-700/80 hover:shadow-[0_0_10px_rgba(253,206,73,0.3)]'
}`}
>
Expand All @@ -874,7 +874,7 @@ const App: React.FC = () => {
onClick={() => setView('bug')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 ${
view === 'bug'
? 'bg-[#DFA84A] text-surface-900 shadow-lg'
? 'bg-pdd-goldActive text-surface-900 shadow-lg'
: 'text-surface-300 hover:text-white hover:bg-surface-700/80 hover:shadow-[0_0_10px_rgba(253,206,73,0.3)]'
}`}
>
Expand All @@ -884,7 +884,7 @@ const App: React.FC = () => {
onClick={() => setView('fix')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 ${
view === 'fix'
? 'bg-[#DFA84A] text-surface-900 shadow-lg'
? 'bg-pdd-goldActive text-surface-900 shadow-lg'
: 'text-surface-300 hover:text-white hover:bg-surface-700/80 hover:shadow-[0_0_10px_rgba(253,206,73,0.3)]'
}`}
>
Expand All @@ -896,7 +896,7 @@ const App: React.FC = () => {
onClick={() => setView('change')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 ${
view === 'change'
? 'bg-[#DFA84A] text-surface-900 shadow-lg'
? 'bg-pdd-goldActive text-surface-900 shadow-lg'
: 'text-surface-300 hover:text-white hover:bg-surface-700/80 hover:shadow-[0_0_10px_rgba(253,206,73,0.3)]'
}`}
>
Expand All @@ -908,7 +908,7 @@ const App: React.FC = () => {
onClick={() => setView('settings')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 ${
view === 'settings'
? 'bg-[#DFA84A] text-surface-900 shadow-lg'
? 'bg-pdd-goldActive text-surface-900 shadow-lg'
: 'text-surface-300 hover:text-white hover:bg-surface-700/80 hover:shadow-[0_0_10px_rgba(253,206,73,0.3)]'
}`}
>
Expand Down Expand Up @@ -1056,7 +1056,7 @@ const App: React.FC = () => {
<div className="px-4 py-3 border-t border-surface-700/50 bg-surface-800/30">
<button
onClick={() => setShowRemotePanel(false)}
className="w-full px-4 py-2 bg-[#DFA84A] hover:bg-[#FDCE49] text-surface-900 rounded-lg text-sm font-medium transition-colors"
className="w-full px-4 py-2 bg-pdd-goldActive hover:bg-pdd-gold text-surface-900 rounded-lg text-sm font-medium transition-colors"
>
Done
</button>
Expand Down Expand Up @@ -1152,8 +1152,8 @@ const App: React.FC = () => {
{view === 'devunits' && (
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
<div className="flex items-center gap-3">
<div className="w-10 h-10 rounded-xl bg-[#FDCE49]/20 flex items-center justify-center">
<Squares2X2Icon className="w-5 h-5 text-[#FDCE49]" />
<div className="w-10 h-10 rounded-xl bg-pdd-gold/20 flex items-center justify-center">
<Squares2X2Icon className="w-5 h-5 text-pdd-gold" />
</div>
<div>
<h2 className="text-lg sm:text-xl font-semibold text-white">Dev Units</h2>
Expand All @@ -1166,7 +1166,7 @@ const App: React.FC = () => {
onClick={() => setDevUnitsSubView('graph')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-md text-xs sm:text-sm font-medium transition-all duration-200 ${
devUnitsSubView === 'graph'
? 'bg-[#DFA84A] text-surface-900 shadow-md'
? 'bg-pdd-goldActive text-surface-900 shadow-md'
: 'text-surface-300 hover:text-white hover:bg-surface-700/50'
}`}
>
Expand All @@ -1176,7 +1176,7 @@ const App: React.FC = () => {
onClick={() => setDevUnitsSubView('list')}
className={`px-3 sm:px-4 py-1.5 sm:py-2 rounded-md text-xs sm:text-sm font-medium transition-all duration-200 ${
devUnitsSubView === 'list'
? 'bg-[#DFA84A] text-surface-900 shadow-md'
? 'bg-pdd-goldActive text-surface-900 shadow-md'
: 'text-surface-300 hover:text-white hover:bg-surface-700/50'
}`}
>
Expand Down
4 changes: 2 additions & 2 deletions pdd/frontend/components/BatchFilterDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const BatchFilterDropdown: React.FC<BatchFilterDropdownProps> = ({
className={`px-3 py-1.5 rounded-lg text-sm font-medium flex items-center gap-1.5 transition-colors ${
disabled || selectedRemaining === 0
? 'bg-surface-700 text-surface-500 cursor-not-allowed'
: 'bg-gradient-to-r from-[#FDCE49] to-[#DFA84A] hover:from-[#FFD966] hover:to-[#FDCE49] text-surface-900'
: 'bg-gradient-to-r from-pdd-gold to-pdd-goldActive hover:from-pdd-goldHover hover:to-pdd-gold text-surface-900'
}`}
>
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
Expand Down Expand Up @@ -177,7 +177,7 @@ const BatchFilterDropdown: React.FC<BatchFilterDropdownProps> = ({
className={`mt-2 w-full px-3 py-1.5 rounded-lg text-xs font-medium flex items-center justify-center gap-1.5 transition-colors ${
disabled || remaining === 0
? 'bg-surface-700 text-surface-500 cursor-not-allowed'
: 'bg-gradient-to-r from-[#FDCE49] to-[#DFA84A] hover:from-[#FFD966] hover:to-[#FDCE49] text-surface-900'
: 'bg-gradient-to-r from-pdd-gold to-pdd-goldActive hover:from-pdd-goldHover hover:to-pdd-gold text-surface-900'
}`}
>
<svg className="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
Expand Down
10 changes: 5 additions & 5 deletions pdd/frontend/components/JobDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const JobDashboard: React.FC<JobDashboardProps> = ({
{/* Toggle icon with gold accent when jobs active */}
<div className={`w-7 h-7 rounded-lg flex items-center justify-center transition-all ${
activeJobs.length > 0
? 'bg-[#FDCE49]/20 text-[#FDCE49]'
? 'bg-pdd-gold/20 text-pdd-gold'
: isCollapsed
? 'bg-accent-500/20 text-accent-400'
: 'bg-surface-700 text-white'
Expand Down Expand Up @@ -118,8 +118,8 @@ const JobDashboard: React.FC<JobDashboardProps> = ({

{/* Active jobs badge with gold styling */}
{activeJobs.length > 0 && (
<span className="px-2.5 py-0.5 text-xs font-medium bg-[#FDCE49]/20 text-[#FDCE49] rounded-full flex items-center gap-1.5 animate-pulse">
<span className="w-1.5 h-1.5 rounded-full bg-[#FDCE49]" />
<span className="px-2.5 py-0.5 text-xs font-medium bg-pdd-gold/20 text-pdd-gold rounded-full flex items-center gap-1.5 animate-pulse">
<span className="w-1.5 h-1.5 rounded-full bg-pdd-gold" />
{activeJobs.length} running
</span>
)}
Expand Down Expand Up @@ -194,8 +194,8 @@ const JobDashboard: React.FC<JobDashboardProps> = ({
{/* Active jobs section - Expandable cards */}
{activeJobs.length > 0 && (
<div className="mb-4">
<h3 className="text-xs font-medium text-[#FDCE49] uppercase tracking-wider mb-3 flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-[#FDCE49] animate-pulse" />
<h3 className="text-xs font-medium text-pdd-gold uppercase tracking-wider mb-3 flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-pdd-gold animate-pulse" />
Active Jobs
</h3>
<div className="space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion pdd/frontend/components/ModuleNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const ModuleNode: React.FC<NodeProps<ModuleNodeData>> = ({ data, selected, xPos,
{hasPrompt && onRunSync && !editMode && (
<button
onClick={handleSyncClick}
className="absolute -top-2 -right-2 w-6 h-6 bg-gradient-to-br from-[#FDCE49] to-[#DFA84A] hover:from-[#FFD966] hover:to-[#FDCE49] rounded-full flex items-center justify-center shadow-lg z-20 transition-all hover:scale-110"
className="absolute -top-2 -right-2 w-6 h-6 bg-gradient-to-br from-pdd-gold to-pdd-goldActive hover:from-pdd-goldHover hover:to-pdd-gold rounded-full flex items-center justify-center shadow-lg z-20 transition-all hover:scale-110"
title="Run pdd sync (prompt → code)"
>
<svg className="w-3 h-3 text-surface-900" fill="none" stroke="currentColor" viewBox="0 0 24 24">
Expand Down
2 changes: 1 addition & 1 deletion pdd/frontend/components/PromptSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const PromptCard: React.FC<{
{onSyncClick && (
<button
onClick={handleSyncClick}
className="flex-shrink-0 w-7 h-7 bg-gradient-to-br from-[#FDCE49] to-[#DFA84A] hover:from-[#FFD966] hover:to-[#FDCE49] rounded-full flex items-center justify-center shadow-lg transition-all hover:scale-110"
className="flex-shrink-0 w-7 h-7 bg-gradient-to-br from-pdd-gold to-pdd-goldActive hover:from-pdd-goldHover hover:to-pdd-gold rounded-full flex items-center justify-center shadow-lg transition-all hover:scale-110"
title="Run pdd sync (prompt → code)"
>
<svg className="w-3.5 h-3.5 text-surface-900" fill="none" stroke="currentColor" viewBox="0 0 24 24">
Expand Down
4 changes: 2 additions & 2 deletions pdd/frontend/components/SyncOptionsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const SyncOptionsModal: React.FC<SyncOptionsModalProps> = ({
{/* Header */}
<div className="px-5 py-4 border-b border-surface-700/50">
<div className="flex items-center gap-3">
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-[#FDCE49] to-[#DFA84A] flex items-center justify-center">
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-pdd-gold to-pdd-goldActive flex items-center justify-center">
<svg className="w-5 h-5 text-surface-900" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2.5} d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
</svg>
Expand Down Expand Up @@ -131,7 +131,7 @@ const SyncOptionsModal: React.FC<SyncOptionsModalProps> = ({
<button
type="button"
onClick={handleConfirm}
className="w-full sm:w-auto px-4 py-2 rounded-xl text-sm font-medium bg-gradient-to-r from-[#FDCE49] to-[#DFA84A] hover:from-[#FFD966] hover:to-[#FDCE49] text-surface-900 shadow-lg transition-all flex items-center justify-center gap-2"
className="w-full sm:w-auto px-4 py-2 rounded-xl text-sm font-medium bg-gradient-to-r from-pdd-gold to-pdd-goldActive hover:from-pdd-goldHover hover:to-pdd-gold text-surface-900 shadow-lg transition-all flex items-center justify-center gap-2"
>
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2.5} d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
Expand Down
Loading