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
1 change: 0 additions & 1 deletion ui/desktop/src/components/InterruptionHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export const InterruptionHandler: React.FC<InterruptionHandlerProps> = ({
};

const colors = getActionColor();
const message = getInterruptionMessage(match);

const handleConfirm = () => {
if (showRedirectInput && onRedirect && redirectMessage.trim()) {
Expand Down
2 changes: 1 addition & 1 deletion ui/desktop/src/components/MessageQueue.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { X, Clock, Send, GripVertical, Zap, Sparkles, ChevronDown, ChevronUp, MoreHorizontal } from 'lucide-react';
import { X, Clock, Send, GripVertical, Zap, Sparkles, ChevronDown, ChevronUp } from 'lucide-react';
import { Button } from './ui/button';

interface QueuedMessage {
Expand Down
2 changes: 1 addition & 1 deletion ui/desktop/src/components/dashboard/DashboardCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface DashboardCanvasProps {
onWidgetResize: (id: string, size: { width: number; height: number }) => void;
}

export function DashboardCanvas({ widgets, onWidgetMove, onWidgetResize }: DashboardCanvasProps) {
export function DashboardCanvas({ widgets, onWidgetMove }: DashboardCanvasProps) {
const canvasRef = useRef<HTMLDivElement>(null);
const [draggedWidget, setDraggedWidget] = useState<string | null>(null);
const [dragOffset, setDragOffset] = useState({ x: 0, y: 0 });
Expand Down
3 changes: 1 addition & 2 deletions ui/desktop/src/components/dashboard/DashboardWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ interface DashboardWidgetProps {
widget: WidgetData;
onMouseDown: (e: React.MouseEvent) => void;
isDragging: boolean;
onReset?: () => void; // Optional reset callback
}

export function DashboardWidget({ widget, onMouseDown, isDragging, onReset }: DashboardWidgetProps) {
export function DashboardWidget({ widget, onMouseDown, isDragging }: DashboardWidgetProps) {
const [showSavedIndicator, setShowSavedIndicator] = useState(false);

// Show saved indicator when position changes (but not during dragging)
Expand Down