@cat-factory/app 0.302.2 → 0.303.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -14
- package/app/app.config.ts +19 -10
- package/app/assets/css/main.css +13 -13
- package/app/assets/css/prose.css +22 -22
- package/app/assets/css/tokens.css +298 -0
- package/app/components/assistant/AssistantModal.vue +22 -22
- package/app/components/auth/AuthGate.vue +1 -1
- package/app/components/auth/BackendMisconfiguredScreen.vue +10 -10
- package/app/components/auth/LoginScreen.vue +34 -36
- package/app/components/auth/ResetPasswordScreen.vue +12 -12
- package/app/components/auth/UserMenu.vue +4 -4
- package/app/components/binaryCandidates/BinaryCandidatesWindow.vue +27 -25
- package/app/components/binaryOutput/BinaryOutputReport.vue +15 -15
- package/app/components/binaryOutput/StoredAssetView.vue +5 -5
- package/app/components/board/AddTaskModal.vue +17 -20
- package/app/components/board/AgentFailureCard.vue +11 -11
- package/app/components/board/AgentFailureHistory.vue +2 -2
- package/app/components/board/BoardCanvas.vue +6 -5
- package/app/components/board/CreateInitiativeModal.vue +8 -10
- package/app/components/board/DependencyConnectOverlay.vue +1 -1
- package/app/components/board/FailureHistoryList.vue +7 -7
- package/app/components/board/RecurringPipelineModal.vue +17 -17
- package/app/components/board/ReviewFrictionDialog.vue +6 -6
- package/app/components/board/StepExecutionHistory.vue +13 -13
- package/app/components/board/TaskDependencyEdges.vue +8 -8
- package/app/components/board/nodes/AgentChip.vue +10 -10
- package/app/components/board/nodes/BlockNode.vue +29 -29
- package/app/components/board/nodes/DecisionBadge.vue +2 -2
- package/app/components/board/nodes/EpicNode.vue +14 -10
- package/app/components/board/nodes/FrameSwimlanes.vue +7 -9
- package/app/components/board/nodes/InitiativeCard.vue +8 -8
- package/app/components/board/nodes/LaneGroup.vue +1 -1
- package/app/components/board/nodes/LaneTask.vue +2 -2
- package/app/components/board/nodes/ResizeGrips.vue +4 -4
- package/app/components/board/nodes/TaskCard.vue +18 -18
- package/app/components/board/nodes/TaskLane.vue +5 -5
- package/app/components/board/nodes/TaskPipelineMini.vue +18 -18
- package/app/components/bootstrap/AdoptionReviewModal.vue +29 -26
- package/app/components/bootstrap/BootstrapModal.vue +21 -23
- package/app/components/bootstrap/BootstrapRunSteps.vue +1 -1
- package/app/components/brainstorm/BrainstormWindow.vue +30 -33
- package/app/components/bugFishing/BugFishingWindow.vue +49 -49
- package/app/components/clarity/ClarityReviewWindow.vue +30 -30
- package/app/components/common/AsyncViewError.vue +5 -5
- package/app/components/common/ClarificationItem.vue +8 -13
- package/app/components/common/ConfirmDialog.vue +4 -2
- package/app/components/common/DescriptorFields.vue +1 -1
- package/app/components/common/EmptyState.vue +3 -3
- package/app/components/common/InterviewGateNotice.vue +7 -7
- package/app/components/common/KeyboardShortcutsHelp.vue +1 -1
- package/app/components/common/MarkdownProse.vue +14 -13
- package/app/components/consensus/ConsensusSessionWindow.vue +26 -26
- package/app/components/context/ContextAttachmentFields.vue +17 -17
- package/app/components/docs/DocInterviewWindow.vue +14 -14
- package/app/components/documents/ContextDocumentPicker.vue +17 -17
- package/app/components/documents/DocumentImportModal.vue +7 -7
- package/app/components/documents/DocumentSourceConnectModal.vue +3 -3
- package/app/components/documents/DocumentSyncState.vue +5 -5
- package/app/components/documents/DocumentTemplatesModal.vue +15 -15
- package/app/components/documents/RepoContextDocPicker.vue +5 -5
- package/app/components/documents/SpawnPreviewModal.vue +12 -12
- package/app/components/documents/StartFromDesignModal.vue +11 -11
- package/app/components/documents/TaskContextDocs.vue +5 -5
- package/app/components/environments/EnvSetupStepper.vue +6 -6
- package/app/components/environments/EnvironmentStatusPanel.vue +17 -17
- package/app/components/environments/steps/EnvPickStep.vue +3 -3
- package/app/components/environments/steps/EnvPreflightStep.vue +9 -9
- package/app/components/environments/steps/EnvReviewStep.vue +25 -22
- package/app/components/environments/steps/EnvSaveStep.vue +7 -5
- package/app/components/environments/steps/JourneyStepNav.vue +1 -1
- package/app/components/focus/BlockFocusView.vue +17 -19
- package/app/components/followUp/FollowUpWindow.vue +23 -23
- package/app/components/forkDecision/ForkDecisionWindow.vue +37 -39
- package/app/components/foundational/FoundationalContractSummary.vue +7 -7
- package/app/components/foundational/FoundationalServiceCatalogList.vue +11 -11
- package/app/components/foundational/FoundationalServiceManager.vue +1 -1
- package/app/components/foundational/FoundationalServiceRegistry.vue +13 -13
- package/app/components/foundational/FoundationalServiceSources.vue +13 -13
- package/app/components/foundational/FoundationalSuppressions.vue +7 -7
- package/app/components/foundational/ServiceCatalogConnection.vue +10 -10
- package/app/components/fragments/FragmentLibraryManager.vue +41 -44
- package/app/components/fragments/FragmentSelector.vue +13 -13
- package/app/components/fragments/GitHubDocUrlImport.vue +1 -1
- package/app/components/gates/GateFailingCheckList.vue +5 -5
- package/app/components/gates/GateResultView.vue +50 -47
- package/app/components/github/AddServiceFromRepoModal.vue +14 -14
- package/app/components/github/BranchProtectionPreflight.vue +13 -13
- package/app/components/github/GitHubConnect.vue +7 -7
- package/app/components/github/GitHubOnboarding.vue +7 -7
- package/app/components/github/GitHubPanel.vue +37 -40
- package/app/components/github/RepoTreeBrowser.vue +18 -18
- package/app/components/humanTest/HumanTestWindow.vue +30 -33
- package/app/components/initiative/InitiativePlanNotice.vue +5 -5
- package/app/components/initiative/InitiativePlanReview.vue +27 -29
- package/app/components/initiative/InitiativePlanningWindow.vue +10 -10
- package/app/components/initiative/InitiativeTrackerWindow.vue +71 -65
- package/app/components/inputGate/InputGateNotice.vue +2 -4
- package/app/components/judge/JudgeResultView.vue +30 -32
- package/app/components/kaizen/KaizenPanel.vue +40 -36
- package/app/components/kaizen/KaizenStepStatus.vue +21 -21
- package/app/components/layout/AccountAuditLog.vue +10 -10
- package/app/components/layout/AccountDeploymentSettings.vue +20 -20
- package/app/components/layout/AccountFailureKindRules.vue +13 -13
- package/app/components/layout/AccountFoundationalSettings.vue +1 -1
- package/app/components/layout/AccountFragmentSettings.vue +1 -1
- package/app/components/layout/AccountModelPolicySettings.vue +9 -9
- package/app/components/layout/AccountPlatformAlertSettings.vue +11 -11
- package/app/components/layout/AccountRiskPolicySettings.vue +2 -2
- package/app/components/layout/AccountRunCredentialSettings.vue +5 -5
- package/app/components/layout/AccountSkillSettings.vue +1 -1
- package/app/components/layout/AccountTeamSettings.vue +23 -15
- package/app/components/layout/AiProvidersBanner.vue +11 -8
- package/app/components/layout/AppearanceSwitcher.vue +108 -0
- package/app/components/layout/BoardSwitcher.vue +8 -11
- package/app/components/layout/BoardToolbar.vue +3 -3
- package/app/components/layout/CommandBar.vue +7 -9
- package/app/components/layout/ConnectionStatusBanner.vue +2 -2
- package/app/components/layout/DefaultTestEnvBanner.vue +5 -5
- package/app/components/layout/GitHubPatBanner.vue +5 -5
- package/app/components/layout/GitHubPatPermissionsBanner.vue +16 -10
- package/app/components/layout/InfraSetupBanner.vue +6 -6
- package/app/components/layout/IntegrationsHub.vue +15 -15
- package/app/components/layout/LanguageSwitcher.vue +5 -5
- package/app/components/layout/ModelProvidersHub.vue +13 -16
- package/app/components/layout/NotificationsInbox.vue +10 -10
- package/app/components/layout/PersonalSetupModal.vue +8 -8
- package/app/components/layout/ProviderConfigBanner.vue +4 -4
- package/app/components/layout/RolePrompt.vue +7 -7
- package/app/components/layout/SideBar.vue +6 -4
- package/app/components/layout/SpendWarningBanner.vue +17 -14
- package/app/components/layout/TranslationWarningBanner.vue +4 -4
- package/app/components/layout/UiModeSwitcher.vue +13 -13
- package/app/components/layout/UiRoleSwitcher.vue +8 -8
- package/app/components/layout/WorkspaceMembersSettings.vue +15 -11
- package/app/components/media/ArtifactLightbox.vue +13 -13
- package/app/components/media/ImageCompare.vue +31 -24
- package/app/components/merge/MergeEffortChips.vue +2 -2
- package/app/components/notifications/NotificationSettingsPanel.vue +14 -12
- package/app/components/observability/OutcomeFilterChips.vue +6 -6
- package/app/components/observability/RunFailureSummary.vue +28 -25
- package/app/components/observability/StepMetricsBar.vue +26 -28
- package/app/components/observability/StepModelActivity.vue +2 -2
- package/app/components/observability/ToolCallList.vue +24 -24
- package/app/components/outcome/OutcomeSummaryWindow.vue +47 -47
- package/app/components/palettes/AgentPalette.vue +8 -8
- package/app/components/palettes/AgentTierSelect.vue +1 -1
- package/app/components/palettes/PipelinePurposeSelect.vue +1 -1
- package/app/components/panels/AgentStepDetail.vue +52 -51
- package/app/components/panels/AttemptEntryHeader.vue +4 -6
- package/app/components/panels/DecisionModal.vue +7 -7
- package/app/components/panels/GenericStructuredResultView.vue +7 -7
- package/app/components/panels/InspectorPanel.vue +17 -17
- package/app/components/panels/MergerResultView.vue +19 -19
- package/app/components/panels/ObservabilityPanel.vue +115 -123
- package/app/components/panels/OperatorDashboardPanel.vue +89 -97
- package/app/components/panels/ReportsPanel.vue +69 -66
- package/app/components/panels/ReportsSpendBreakdown.vue +9 -9
- package/app/components/panels/ResultWindowShell.vue +38 -38
- package/app/components/panels/RunDetailLoadState.vue +2 -2
- package/app/components/panels/StepContainerStatus.vue +9 -9
- package/app/components/panels/StepDelegatedStatus.logic.spec.ts +135 -0
- package/app/components/panels/StepDelegatedStatus.logic.ts +160 -0
- package/app/components/panels/StepDelegatedStatus.vue +181 -0
- package/app/components/panels/StepEffortReport.vue +16 -15
- package/app/components/panels/StepFragmentAdherence.vue +14 -10
- package/app/components/panels/StepMetadataCard.vue +74 -45
- package/app/components/panels/StepReproductionReport.vue +25 -21
- package/app/components/panels/StepRunMeta.vue +20 -20
- package/app/components/panels/StepTestReport.logic.spec.ts +8 -3
- package/app/components/panels/StepTestReport.logic.ts +4 -4
- package/app/components/panels/StepTestReport.vue +28 -28
- package/app/components/panels/StepToolServers.vue +14 -11
- package/app/components/panels/StepValidationReport.vue +7 -7
- package/app/components/panels/inspector/ContainerSummary.vue +9 -9
- package/app/components/panels/inspector/DocReferenceRepos.vue +3 -3
- package/app/components/panels/inspector/EnvProbeReport.vue +24 -27
- package/app/components/panels/inspector/EpicChildren.vue +8 -12
- package/app/components/panels/inspector/FrontendBindingsResolved.vue +11 -11
- package/app/components/panels/inspector/FrontendConfig.vue +37 -41
- package/app/components/panels/inspector/InitiativeInspector.vue +3 -3
- package/app/components/panels/inspector/InspectorSection.vue +6 -6
- package/app/components/panels/inspector/RecurringScheduleSettings.vue +16 -19
- package/app/components/panels/inspector/ServiceConnections.vue +2 -2
- package/app/components/panels/inspector/ServiceReleaseHealthConfig.vue +2 -2
- package/app/components/panels/inspector/ServiceSelfTests.vue +21 -17
- package/app/components/panels/inspector/ServiceTestConfig.vue +51 -59
- package/app/components/panels/inspector/ServiceTestSecrets.vue +5 -5
- package/app/components/panels/inspector/ServiceTestingContext.vue +3 -3
- package/app/components/panels/inspector/ServiceValidationConfig.vue +2 -2
- package/app/components/panels/inspector/TaskAgentConfig.vue +3 -3
- package/app/components/panels/inspector/TaskAprioriBranches.vue +8 -5
- package/app/components/panels/inspector/TaskDependencies.vue +1 -1
- package/app/components/panels/inspector/TaskEstimateBadge.vue +11 -11
- package/app/components/panels/inspector/TaskExecution.vue +17 -17
- package/app/components/panels/inspector/TaskReviewTarget.vue +2 -2
- package/app/components/panels/inspector/TaskRunSettings.vue +35 -37
- package/app/components/panels/inspector/TaskStructure.vue +3 -3
- package/app/components/pipeline/AgentKindIcon.vue +1 -1
- package/app/components/pipeline/AgentPromptEditor.vue +17 -17
- package/app/components/pipeline/BinaryOutputStepPicker.vue +42 -56
- package/app/components/pipeline/EstimateThresholdFields.vue +4 -4
- package/app/components/pipeline/GateConfigFields.vue +13 -10
- package/app/components/pipeline/IterationCapPrompt.vue +4 -2
- package/app/components/pipeline/PipelineBuilder.vue +47 -55
- package/app/components/pipeline/PipelineHealthModal.vue +27 -29
- package/app/components/pipeline/PipelinePicker.vue +10 -10
- package/app/components/pipeline/PipelinePreview.vue +10 -10
- package/app/components/pipeline/PipelineProgress.vue +64 -67
- package/app/components/prReview/PrReviewPhaseBadge.vue +7 -7
- package/app/components/prReview/PrReviewWindow.vue +75 -77
- package/app/components/providers/AiPresetMismatchDialog.vue +5 -5
- package/app/components/providers/AiProviderOnboardingModal.vue +9 -9
- package/app/components/providers/ApiKeysSection.vue +13 -13
- package/app/components/providers/PersonalCredentialModal.vue +2 -2
- package/app/components/providers/PersonalSubscriptionSection.vue +10 -10
- package/app/components/providers/SignInRequiredNotice.vue +1 -1
- package/app/components/providers/VendorCredentialsModal.vue +10 -10
- package/app/components/provisioning/ProvisioningLogsDrawer.vue +13 -13
- package/app/components/ralph/RalphLoopResultView.vue +28 -30
- package/app/components/recurring/RecurrenceEditor.vue +2 -2
- package/app/components/requirements/RequirementsReviewWindow.vue +51 -58
- package/app/components/riskPolicy/RiskPolicyPicker.vue +12 -15
- package/app/components/riskPolicy/RiskPolicyPreview.vue +14 -14
- package/app/components/sandbox/SandboxPanel.vue +58 -59
- package/app/components/settings/AccountSettingsPanel.vue +1 -1
- package/app/components/settings/ApiTokensPanel.vue +10 -10
- package/app/components/settings/BudgetSettings.vue +18 -22
- package/app/components/settings/CapabilityCredentialsPanel.vue +15 -15
- package/app/components/settings/CloudflareHandlerSection.vue +20 -20
- package/app/components/settings/ComposeEnvironmentSetupSection.vue +13 -13
- package/app/components/settings/ConnectionTestVerdict.vue +3 -3
- package/app/components/settings/ConnectionWarnings.vue +1 -1
- package/app/components/settings/ConsensusGroupsSection.vue +27 -35
- package/app/components/settings/CustomManifestTypeEditor.vue +10 -10
- package/app/components/settings/DefaultProvisionTypeSection.vue +6 -6
- package/app/components/settings/InfraHandlersConfigurator.vue +24 -22
- package/app/components/settings/InfrastructureBackendPicker.vue +6 -6
- package/app/components/settings/InfrastructureWindow.vue +5 -5
- package/app/components/settings/IssueTrackerPanel.vue +29 -23
- package/app/components/settings/KubernetesEngineForm.vue +11 -11
- package/app/components/settings/KubernetesEnvironmentForm.vue +4 -4
- package/app/components/settings/LocalContainerPoolSettings.vue +6 -11
- package/app/components/settings/LocalModelEndpointsPanel.vue +20 -18
- package/app/components/settings/McpAuthorizeScreen.vue +13 -15
- package/app/components/settings/McpOAuthCallbackScreen.vue +16 -10
- package/app/components/settings/MergeClassRulesEditor.vue +6 -9
- package/app/components/settings/MergeRolePolicyEditor.vue +16 -16
- package/app/components/settings/ModelConfigurationPanel.vue +23 -30
- package/app/components/settings/ModelPresetHealthModal.vue +15 -13
- package/app/components/settings/ObservabilityConnectionPanel.vue +4 -4
- package/app/components/settings/OpenRouterCatalogPanel.vue +26 -19
- package/app/components/settings/PackageRegistriesPanel.vue +8 -8
- package/app/components/settings/ProviderConnectionTab.vue +8 -11
- package/app/components/settings/ProviderManifestEditor.vue +9 -9
- package/app/components/settings/ProviderPreferenceEditor.vue +8 -8
- package/app/components/settings/RiskPolicyCreateForm.vue +10 -10
- package/app/components/settings/RiskPolicyEditorRow.vue +14 -14
- package/app/components/settings/RiskPolicyHealthModal.vue +15 -13
- package/app/components/settings/RiskPolicyInheritedRow.vue +1 -1
- package/app/components/settings/RiskPolicyPanel.vue +10 -15
- package/app/components/settings/ServiceFragmentDefaultsPanel.vue +7 -7
- package/app/components/settings/SharedStacksPanel.vue +9 -12
- package/app/components/settings/TaskSourceCard.vue +4 -4
- package/app/components/settings/TaskTypeSuppressionsPanel.vue +6 -6
- package/app/components/settings/ToolServerChecklist.vue +36 -29
- package/app/components/settings/UsageSettings.vue +15 -15
- package/app/components/settings/UserSecretsSection.vue +9 -12
- package/app/components/settings/WorkspaceMetadataSettings.vue +5 -5
- package/app/components/settings/WorkspaceSettingsPanel.vue +47 -47
- package/app/components/skills/ReviewSkillQueue.vue +10 -10
- package/app/components/skills/SkillLibraryManager.vue +23 -20
- package/app/components/slack/SlackPanel.vue +13 -17
- package/app/components/spec/ServiceSpecWindow.vue +45 -42
- package/app/components/tasks/BugHuntModal.vue +24 -27
- package/app/components/tasks/ContextIssuePicker.vue +11 -11
- package/app/components/tasks/TaskContextIssues.vue +3 -3
- package/app/components/tasks/TaskImportModal.vue +7 -7
- package/app/components/tasks/TaskSourceConnectModal.vue +10 -8
- package/app/components/testing/TestReportWindow.vue +99 -82
- package/app/components/theme/ThemeImportModal.vue +115 -0
- package/app/components/tutorial/TutorialCatalogue.vue +9 -9
- package/app/components/tutorial/TutorialNudge.vue +5 -5
- package/app/components/tutorial/TutorialOverlay.vue +12 -12
- package/app/components/tutorial/TutorialPrompt.vue +6 -9
- package/app/components/vcs/GitLabConnect.vue +4 -4
- package/app/components/vcs/VcsConnectSurfaces.vue +2 -2
- package/app/components/visualConfirm/VisualConfirmationWindow.vue +36 -36
- package/app/composables/api/client.ts +6 -1
- package/app/composables/usePipelineErrorToast.ts +17 -0
- package/app/modular/agent-kinds.ts +24 -0
- package/app/pages/index.vue +5 -5
- package/app/plugins/theme.client.ts +125 -0
- package/app/spa-loading-template.html +52 -14
- package/app/stores/agents.ts +1 -1
- package/app/stores/theme.spec.ts +56 -0
- package/app/stores/theme.ts +87 -0
- package/app/types/domain.ts +19 -0
- package/app/types/execution.ts +4 -0
- package/app/utils/agentOutput.ts +1 -1
- package/app/utils/binaryOutput.ts +6 -6
- package/app/utils/bootstrapSteps.ts +14 -14
- package/app/utils/catalog.ts +87 -83
- package/app/utils/colorTint.ts +10 -0
- package/app/utils/failureKinds.ts +1 -0
- package/app/utils/observability.ts +3 -3
- package/app/utils/pipelineRender.ts +13 -17
- package/app/utils/swimlanes.ts +4 -4
- package/app/utils/theme/bootPalette.spec.ts +54 -0
- package/app/utils/theme/bootPalette.ts +108 -0
- package/app/utils/theme/builtins.spec.ts +38 -0
- package/app/utils/theme/builtins.ts +55 -0
- package/app/utils/theme/css.ts +162 -0
- package/app/utils/theme/doc.ts +353 -0
- package/app/utils/theme/link.ts +93 -0
- package/app/utils/theme/presets.ts +509 -0
- package/app/utils/theme/theme.spec.ts +224 -0
- package/i18n/locales/de.json +61 -4
- package/i18n/locales/en.json +70 -4
- package/i18n/locales/es.json +61 -4
- package/i18n/locales/fr.json +61 -4
- package/i18n/locales/he.json +61 -4
- package/i18n/locales/it.json +61 -4
- package/i18n/locales/ja.json +61 -4
- package/i18n/locales/pl.json +61 -4
- package/i18n/locales/tr.json +61 -4
- package/i18n/locales/uk.json +61 -4
- package/nuxt.config.ts +37 -11
- package/package.json +10 -9
|
@@ -80,8 +80,8 @@ function preview(externalId: string) {
|
|
|
80
80
|
</template>
|
|
81
81
|
<template #body>
|
|
82
82
|
<div v-if="!documents.anyConnected" class="space-y-3 text-center">
|
|
83
|
-
<UIcon name="i-lucide-plug" class="mx-auto h-8 w-8 text-
|
|
84
|
-
<p class="text-sm text-
|
|
83
|
+
<UIcon name="i-lucide-plug" class="mx-auto h-8 w-8 text-dimmed" />
|
|
84
|
+
<p class="text-sm text-muted">{{ t('documents.import.connectFirst') }}</p>
|
|
85
85
|
<div class="flex justify-center gap-2">
|
|
86
86
|
<UButton
|
|
87
87
|
v-for="s in documents.sources"
|
|
@@ -125,13 +125,13 @@ function preview(externalId: string) {
|
|
|
125
125
|
</div>
|
|
126
126
|
|
|
127
127
|
<div v-if="sourceDocs.length" class="space-y-2">
|
|
128
|
-
<h3 class="text-[11px] font-semibold uppercase tracking-wide text-
|
|
128
|
+
<h3 class="text-[11px] font-semibold uppercase tracking-wide text-muted">
|
|
129
129
|
{{ t('documents.import.importedHeading') }}
|
|
130
130
|
</h3>
|
|
131
131
|
<div
|
|
132
132
|
v-for="doc in sourceDocs"
|
|
133
133
|
:key="`${doc.source}:${doc.externalId}`"
|
|
134
|
-
class="rounded-lg border border-
|
|
134
|
+
class="rounded-lg border border-default bg-default/60 p-3"
|
|
135
135
|
>
|
|
136
136
|
<div class="flex items-start justify-between gap-2">
|
|
137
137
|
<div class="min-w-0">
|
|
@@ -139,11 +139,11 @@ function preview(externalId: string) {
|
|
|
139
139
|
:href="doc.url"
|
|
140
140
|
target="_blank"
|
|
141
141
|
rel="noopener"
|
|
142
|
-
class="truncate text-sm font-medium text-
|
|
142
|
+
class="truncate text-sm font-medium text-highlighted hover:underline"
|
|
143
143
|
>
|
|
144
144
|
{{ doc.title }}
|
|
145
145
|
</a>
|
|
146
|
-
<p class="mt-0.5 line-clamp-2 text-xs text-
|
|
146
|
+
<p class="mt-0.5 line-clamp-2 text-xs text-dimmed">{{ doc.excerpt }}</p>
|
|
147
147
|
<DocumentSyncState :doc="doc" class="mt-1" />
|
|
148
148
|
</div>
|
|
149
149
|
<UButton
|
|
@@ -158,7 +158,7 @@ function preview(externalId: string) {
|
|
|
158
158
|
</div>
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
|
-
<p v-else class="text-center text-xs text-
|
|
161
|
+
<p v-else class="text-center text-xs text-dimmed">
|
|
162
162
|
{{ t('documents.import.noneImported') }}
|
|
163
163
|
</p>
|
|
164
164
|
</div>
|
|
@@ -118,7 +118,7 @@ async function disconnect() {
|
|
|
118
118
|
</template>
|
|
119
119
|
<template #body>
|
|
120
120
|
<div v-if="descriptor" class="space-y-4">
|
|
121
|
-
<p class="text-sm text-
|
|
121
|
+
<p class="text-sm text-muted">
|
|
122
122
|
{{ t('documents.connect.intro', { source: descriptor.label }) }}
|
|
123
123
|
</p>
|
|
124
124
|
|
|
@@ -132,10 +132,10 @@ async function disconnect() {
|
|
|
132
132
|
>
|
|
133
133
|
{{ t('documents.connect.oauth.action', { source: descriptor.label }) }}
|
|
134
134
|
</UButton>
|
|
135
|
-
<p class="text-[11px] text-
|
|
135
|
+
<p class="text-[11px] text-dimmed">
|
|
136
136
|
{{ t('documents.connect.oauth.scopes', { scopes: oauth.scopes.join(', ') }) }}
|
|
137
137
|
</p>
|
|
138
|
-
<p class="text-[11px] text-
|
|
138
|
+
<p class="text-[11px] text-dimmed">{{ t('documents.connect.oauth.fallback') }}</p>
|
|
139
139
|
</div>
|
|
140
140
|
|
|
141
141
|
<div class="space-y-3">
|
|
@@ -148,9 +148,9 @@ const renders = computed(() => {
|
|
|
148
148
|
})
|
|
149
149
|
|
|
150
150
|
const TONE_CLASS: Record<Stated['tone'], string> = {
|
|
151
|
-
ok: 'text-
|
|
152
|
-
warn: 'text-
|
|
153
|
-
muted: 'text-
|
|
151
|
+
ok: 'text-app-success-400',
|
|
152
|
+
warn: 'text-app-warning-400',
|
|
153
|
+
muted: 'text-dimmed',
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
async function refresh() {
|
|
@@ -165,7 +165,7 @@ async function refresh() {
|
|
|
165
165
|
</script>
|
|
166
166
|
|
|
167
167
|
<template>
|
|
168
|
-
<div class="flex items-center gap-1.5 text-[11px] text-
|
|
168
|
+
<div class="flex items-center gap-1.5 text-[11px] text-dimmed">
|
|
169
169
|
<span class="truncate">
|
|
170
170
|
{{ t('documents.freshness.updated', { when: d(new Date(props.doc.syncedAt), 'long') }) }}
|
|
171
171
|
</span>
|
|
@@ -178,7 +178,7 @@ async function refresh() {
|
|
|
178
178
|
<UIcon :name="stated.icon" class="h-3 w-3 shrink-0" />
|
|
179
179
|
<span class="truncate">{{ stated.text }}</span>
|
|
180
180
|
</span>
|
|
181
|
-
<span v-if="renders" class="flex min-w-0 items-center gap-1 text-
|
|
181
|
+
<span v-if="renders" class="flex min-w-0 items-center gap-1 text-dimmed" :title="renders">
|
|
182
182
|
<UIcon name="i-lucide-image-off" class="h-3 w-3 shrink-0" />
|
|
183
183
|
<span class="truncate">{{ renders }}</span>
|
|
184
184
|
</span>
|
|
@@ -93,12 +93,12 @@ async function unlink(doc: SourceDocument) {
|
|
|
93
93
|
</template>
|
|
94
94
|
<template #body>
|
|
95
95
|
<div class="space-y-4">
|
|
96
|
-
<p class="text-xs text-
|
|
96
|
+
<p class="text-xs text-muted">{{ t('documents.templates.intro') }}</p>
|
|
97
97
|
|
|
98
98
|
<!-- No imported documents yet: a template/exemplar must be an imported document. -->
|
|
99
99
|
<div v-if="!documents.documents.length" class="space-y-3 text-center">
|
|
100
|
-
<UIcon name="i-lucide-file-plus" class="mx-auto h-8 w-8 text-
|
|
101
|
-
<p class="text-sm text-
|
|
100
|
+
<UIcon name="i-lucide-file-plus" class="mx-auto h-8 w-8 text-dimmed" />
|
|
101
|
+
<p class="text-sm text-muted">{{ t('documents.templates.importFirst') }}</p>
|
|
102
102
|
<UButton
|
|
103
103
|
color="primary"
|
|
104
104
|
variant="soft"
|
|
@@ -131,20 +131,20 @@ async function unlink(doc: SourceDocument) {
|
|
|
131
131
|
</UFormField>
|
|
132
132
|
|
|
133
133
|
<!-- Template (singular per kind) ------------------------------------ -->
|
|
134
|
-
<section class="rounded-lg border border-
|
|
135
|
-
<h3 class="text-[11px] font-semibold uppercase tracking-wide text-
|
|
134
|
+
<section class="rounded-lg border border-default bg-default/50 p-3">
|
|
135
|
+
<h3 class="text-[11px] font-semibold uppercase tracking-wide text-muted">
|
|
136
136
|
{{ t('documents.templates.templateHeading') }}
|
|
137
137
|
</h3>
|
|
138
|
-
<p class="mt-0.5 text-xs text-
|
|
138
|
+
<p class="mt-0.5 text-xs text-dimmed">
|
|
139
139
|
{{ t('documents.templates.templateHint', { kind }) }}
|
|
140
140
|
</p>
|
|
141
141
|
<div
|
|
142
142
|
v-if="template"
|
|
143
|
-
class="mt-2 flex items-center justify-between gap-2 rounded-md bg-
|
|
143
|
+
class="mt-2 flex items-center justify-between gap-2 rounded-md bg-default/70 px-3 py-2"
|
|
144
144
|
>
|
|
145
145
|
<DocumentOriginLink
|
|
146
146
|
:url="template.url"
|
|
147
|
-
class="truncate text-sm font-medium text-
|
|
147
|
+
class="truncate text-sm font-medium text-highlighted"
|
|
148
148
|
hover-class="hover:underline"
|
|
149
149
|
>
|
|
150
150
|
{{ template.title }}
|
|
@@ -160,28 +160,28 @@ async function unlink(doc: SourceDocument) {
|
|
|
160
160
|
{{ t('documents.templates.remove') }}
|
|
161
161
|
</UButton>
|
|
162
162
|
</div>
|
|
163
|
-
<p v-else class="mt-2 text-xs text-
|
|
163
|
+
<p v-else class="mt-2 text-xs text-dimmed">
|
|
164
164
|
{{ t('documents.templates.templateEmpty') }}
|
|
165
165
|
</p>
|
|
166
166
|
</section>
|
|
167
167
|
|
|
168
168
|
<!-- Exemplars (multi per kind) -------------------------------------- -->
|
|
169
|
-
<section class="rounded-lg border border-
|
|
170
|
-
<h3 class="text-[11px] font-semibold uppercase tracking-wide text-
|
|
169
|
+
<section class="rounded-lg border border-default bg-default/50 p-3">
|
|
170
|
+
<h3 class="text-[11px] font-semibold uppercase tracking-wide text-muted">
|
|
171
171
|
{{ t('documents.templates.exemplarsHeading') }}
|
|
172
172
|
</h3>
|
|
173
|
-
<p class="mt-0.5 text-xs text-
|
|
173
|
+
<p class="mt-0.5 text-xs text-dimmed">
|
|
174
174
|
{{ t('documents.templates.exemplarsHint') }}
|
|
175
175
|
</p>
|
|
176
176
|
<div v-if="exemplars.length" class="mt-2 space-y-1.5">
|
|
177
177
|
<div
|
|
178
178
|
v-for="doc in exemplars"
|
|
179
179
|
:key="`${doc.source}:${doc.externalId}`"
|
|
180
|
-
class="flex items-center justify-between gap-2 rounded-md bg-
|
|
180
|
+
class="flex items-center justify-between gap-2 rounded-md bg-default/70 px-3 py-2"
|
|
181
181
|
>
|
|
182
182
|
<DocumentOriginLink
|
|
183
183
|
:url="doc.url"
|
|
184
|
-
class="truncate text-sm font-medium text-
|
|
184
|
+
class="truncate text-sm font-medium text-highlighted"
|
|
185
185
|
hover-class="hover:underline"
|
|
186
186
|
>
|
|
187
187
|
{{ doc.title }}
|
|
@@ -198,7 +198,7 @@ async function unlink(doc: SourceDocument) {
|
|
|
198
198
|
</UButton>
|
|
199
199
|
</div>
|
|
200
200
|
</div>
|
|
201
|
-
<p v-else class="mt-2 text-xs text-
|
|
201
|
+
<p v-else class="mt-2 text-xs text-dimmed">
|
|
202
202
|
{{ t('documents.templates.exemplarsEmpty') }}
|
|
203
203
|
</p>
|
|
204
204
|
</section>
|
|
@@ -238,7 +238,7 @@ onMounted(() => {
|
|
|
238
238
|
class="w-full"
|
|
239
239
|
:placeholder="t('documents.repoPicker.searchFilesPlaceholder')"
|
|
240
240
|
/>
|
|
241
|
-
<p v-if="filesError" class="px-1 text-[11px] text-
|
|
241
|
+
<p v-if="filesError" class="px-1 text-[11px] text-app-warning-400">
|
|
242
242
|
{{ t('documents.repoPicker.filesFailed', { error: filesError }) }}
|
|
243
243
|
</p>
|
|
244
244
|
<div class="max-h-56 space-y-0.5 overflow-y-auto">
|
|
@@ -246,13 +246,13 @@ onMounted(() => {
|
|
|
246
246
|
v-for="f in fileMatches"
|
|
247
247
|
:key="f.path"
|
|
248
248
|
type="button"
|
|
249
|
-
class="flex w-full items-center gap-1.5 rounded-md px-2 py-1.5 text-start text-xs text-
|
|
249
|
+
class="flex w-full items-center gap-1.5 rounded-md px-2 py-1.5 text-start text-xs text-toned hover:bg-elevated/70"
|
|
250
250
|
@click="pickFile(f.path)"
|
|
251
251
|
>
|
|
252
|
-
<UIcon :name="icon" class="h-3.5 w-3.5 shrink-0 text-
|
|
252
|
+
<UIcon :name="icon" class="h-3.5 w-3.5 shrink-0 text-primary" />
|
|
253
253
|
<span class="truncate">{{ f.path }}</span>
|
|
254
254
|
</button>
|
|
255
|
-
<p v-if="fileMatchesTruncated" class="px-2 py-1 text-[11px] text-
|
|
255
|
+
<p v-if="fileMatchesTruncated" class="px-2 py-1 text-[11px] text-dimmed">
|
|
256
256
|
{{ t('documents.repoPicker.moreFiles', { count: FILE_RESULTS_CAP }) }}
|
|
257
257
|
</p>
|
|
258
258
|
<EmptyState
|
|
@@ -263,7 +263,7 @@ onMounted(() => {
|
|
|
263
263
|
/>
|
|
264
264
|
<p
|
|
265
265
|
v-else-if="!loadingFiles && !fileQuery.trim()"
|
|
266
|
-
class="px-2 py-1 text-[11px] text-
|
|
266
|
+
class="px-2 py-1 text-[11px] text-dimmed"
|
|
267
267
|
>
|
|
268
268
|
{{ t('documents.repoPicker.searchFilesHint') }}
|
|
269
269
|
</p>
|
|
@@ -139,7 +139,7 @@ async function spawn() {
|
|
|
139
139
|
: t('documents.spawn.plannerHeadings')
|
|
140
140
|
}}
|
|
141
141
|
</UBadge>
|
|
142
|
-
<span class="text-xs text-
|
|
142
|
+
<span class="text-xs text-muted">{{
|
|
143
143
|
plan.targetFrameId ? t('documents.spawn.intoService') : t('documents.spawn.asTopLevel')
|
|
144
144
|
}}</span>
|
|
145
145
|
</div>
|
|
@@ -161,13 +161,13 @@ async function spawn() {
|
|
|
161
161
|
|
|
162
162
|
<p
|
|
163
163
|
v-if="needsTarget && !targetFrameId"
|
|
164
|
-
class="text-xs text-
|
|
164
|
+
class="text-xs text-muted"
|
|
165
165
|
data-testid="spawn-target-required"
|
|
166
166
|
>
|
|
167
167
|
{{ t('documents.spawn.target.required') }}
|
|
168
168
|
</p>
|
|
169
169
|
|
|
170
|
-
<div v-if="loadingPlan" class="flex items-center gap-2 text-sm text-
|
|
170
|
+
<div v-if="loadingPlan" class="flex items-center gap-2 text-sm text-muted">
|
|
171
171
|
<UIcon name="i-lucide-loader" class="h-4 w-4 animate-spin" />
|
|
172
172
|
{{ t('documents.spawn.buildingPlan') }}
|
|
173
173
|
</div>
|
|
@@ -176,11 +176,11 @@ async function spawn() {
|
|
|
176
176
|
<div
|
|
177
177
|
v-for="(frame, fi) in plan.frames"
|
|
178
178
|
:key="fi"
|
|
179
|
-
class="rounded-lg border border-
|
|
179
|
+
class="rounded-lg border border-default bg-default/60 p-3"
|
|
180
180
|
>
|
|
181
181
|
<div class="flex items-center gap-2">
|
|
182
|
-
<UIcon name="i-lucide-box" class="h-4 w-4 text-
|
|
183
|
-
<span class="text-sm font-semibold text-
|
|
182
|
+
<UIcon name="i-lucide-box" class="h-4 w-4 text-primary" />
|
|
183
|
+
<span class="text-sm font-semibold text-highlighted">{{ frame.title }}</span>
|
|
184
184
|
<UBadge variant="subtle" size="sm" color="neutral">{{ frame.type }}</UBadge>
|
|
185
185
|
</div>
|
|
186
186
|
|
|
@@ -188,25 +188,25 @@ async function spawn() {
|
|
|
188
188
|
<li
|
|
189
189
|
v-for="(task, ti) in frame.tasks"
|
|
190
190
|
:key="`t-${ti}`"
|
|
191
|
-
class="flex items-center gap-1.5 text-xs text-
|
|
191
|
+
class="flex items-center gap-1.5 text-xs text-toned"
|
|
192
192
|
>
|
|
193
|
-
<UIcon name="i-lucide-square-check-big" class="h-3 w-3 text-
|
|
193
|
+
<UIcon name="i-lucide-square-check-big" class="h-3 w-3 text-dimmed" />
|
|
194
194
|
{{ task.title }}
|
|
195
195
|
</li>
|
|
196
196
|
</ul>
|
|
197
197
|
|
|
198
198
|
<div v-for="(mod, mi) in frame.modules" :key="`m-${mi}`" class="mt-2 ps-4">
|
|
199
|
-
<div class="flex items-center gap-1.5 text-xs font-medium text-
|
|
200
|
-
<UIcon name="i-lucide-folder" class="h-3.5 w-3.5 text-
|
|
199
|
+
<div class="flex items-center gap-1.5 text-xs font-medium text-default">
|
|
200
|
+
<UIcon name="i-lucide-folder" class="h-3.5 w-3.5 text-app-warning-400" />
|
|
201
201
|
{{ mod.name }}
|
|
202
202
|
</div>
|
|
203
203
|
<ul class="mt-1 space-y-1 ps-5">
|
|
204
204
|
<li
|
|
205
205
|
v-for="(task, ti) in mod.tasks"
|
|
206
206
|
:key="`mt-${ti}`"
|
|
207
|
-
class="flex items-center gap-1.5 text-xs text-
|
|
207
|
+
class="flex items-center gap-1.5 text-xs text-toned"
|
|
208
208
|
>
|
|
209
|
-
<UIcon name="i-lucide-square-check-big" class="h-3 w-3 text-
|
|
209
|
+
<UIcon name="i-lucide-square-check-big" class="h-3 w-3 text-dimmed" />
|
|
210
210
|
{{ task.title }}
|
|
211
211
|
</li>
|
|
212
212
|
</ul>
|
|
@@ -153,12 +153,12 @@ function stage() {
|
|
|
153
153
|
<UModal v-model:open="open" :title="t('documents.startFromDesign.title')">
|
|
154
154
|
<template #body>
|
|
155
155
|
<div class="space-y-4">
|
|
156
|
-
<p class="text-sm text-
|
|
156
|
+
<p class="text-sm text-muted">{{ t('documents.startFromDesign.intro') }}</p>
|
|
157
157
|
|
|
158
158
|
<!-- No connected design source: the flow cannot run, and saying which step is missing
|
|
159
159
|
beats an input that refuses every paste. The connect route is withheld from a member
|
|
160
160
|
for the same reason the picker's add tier is: connecting stores a credential. -->
|
|
161
|
-
<p v-if="sources.length === 0" class="text-sm text-
|
|
161
|
+
<p v-if="sources.length === 0" class="text-sm text-app-warning-300">
|
|
162
162
|
{{ t('documents.startFromDesign.noSource') }}
|
|
163
163
|
</p>
|
|
164
164
|
|
|
@@ -176,7 +176,7 @@ function stage() {
|
|
|
176
176
|
|
|
177
177
|
<div
|
|
178
178
|
v-if="state.status === 'checking'"
|
|
179
|
-
class="flex items-center gap-2 text-sm text-
|
|
179
|
+
class="flex items-center gap-2 text-sm text-muted"
|
|
180
180
|
>
|
|
181
181
|
<UIcon name="i-lucide-loader" class="h-4 w-4 animate-spin" />
|
|
182
182
|
{{ t('documents.startFromDesign.checking') }}
|
|
@@ -184,32 +184,32 @@ function stage() {
|
|
|
184
184
|
|
|
185
185
|
<div
|
|
186
186
|
v-else-if="row"
|
|
187
|
-
class="space-y-1 rounded-lg border border-
|
|
187
|
+
class="space-y-1 rounded-lg border border-default bg-default/60 p-3"
|
|
188
188
|
data-testid="start-from-design-resolved"
|
|
189
189
|
>
|
|
190
|
-
<div class="flex items-center gap-2 text-sm text-
|
|
191
|
-
<UIcon name="i-lucide-frame" class="h-4 w-4 text-
|
|
190
|
+
<div class="flex items-center gap-2 text-sm text-highlighted">
|
|
191
|
+
<UIcon name="i-lucide-frame" class="h-4 w-4 text-primary" />
|
|
192
192
|
<span class="truncate">{{ row.label }}</span>
|
|
193
193
|
</div>
|
|
194
|
-
<p v-if="row.trimmed" class="text-[11px] text-
|
|
194
|
+
<p v-if="row.trimmed" class="text-[11px] text-muted">
|
|
195
195
|
{{ t('documents.startFromDesign.trimmed') }}
|
|
196
196
|
</p>
|
|
197
197
|
<!-- Its own line, in amber: a trim resolves the same page, a drop widens ONE frame to
|
|
198
198
|
the whole design file, and the second is what a designer needs to see. -->
|
|
199
|
-
<p v-if="row.droppedScope" class="text-[11px] text-
|
|
199
|
+
<p v-if="row.droppedScope" class="text-[11px] text-app-warning-300">
|
|
200
200
|
{{ t('documents.startFromDesign.widened', { scope: row.droppedScope }) }}
|
|
201
201
|
</p>
|
|
202
|
-
<p v-if="row.unchecked && target" class="text-[11px] text-
|
|
202
|
+
<p v-if="row.unchecked && target" class="text-[11px] text-muted">
|
|
203
203
|
{{ t('documents.startFromDesign.unchecked') }}
|
|
204
204
|
</p>
|
|
205
|
-
<p v-else-if="row.unchecked" class="text-[11px] text-
|
|
205
|
+
<p v-else-if="row.unchecked" class="text-[11px] text-app-warning-300">
|
|
206
206
|
{{ t('documents.startFromDesign.uncheckedAmbiguous') }}
|
|
207
207
|
</p>
|
|
208
208
|
</div>
|
|
209
209
|
|
|
210
210
|
<p
|
|
211
211
|
v-else-if="state.status === 'rejected'"
|
|
212
|
-
class="text-sm text-
|
|
212
|
+
class="text-sm text-app-warning-300"
|
|
213
213
|
data-testid="start-from-design-rejected"
|
|
214
214
|
>
|
|
215
215
|
{{ t('documents.startFromDesign.rejected') }}
|
|
@@ -149,23 +149,23 @@ async function attach(item: PendingContext) {
|
|
|
149
149
|
<div
|
|
150
150
|
v-for="doc in linked"
|
|
151
151
|
:key="`${doc.source}:${doc.externalId}`"
|
|
152
|
-
class="rounded-md border border-
|
|
152
|
+
class="rounded-md border border-default bg-default/60 px-2 py-1.5"
|
|
153
153
|
>
|
|
154
154
|
<DocumentOriginLink
|
|
155
155
|
:url="doc.url"
|
|
156
|
-
class="flex items-center gap-1.5 text-xs text-
|
|
157
|
-
hover-class="hover:text-
|
|
156
|
+
class="flex items-center gap-1.5 text-xs text-toned"
|
|
157
|
+
hover-class="hover:text-highlighted"
|
|
158
158
|
>
|
|
159
159
|
<UIcon
|
|
160
160
|
:name="documents.descriptorForOrigin(doc.source)?.icon ?? 'i-lucide-file-text'"
|
|
161
|
-
class="h-3.5 w-3.5 shrink-0 text-
|
|
161
|
+
class="h-3.5 w-3.5 shrink-0 text-primary"
|
|
162
162
|
/>
|
|
163
163
|
<span class="truncate">{{ doc.title }}</span>
|
|
164
164
|
</DocumentOriginLink>
|
|
165
165
|
<DocumentSyncState :doc="doc" class="mt-1" />
|
|
166
166
|
</div>
|
|
167
167
|
</div>
|
|
168
|
-
<p v-else class="text-[11px] text-
|
|
168
|
+
<p v-else class="text-[11px] text-dimmed">
|
|
169
169
|
{{ emptyHint }}
|
|
170
170
|
</p>
|
|
171
171
|
</InspectorSection>
|
|
@@ -37,7 +37,7 @@ function stepLabel(key: string | undefined): string {
|
|
|
37
37
|
|
|
38
38
|
<template>
|
|
39
39
|
<div class="space-y-2" data-testid="env-setup-stepper">
|
|
40
|
-
<p v-if="total" class="text-[11px] font-medium text-
|
|
40
|
+
<p v-if="total" class="text-[11px] font-medium text-muted" data-testid="env-setup-progress">
|
|
41
41
|
{{ t('environmentWizard.progress', { index: index + 1, total }) }}
|
|
42
42
|
</p>
|
|
43
43
|
<ol class="flex items-center gap-2 text-[11px]">
|
|
@@ -50,19 +50,19 @@ function stepLabel(key: string | undefined): string {
|
|
|
50
50
|
<span
|
|
51
51
|
class="flex h-5 w-5 items-center justify-center rounded-full text-[10px] font-semibold"
|
|
52
52
|
:class="{
|
|
53
|
-
'bg-primary
|
|
54
|
-
'bg-
|
|
55
|
-
'bg-
|
|
53
|
+
'bg-primary text-inverted': i === index,
|
|
54
|
+
'bg-app-success-600/70 text-highlighted': i < index,
|
|
55
|
+
'bg-accented text-toned': i > index,
|
|
56
56
|
}"
|
|
57
57
|
>{{ i + 1 }}</span
|
|
58
58
|
>
|
|
59
|
-
<span :class="i === index ? 'text-
|
|
59
|
+
<span :class="i === index ? 'text-app-100' : 'text-dimmed'">
|
|
60
60
|
{{ stepLabel(step.progressLabel) }}
|
|
61
61
|
</span>
|
|
62
62
|
<UIcon
|
|
63
63
|
v-if="i < steps.length - 1"
|
|
64
64
|
name="i-lucide-chevron-right"
|
|
65
|
-
class="h-3 w-3 text-
|
|
65
|
+
class="h-3 w-3 text-app-600"
|
|
66
66
|
/>
|
|
67
67
|
</li>
|
|
68
68
|
</ol>
|
|
@@ -60,32 +60,32 @@ const ENV_STATUS_META = computed<
|
|
|
60
60
|
>(() => ({
|
|
61
61
|
provisioning: {
|
|
62
62
|
label: t('environments.status.provisioning'),
|
|
63
|
-
color: 'text-
|
|
63
|
+
color: 'text-app-warning-300',
|
|
64
64
|
icon: 'i-lucide-loader-circle',
|
|
65
65
|
},
|
|
66
66
|
ready: {
|
|
67
67
|
label: t('environments.status.ready'),
|
|
68
|
-
color: 'text-
|
|
68
|
+
color: 'text-app-success-300',
|
|
69
69
|
icon: 'i-lucide-circle-dot',
|
|
70
70
|
},
|
|
71
71
|
failed: {
|
|
72
72
|
label: t('environments.status.failed'),
|
|
73
|
-
color: 'text-
|
|
73
|
+
color: 'text-app-error-300',
|
|
74
74
|
icon: 'i-lucide-circle-alert',
|
|
75
75
|
},
|
|
76
76
|
expired: {
|
|
77
77
|
label: t('environments.status.expired'),
|
|
78
|
-
color: 'text-
|
|
78
|
+
color: 'text-muted',
|
|
79
79
|
icon: 'i-lucide-circle-off',
|
|
80
80
|
},
|
|
81
81
|
tearing_down: {
|
|
82
82
|
label: t('environments.status.tearing_down'),
|
|
83
|
-
color: 'text-
|
|
83
|
+
color: 'text-muted',
|
|
84
84
|
icon: 'i-lucide-loader-circle',
|
|
85
85
|
},
|
|
86
86
|
torn_down: {
|
|
87
87
|
label: t('environments.status.torn_down'),
|
|
88
|
-
color: 'text-
|
|
88
|
+
color: 'text-muted',
|
|
89
89
|
icon: 'i-lucide-circle-off',
|
|
90
90
|
},
|
|
91
91
|
}))
|
|
@@ -105,8 +105,8 @@ const envInTransition = computed(
|
|
|
105
105
|
</script>
|
|
106
106
|
|
|
107
107
|
<template>
|
|
108
|
-
<section class="rounded-lg border border-
|
|
109
|
-
<h3 class="mb-2 text-[11px] font-semibold uppercase tracking-wide text-
|
|
108
|
+
<section class="rounded-lg border border-default bg-default/60 p-3">
|
|
109
|
+
<h3 class="mb-2 text-[11px] font-semibold uppercase tracking-wide text-dimmed">
|
|
110
110
|
{{ t('environments.title') }}
|
|
111
111
|
</h3>
|
|
112
112
|
<div v-if="environment" class="space-y-2">
|
|
@@ -128,30 +128,30 @@ const envInTransition = computed(
|
|
|
128
128
|
:href="environment.url"
|
|
129
129
|
target="_blank"
|
|
130
130
|
rel="noopener"
|
|
131
|
-
class="inline-flex items-center gap-1.5 break-all text-[13px] text-
|
|
131
|
+
class="inline-flex items-center gap-1.5 break-all text-[13px] text-app-info-300 hover:underline"
|
|
132
132
|
>
|
|
133
133
|
<UIcon name="i-lucide-external-link" class="h-3.5 w-3.5 shrink-0" />
|
|
134
134
|
{{ environment.url }}
|
|
135
135
|
</a>
|
|
136
|
-
<p v-if="environment.expiresAt" class="text-[11px] text-
|
|
136
|
+
<p v-if="environment.expiresAt" class="text-[11px] text-dimmed">
|
|
137
137
|
{{ t('environments.expires', { date: d(new Date(environment.expiresAt), 'long') }) }}
|
|
138
138
|
</p>
|
|
139
139
|
<!-- The resolved provision type + engine recorded at provision time, so a run states
|
|
140
140
|
exactly what was provisioned and how (the what/where ÷ how split). -->
|
|
141
141
|
<dl v-if="provisionTypeLabel || engineLabel" class="flex flex-wrap gap-x-4 gap-y-0.5">
|
|
142
142
|
<div v-if="provisionTypeLabel" class="flex items-center gap-1 text-[11px]">
|
|
143
|
-
<dt class="text-
|
|
144
|
-
<dd class="text-
|
|
143
|
+
<dt class="text-dimmed">{{ t('environments.provisionTypeLabel') }}</dt>
|
|
144
|
+
<dd class="text-toned">{{ provisionTypeLabel }}</dd>
|
|
145
145
|
</div>
|
|
146
146
|
<div v-if="engineLabel" class="flex items-center gap-1 text-[11px]">
|
|
147
|
-
<dt class="text-
|
|
148
|
-
<dd class="text-
|
|
147
|
+
<dt class="text-dimmed">{{ t('environments.engineLabel') }}</dt>
|
|
148
|
+
<dd class="text-toned">{{ engineLabel }}</dd>
|
|
149
149
|
</div>
|
|
150
150
|
</dl>
|
|
151
151
|
<!-- The verbatim provider error when the environment failed/expired. -->
|
|
152
152
|
<pre
|
|
153
153
|
v-if="failureShown"
|
|
154
|
-
class="mt-1 max-h-32 overflow-auto whitespace-pre-wrap rounded border border-
|
|
154
|
+
class="mt-1 max-h-32 overflow-auto whitespace-pre-wrap rounded border border-app-error-900/60 bg-app-error-950/40 p-1.5 text-[11px] text-app-error-200/90"
|
|
155
155
|
>{{ environment.lastError }}</pre>
|
|
156
156
|
<!-- What the provider says it is still waiting on. Muted rather than alarming: an
|
|
157
157
|
environment mid-rollout is healthy, and styling this like the error above would report
|
|
@@ -159,12 +159,12 @@ const envInTransition = computed(
|
|
|
159
159
|
prose. -->
|
|
160
160
|
<p
|
|
161
161
|
v-if="statusNote"
|
|
162
|
-
class="mt-1 max-h-32 overflow-auto whitespace-pre-wrap break-words text-[11px] text-
|
|
162
|
+
class="mt-1 max-h-32 overflow-auto whitespace-pre-wrap break-words text-[11px] text-muted"
|
|
163
163
|
>
|
|
164
164
|
{{ t('environments.statusNote', { note: statusNote }) }}
|
|
165
165
|
</p>
|
|
166
166
|
</div>
|
|
167
|
-
<p v-else class="text-[12px] text-
|
|
167
|
+
<p v-else class="text-[12px] text-dimmed">
|
|
168
168
|
{{ degradedReason ?? t('environments.empty') }}
|
|
169
169
|
</p>
|
|
170
170
|
</section>
|
|
@@ -17,11 +17,11 @@ const { t } = useI18n()
|
|
|
17
17
|
|
|
18
18
|
<template>
|
|
19
19
|
<section class="space-y-3" data-testid="env-setup-step-pick">
|
|
20
|
-
<p class="text-sm text-
|
|
20
|
+
<p class="text-sm text-muted">{{ t('environmentWizard.pick.intro') }}</p>
|
|
21
21
|
<!-- The one-service scope caveat, stated on the step that asks for the service: nothing
|
|
22
22
|
here changes any other service, and running it twice just re-edits this one's recipe. -->
|
|
23
|
-
<p class="text-xs leading-relaxed text-
|
|
24
|
-
<p v-if="!store.serviceFrames.length" class="text-sm text-
|
|
23
|
+
<p class="text-xs leading-relaxed text-dimmed">{{ t('environmentWizard.pick.scope') }}</p>
|
|
24
|
+
<p v-if="!store.serviceFrames.length" class="text-sm text-dimmed">
|
|
25
25
|
{{ t('environmentWizard.pick.empty') }}
|
|
26
26
|
</p>
|
|
27
27
|
<div v-else class="space-y-1.5">
|
|
@@ -35,7 +35,7 @@ const PREFLIGHT_COLOR: Record<'pass' | 'warn' | 'fail', 'success' | 'warning' |
|
|
|
35
35
|
<template>
|
|
36
36
|
<section class="space-y-3" data-testid="env-setup-step-preflight">
|
|
37
37
|
<div class="flex items-center justify-between gap-2">
|
|
38
|
-
<p class="text-sm text-
|
|
38
|
+
<p class="text-sm text-muted">{{ t('environmentWizard.preflight.intro') }}</p>
|
|
39
39
|
<UButton
|
|
40
40
|
size="xs"
|
|
41
41
|
variant="soft"
|
|
@@ -51,21 +51,21 @@ const PREFLIGHT_COLOR: Record<'pass' | 'warn' | 'fail', 'success' | 'warning' |
|
|
|
51
51
|
|
|
52
52
|
<p
|
|
53
53
|
v-if="!store.recipe.prerequisites?.length"
|
|
54
|
-
class="text-[12px] text-
|
|
54
|
+
class="text-[12px] text-dimmed"
|
|
55
55
|
data-testid="env-setup-preflight-none"
|
|
56
56
|
>
|
|
57
57
|
{{ t('environmentWizard.preflight.none') }}
|
|
58
58
|
</p>
|
|
59
59
|
<p
|
|
60
60
|
v-else-if="preflightsUnavailable"
|
|
61
|
-
class="text-[12px] text-
|
|
61
|
+
class="text-[12px] text-app-warning-300/80"
|
|
62
62
|
data-testid="env-setup-preflight-unavailable"
|
|
63
63
|
>
|
|
64
64
|
{{ t('environmentWizard.preflight.unavailable') }}
|
|
65
65
|
</p>
|
|
66
66
|
<p
|
|
67
67
|
v-if="store.preflightError"
|
|
68
|
-
class="text-[12px] text-
|
|
68
|
+
class="text-[12px] text-app-error-300/80"
|
|
69
69
|
data-testid="env-setup-preflight-error"
|
|
70
70
|
>
|
|
71
71
|
{{ store.preflightError }}
|
|
@@ -79,21 +79,21 @@ const PREFLIGHT_COLOR: Record<'pass' | 'warn' | 'fail', 'success' | 'warning' |
|
|
|
79
79
|
<li
|
|
80
80
|
v-for="r in store.preflightResults"
|
|
81
81
|
:key="r.title"
|
|
82
|
-
class="rounded border border-
|
|
82
|
+
class="rounded border border-default bg-default/40 p-2"
|
|
83
83
|
>
|
|
84
84
|
<div class="flex items-center gap-2">
|
|
85
85
|
<UBadge :color="PREFLIGHT_COLOR[r.status]" variant="subtle" size="sm">
|
|
86
86
|
{{ r.status }}
|
|
87
87
|
</UBadge>
|
|
88
|
-
<span class="text-[12px] text-
|
|
89
|
-
<span v-if="!r.required" class="ms-auto text-[10px] text-
|
|
88
|
+
<span class="text-[12px] text-default">{{ r.title }}</span>
|
|
89
|
+
<span v-if="!r.required" class="ms-auto text-[10px] text-dimmed">
|
|
90
90
|
{{ t('environmentWizard.preflight.optional') }}
|
|
91
91
|
</span>
|
|
92
92
|
</div>
|
|
93
|
-
<p v-if="r.detail" class="mt-1 text-[11px] text-
|
|
93
|
+
<p v-if="r.detail" class="mt-1 text-[11px] text-muted">{{ r.detail }}</p>
|
|
94
94
|
<pre
|
|
95
95
|
v-if="r.status !== 'pass' && r.remediation"
|
|
96
|
-
class="mt-1 max-h-40 overflow-auto whitespace-pre-wrap rounded border border-
|
|
96
|
+
class="mt-1 max-h-40 overflow-auto whitespace-pre-wrap rounded border border-app-warning-900/40 bg-app-warning-950/20 p-1.5 text-[11px] text-app-warning-200/90"
|
|
97
97
|
>{{ r.remediation }}</pre>
|
|
98
98
|
</li>
|
|
99
99
|
</ul>
|