Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review: sync parent cache, keyboard sensor, disable button styling, wire droppable disabled
Adam Eivy8d3897308043
diff --git a/client/src/components/KanbanBoard.jsx b/client/src/components/KanbanBoard.jsxindex 637213ca21..114b7e9fa1 100644--- a/client/src/components/KanbanBoard.jsx+++ b/client/src/components/KanbanBoard.jsx@@ -1,5 +1,5 @@import { useState, useEffect, useCallback } from 'react';-import { DndContext, DragOverlay, useDraggable, useDroppable, PointerSensor, useSensor, useSensors } from '@dnd-kit/core';+import { DndContext, DragOverlay, useDraggable, useDroppable, PointerSensor, KeyboardSensor, useSensor, useSensors } from '@dnd-kit/core';import { GripVertical } from 'lucide-react';import toast from 'react-hot-toast';import * as api from '../services/api';@@ -58,8 +58,10 @@ function DraggableTicket({ ticket, disabled }) {<button{...listeners}{...attributes}- className="flex items-center px-1 text-gray-600 hover:text-gray-400 cursor-grab active:cursor-grabbing shrink-0"+ className={`flex items-center px-1 text-gray-600 hover:text-gray-400 shrink-0 ${disabled ? 'cursor-not-allowed opacity-50' : 'cursor-grab active:cursor-grabbing'}`}aria-label={`Drag ${ticket.key}`}+ disabled={disabled}+ aria-disabled={disabled}><GripVertical size={14} /></button>@@ -78,7 +80,7 @@ function DraggableTicket({ ticket, disabled }) {}function DroppableColumn({ category, tickets, isOver, disabled }) {- const { setNodeRef } = useDroppable({ id: category });+ const { setNodeRef } = useDroppable({ id: category, disabled });const config = COLUMN_CONFIG[category];return (@@ -105,7 +107,7 @@ function DroppableColumn({ category, tickets, isOver, disabled }) {);}-export default function KanbanBoard({ tickets: initialTickets, instanceId }) {+export default function KanbanBoard({ tickets: initialTickets, instanceId, onTicketsChange }) {const [tickets, setTickets] = useState(initialTickets);const [activeTicket, setActiveTicket] = useState(null);const [transitioning, setTransitioning] = useState(null);@@ -115,7 +117,8 @@ export default function KanbanBoard({ tickets: initialTickets, instanceId }) {useEffect(() => { setTickets(initialTickets); }, [initialTickets]);const sensors = useSensors(- useSensor(PointerSensor, { activationConstraint: { distance: 8 } })+ useSensor(PointerSensor, { activationConstraint: { distance: 8 } }),+ useSensor(KeyboardSensor));const columns = {};@@ -172,9 +175,11 @@ export default function KanbanBoard({ tickets: initialTickets, instanceId }) {await api.transitionTicket(instanceId, ticket.key, match.id, { silent: true });// Update the status name too- setTickets(prev => prev.map(t =>+ const updated = tickets.map(t =>t.key === ticket.key ? { ...t, status: match.to, statusCategory: targetCategory } : t- ));+ );+ setTickets(updated);+ onTicketsChange?.(updated);toast.success(`${ticket.key} moved to ${match.to}`);} catch (err) {setTickets(previousTickets);diff --git a/client/src/pages/Apps.jsx b/client/src/pages/Apps.jsxindex b07d2c35db..6b828c3d94 100644--- a/client/src/pages/Apps.jsx+++ b/client/src/pages/Apps.jsx@@ -469,7 +469,11 @@ export default function Apps() {<span>Loading tickets...</span></div>) : jiraTickets[app.id]?.length > 0 ? (- <KanbanBoard tickets={jiraTickets[app.id]} instanceId={app.jira.instanceId} />+ <KanbanBoard+ tickets={jiraTickets[app.id]}+ instanceId={app.jira.instanceId}+ onTicketsChange={(updated) => setJiraTickets(prev => ({ ...prev, [app.id]: updated }))}+ />) : (<div className="px-3 py-2 text-sm text-gray-500 bg-port-card border border-port-border rounded-lg">No tickets assigned to you in the current sprint