chore: fix ui and add "Get Help" button (#27)

* chore: fix ui and add "Get Help" button

* fix: fix instrumentation client
This commit is contained in:
Abhishek 2025-10-07 17:40:01 +05:30 committed by GitHub
parent e9c0afd517
commit 795f0be80e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 92 additions and 109 deletions

View file

@ -49,14 +49,13 @@ export default function SuperadminPage() {
return (
<>
<main className="min-h-[calc(100vh-73px)] bg-gray-50 px-4 sm:px-6 lg:px-8 py-8">
<div className="max-w-4xl mx-auto">
<div className="text-center mb-8">
<h1 className="text-3xl font-bold text-gray-900 mb-2">Superadmin Dashboard</h1>
<p className="text-sm text-gray-600">Manage users and view system-wide data</p>
</div>
<main className="container mx-auto p-6 space-y-6 max-w-4xl">
<div className="text-center">
<h1 className="text-3xl font-bold text-gray-900 mb-2">Superadmin Dashboard</h1>
<p className="text-sm text-gray-600">Manage users and view system-wide data</p>
</div>
<div className="grid gap-6 md:grid-cols-2">
<div className="grid gap-6 md:grid-cols-2">
{/* User Impersonation Card */}
<Card>
<CardHeader>
@ -126,7 +125,6 @@ export default function SuperadminPage() {
</div>
</CardContent>
</Card>
</div>
</div>
</main>
</>

View file

@ -316,7 +316,7 @@ export default function RunsPage() {
if (isLoading && runs.length === 0) {
return (
<div className="min-h-[calc(100vh-73px)] bg-gray-50 flex items-center justify-center">
<div className="container mx-auto p-6 flex items-center justify-center min-h-[400px]">
<div className="flex items-center space-x-2">
<Loader2 className="h-6 w-6 animate-spin" />
<span>Loading workflow runs...</span>
@ -326,14 +326,13 @@ export default function RunsPage() {
}
return (
<div className="min-h-[calc(100vh-73px)] bg-gray-50 p-6">
<div className="max-w-full mx-auto">
<div className="mb-6">
<h1 className="text-3xl font-bold text-gray-900 mb-2">Workflow Runs</h1>
<p className="text-gray-600">View and manage all workflow runs across organizations</p>
</div>
<div className="container mx-auto p-6 space-y-6 max-w-full">
<div>
<h1 className="text-3xl font-bold text-gray-900 mb-2">Workflow Runs</h1>
<p className="text-gray-600">View and manage all workflow runs across organizations</p>
</div>
{error && (
{error && (
<div className="mb-6 bg-red-50 border border-red-200 text-red-600 px-4 py-3 rounded-lg">
{error}
</div>
@ -671,7 +670,6 @@ export default function RunsPage() {
{/* Media Preview Dialog */}
{mediaPreview.dialog}
</div>
</div>
);
}