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
fix: improve JIRA page mobile responsive handling
Adam Eivy6467ae95876a
diff --git a/client/src/pages/Jira.jsx b/client/src/pages/Jira.jsxindex dbfdf54a76..51c6d9a66e 100644--- a/client/src/pages/Jira.jsx+++ b/client/src/pages/Jira.jsx@@ -169,13 +169,13 @@ export default function Jira() {}return (- <div className="p-6 max-w-6xl mx-auto">- <div className="flex justify-between items-center mb-6">- <h1 className="text-2xl font-bold text-white">JIRA Integration</h1>+ <div className="p-4 sm:p-6 max-w-6xl mx-auto">+ <div className="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-6">+ <h1 className="text-xl sm:text-2xl font-bold text-white">JIRA Integration</h1>{!editingInstance && (<buttononClick={handleCreate}- className="px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded"+ className="w-full sm:w-auto px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded">+ Add JIRA Instance</button>@@ -184,22 +184,22 @@ export default function Jira() {{/* Delete Confirmation Modal */}{deleteConfirm && (- <div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">- <div className="bg-gray-800 rounded-lg p-6 max-w-md w-full mx-4">- <h3 className="text-xl font-bold text-white mb-4">Delete JIRA Instance?</h3>- <p className="text-gray-300 mb-6">+ <div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4">+ <div className="bg-gray-800 rounded-lg p-4 sm:p-6 max-w-md w-full">+ <h3 className="text-lg sm:text-xl font-bold text-white mb-4">Delete JIRA Instance?</h3>+ <p className="text-gray-300 mb-6 text-sm sm:text-base break-words">Are you sure you want to delete "{deleteConfirm}"? This will not affect existing tickets.</p>- <div className="flex gap-2 justify-end">+ <div className="flex flex-col-reverse sm:flex-row gap-2 sm:justify-end"><buttononClick={handleDeleteCancel}- className="px-4 py-2 bg-gray-600 hover:bg-gray-700 text-white rounded"+ className="w-full sm:w-auto px-4 py-2 bg-gray-600 hover:bg-gray-700 text-white rounded">Cancel</button><buttononClick={handleDeleteConfirm}- className="px-4 py-2 bg-red-600 hover:bg-red-700 text-white rounded"+ className="w-full sm:w-auto px-4 py-2 bg-red-600 hover:bg-red-700 text-white rounded">Delete</button>@@ -209,8 +209,8 @@ export default function Jira() {)}{editingInstance ? (- <div className="bg-gray-800 rounded-lg p-6 mb-6">- <h2 className="text-xl font-bold text-white mb-4">+ <div className="bg-gray-800 rounded-lg p-4 sm:p-6 mb-6">+ <h2 className="text-lg sm:text-xl font-bold text-white mb-4">{editingInstance === 'new' ? 'Add' : 'Edit'} JIRA Instance</h2>@@ -299,18 +299,18 @@ export default function Jira() {</p></div>- <div className="flex gap-2">+ <div className="flex flex-col sm:flex-row gap-2"><buttononClick={handleSave}disabled={saving || !formData.name || !formData.baseUrl || !formData.email || !formData.apiToken}- className="px-4 py-2 bg-green-600 hover:bg-green-700 text-white rounded disabled:opacity-50 disabled:cursor-not-allowed"+ className="w-full sm:w-auto px-4 py-2 bg-green-600 hover:bg-green-700 text-white rounded disabled:opacity-50 disabled:cursor-not-allowed">{saving ? 'Saving...' : 'Save'}</button><buttononClick={handleCancel}disabled={saving}- className="px-4 py-2 bg-gray-600 hover:bg-gray-700 text-white rounded disabled:opacity-50"+ className="w-full sm:w-auto px-4 py-2 bg-gray-600 hover:bg-gray-700 text-white rounded disabled:opacity-50">Cancel</button>@@ -329,34 +329,34 @@ export default function Jira() {</div>) : (Object.values(instances).map((instance) => (- <div key={instance.id} className="bg-gray-800 rounded-lg p-6">- <div className="flex justify-between items-start">- <div className="flex-1">- <h3 className="text-lg font-bold text-white">{instance.name}</h3>- <p className="text-gray-400 text-sm mt-1">{instance.baseUrl}</p>- <p className="text-gray-500 text-sm">Email: {instance.email}</p>+ <div key={instance.id} className="bg-gray-800 rounded-lg p-4 sm:p-6">+ <div className="flex flex-col sm:flex-row sm:justify-between sm:items-start gap-4">+ <div className="flex-1 min-w-0">+ <h3 className="text-lg font-bold text-white truncate">{instance.name}</h3>+ <p className="text-gray-400 text-sm mt-1 break-all">{instance.baseUrl}</p>+ <p className="text-gray-500 text-sm truncate">Email: {instance.email}</p><p className="text-gray-500 text-sm">API Token: {instance.hasApiToken ? '✓ Configured' : '✗ Not set'}</p></div>- <div className="flex gap-2">+ <div className="flex flex-wrap gap-2 sm:flex-nowrap"><buttononClick={() => handleTest(instance.id)}disabled={testingInstance === instance.id}- className="px-3 py-1 bg-blue-600 hover:bg-blue-700 text-white text-sm rounded disabled:opacity-50"+ className="flex-1 sm:flex-none px-3 py-2 sm:py-1 bg-blue-600 hover:bg-blue-700 text-white text-sm rounded disabled:opacity-50">{testingInstance === instance.id ? 'Testing...' : 'Test'}</button><buttononClick={() => handleEdit(instance)}- className="px-3 py-1 bg-yellow-600 hover:bg-yellow-700 text-white text-sm rounded"+ className="flex-1 sm:flex-none px-3 py-2 sm:py-1 bg-yellow-600 hover:bg-yellow-700 text-white text-sm rounded">Edit</button><buttononClick={() => handleDeleteClick(instance.id)}- className="px-3 py-1 bg-red-600 hover:bg-red-700 text-white text-sm rounded"+ className="flex-1 sm:flex-none px-3 py-2 sm:py-1 bg-red-600 hover:bg-red-700 text-white text-sm rounded">Delete</button>@@ -391,15 +391,15 @@ export default function Jira() {)}</div>- <div className="mt-8 bg-gray-800 rounded-lg p-6">- <h2 className="text-lg font-bold text-white mb-4">Usage</h2>- <div className="space-y-2 text-sm text-gray-300">+ <div className="mt-6 sm:mt-8 bg-gray-800 rounded-lg p-4 sm:p-6">+ <h2 className="text-base sm:text-lg font-bold text-white mb-3 sm:mb-4">Usage</h2>+ <div className="space-y-2 text-xs sm:text-sm text-gray-300"><p>1. Add one or more JIRA instances above</p><p>2. Go to Apps and configure JIRA settings for each app</p><p>3. When the Chief of Staff works on an app with JIRA enabled, it will:</p>- <ul className="list-disc list-inside ml-4 space-y-1 text-gray-400">+ <ul className="list-disc list-inside ml-2 sm:ml-4 space-y-1 text-gray-400"><li>Create a JIRA ticket for the work</li><li>Create a feature branch (e.g., feature/PROJ-1234)</li><li>Make commits to that branch</li>