feat: show startup logs panel below deployment progress
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,7 @@ import type { ApplicationConfig, TapDefinition } from '../../api/queries/command
|
|||||||
import { useCatalog } from '../../api/queries/catalog';
|
import { useCatalog } from '../../api/queries/catalog';
|
||||||
import type { CatalogApp, CatalogRoute } from '../../api/queries/catalog';
|
import type { CatalogApp, CatalogRoute } from '../../api/queries/catalog';
|
||||||
import { DeploymentProgress } from '../../components/DeploymentProgress';
|
import { DeploymentProgress } from '../../components/DeploymentProgress';
|
||||||
|
import { StartupLogPanel } from '../../components/StartupLogPanel';
|
||||||
import { timeAgo } from '../../utils/format-utils';
|
import { timeAgo } from '../../utils/format-utils';
|
||||||
import { applyTracedProcessorUpdate, applyRouteRecordingUpdate } from '../../utils/config-draft-utils';
|
import { applyTracedProcessorUpdate, applyRouteRecordingUpdate } from '../../utils/config-draft-utils';
|
||||||
import { PageLoader } from '../../components/PageLoader';
|
import { PageLoader } from '../../components/PageLoader';
|
||||||
@@ -771,10 +772,11 @@ function OverviewSubTab({ app, deployments, versions, environments, envMap, sele
|
|||||||
: <DataTable<DeploymentRow> columns={deploymentColumns} data={deploymentRows} flush />
|
: <DataTable<DeploymentRow> columns={deploymentColumns} data={deploymentRows} flush />
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
{deployments.filter((d) => d.deployStage).map((d) => (
|
{deployments.filter((d) => d.deployStage || d.status === 'FAILED').map((d) => (
|
||||||
<div key={`progress-${d.id}`} style={{ marginBottom: 8 }}>
|
<div key={`progress-${d.id}`} style={{ marginBottom: 8 }}>
|
||||||
<span className={styles.cellMeta}>{d.containerName}</span>
|
<span className={styles.cellMeta}>{d.containerName}</span>
|
||||||
<DeploymentProgress currentStage={d.deployStage} failed={d.status === 'FAILED'} />
|
<DeploymentProgress currentStage={d.deployStage} failed={d.status === 'FAILED'} />
|
||||||
|
<StartupLogPanel deployment={d} appSlug={app.slug} envSlug={environments.find(e => e.id === d.environmentId)?.slug ?? ''} />
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user