@cat-factory/app 0.310.1 → 0.310.3
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 +23 -0
- package/app/app.config.ts +11 -0
- package/app/components/assistant/AssistantModal.vue +0 -1
- package/app/components/auth/BackendMisconfiguredScreen.vue +1 -1
- package/app/components/auth/LoginScreen.vue +2 -18
- package/app/components/auth/ResetPasswordScreen.vue +2 -3
- package/app/components/board/AddTaskModal.vue +0 -1
- package/app/components/board/BoardCanvas.vue +0 -2
- package/app/components/board/CreateInitiativeModal.vue +0 -1
- package/app/components/board/RecurringPipelineModal.vue +1 -7
- package/app/components/board/ReviewFrictionDialog.vue +1 -7
- package/app/components/board/nodes/InitiativeCard.vue +0 -4
- package/app/components/board/nodes/TaskCard.vue +1 -8
- package/app/components/bootstrap/AdoptionReviewModal.vue +0 -1
- package/app/components/bootstrap/BootstrapModal.vue +1 -7
- package/app/components/brainstorm/BrainstormWindow.vue +0 -5
- package/app/components/bugFishing/BugFishingWindow.vue +0 -2
- package/app/components/clarity/ClarityReviewWindow.vue +0 -4
- package/app/components/common/AsyncViewError.vue +1 -1
- package/app/components/common/ClarificationItem.vue +0 -2
- package/app/components/context/ContextAttachmentFields.vue +1 -1
- package/app/components/docs/DocInterviewWindow.vue +0 -1
- package/app/components/documents/DocumentImportModal.vue +0 -3
- package/app/components/documents/DocumentSourceConnectModal.vue +2 -9
- package/app/components/documents/DocumentTemplatesModal.vue +1 -7
- package/app/components/documents/SpawnPreviewModal.vue +0 -1
- package/app/components/documents/StartFromDesignModal.vue +0 -1
- package/app/components/environments/steps/EnvPreflightStep.vue +0 -2
- package/app/components/environments/steps/EnvReviewStep.vue +1 -4
- package/app/components/environments/steps/EnvSaveStep.vue +0 -1
- package/app/components/focus/BlockFocusView.vue +0 -2
- package/app/components/followUp/FollowUpWindow.vue +0 -2
- package/app/components/forkDecision/ForkDecisionWindow.vue +1 -2
- package/app/components/foundational/FoundationalServiceCatalogList.vue +2 -0
- package/app/components/foundational/FoundationalServiceRegistry.vue +9 -2
- package/app/components/foundational/FoundationalServiceSources.vue +2 -0
- package/app/components/foundational/FoundationalSuppressions.vue +1 -0
- package/app/components/fragments/FragmentLibraryManager.vue +4 -0
- package/app/components/fragments/FragmentSelector.vue +0 -1
- package/app/components/gates/GateResultView.vue +0 -1
- package/app/components/github/AddServiceFromRepoModal.vue +0 -2
- package/app/components/github/GitHubConnect.vue +1 -2
- package/app/components/github/GitHubPanel.vue +0 -2
- package/app/components/github/RepoTreeBrowser.vue +3 -3
- package/app/components/guidedReview/GuidedReviewDraftCard.vue +17 -5
- package/app/components/guidedReview/GuidedReviewModal.vue +1 -0
- package/app/components/guidedReview/GuidedReviewOverview.vue +1 -0
- package/app/components/guidedReview/GuidedReviewPicker.vue +0 -1
- package/app/components/guidedReview/GuidedReviewThread.vue +0 -2
- package/app/components/humanTest/HumanTestWindow.vue +3 -3
- package/app/components/initiative/InitiativePlanDecision.vue +0 -1
- package/app/components/initiative/InitiativePlanReview.vue +0 -1
- package/app/components/initiative/InitiativePlanningWindow.vue +2 -3
- package/app/components/initiative/InitiativeTrackerWindow.vue +1 -1
- package/app/components/inputGate/InputGateNotice.vue +0 -1
- package/app/components/judge/JudgeResultView.vue +1 -1
- package/app/components/layout/AccountDeploymentSettings.vue +13 -43
- package/app/components/layout/AccountModelPolicySettings.vue +0 -1
- package/app/components/layout/AccountPlatformAlertSettings.vue +0 -1
- package/app/components/layout/AccountRunCredentialSettings.vue +0 -1
- package/app/components/layout/AccountTeamSettings.vue +4 -4
- package/app/components/layout/AiProvidersBanner.vue +1 -7
- package/app/components/layout/BoardSwitcher.vue +1 -1
- package/app/components/layout/DefaultTestEnvBanner.vue +0 -1
- package/app/components/layout/GitHubPatBanner.vue +0 -1
- package/app/components/layout/GitHubPatPermissionsBanner.vue +0 -1
- package/app/components/layout/InfraSetupBanner.vue +0 -1
- package/app/components/layout/IntegrationsHub.vue +0 -2
- package/app/components/layout/ModelProvidersHub.vue +1 -6
- package/app/components/layout/ProviderConfigBanner.vue +0 -1
- package/app/components/layout/SideBar.vue +0 -1
- package/app/components/layout/SpendWarningBanner.vue +0 -1
- package/app/components/layout/WorkspaceMembersSettings.vue +0 -1
- package/app/components/notifications/NotificationSettingsPanel.vue +0 -1
- package/app/components/outcome/OutcomeSummaryWindow.vue +0 -3
- package/app/components/panels/AgentStepDetail.vue +2 -5
- package/app/components/panels/DecisionModal.vue +0 -1
- package/app/components/panels/InspectorPanel.vue +1 -1
- package/app/components/panels/inspector/ContainerSummary.vue +1 -1
- package/app/components/panels/inspector/FrontendConfig.vue +0 -4
- package/app/components/panels/inspector/InitiativeInspector.vue +1 -6
- package/app/components/panels/inspector/RecurringScheduleSettings.vue +1 -3
- package/app/components/panels/inspector/ServiceReleaseHealthConfig.vue +2 -9
- package/app/components/panels/inspector/ServiceSelfTests.vue +0 -2
- package/app/components/panels/inspector/ServiceTestConfig.vue +1 -4
- package/app/components/panels/inspector/ServiceTestSecrets.vue +1 -2
- package/app/components/panels/inspector/ServiceTestingContext.vue +0 -1
- package/app/components/panels/inspector/ServiceValidationConfig.vue +1 -2
- package/app/components/panels/inspector/TaskExecution.vue +1 -5
- package/app/components/panels/inspector/TaskReviewTarget.vue +0 -2
- package/app/components/panels/inspector/TaskRunSettings.vue +2 -14
- package/app/components/panels/inspector/TaskTypeFields.vue +0 -1
- package/app/components/pipeline/AgentPromptEditor.vue +0 -2
- package/app/components/pipeline/IterationCapPrompt.vue +0 -1
- package/app/components/pipeline/PipelineBuilder.vue +2 -11
- package/app/components/pipeline/PipelineHealthModal.vue +2 -6
- package/app/components/prReview/PrReviewWindow.vue +0 -4
- package/app/components/providers/AiPresetMismatchDialog.vue +1 -1
- package/app/components/providers/AiProviderOnboardingModal.vue +2 -8
- package/app/components/providers/VendorCredentialsModal.vue +1 -7
- package/app/components/provisioning/ProvisioningLogsDrawer.vue +1 -0
- package/app/components/requirements/RequirementsReviewWindow.vue +0 -7
- package/app/components/sandbox/SandboxPanel.vue +1 -3
- package/app/components/settings/BudgetSettings.vue +1 -9
- package/app/components/settings/ComposeEnvironmentSetupSection.vue +0 -1
- package/app/components/settings/ConsensusGroupsSection.vue +0 -1
- package/app/components/settings/CustomManifestTypeEditor.vue +1 -1
- package/app/components/settings/DefaultProvisionTypeSection.vue +0 -1
- package/app/components/settings/InfraHandlersConfigurator.vue +2 -2
- package/app/components/settings/IssueTrackerPanel.vue +1 -8
- package/app/components/settings/KubernetesEngineForm.vue +1 -7
- package/app/components/settings/KubernetesEnvironmentForm.vue +1 -7
- package/app/components/settings/LocalContainerPoolSettings.vue +1 -1
- package/app/components/settings/LocalModelEndpointsPanel.vue +0 -1
- package/app/components/settings/McpAuthorizeScreen.vue +0 -1
- package/app/components/settings/McpOAuthCallbackScreen.vue +1 -1
- package/app/components/settings/ModelConfigurationPanel.vue +3 -10
- package/app/components/settings/ModelPresetHealthModal.vue +0 -3
- package/app/components/settings/OpenRouterCatalogPanel.vue +1 -9
- package/app/components/settings/ProviderConnectionTab.vue +2 -7
- package/app/components/settings/ProviderManifestEditor.vue +0 -1
- package/app/components/settings/RiskPolicyCreateForm.vue +0 -1
- package/app/components/settings/RiskPolicyEditorRow.vue +1 -2
- package/app/components/settings/RiskPolicyHealthModal.vue +0 -3
- package/app/components/settings/ServiceFragmentDefaultsPanel.vue +0 -3
- package/app/components/settings/ToolServerChecklist.vue +1 -1
- package/app/components/settings/UserSecretsSection.vue +1 -7
- package/app/components/settings/WorkspaceMetadataSettings.vue +0 -1
- package/app/components/settings/WorkspaceSettingsPanel.vue +1 -7
- package/app/components/skills/ReviewSkillQueue.vue +0 -1
- package/app/components/skills/SkillLibraryManager.vue +2 -0
- package/app/components/slack/SlackPanel.vue +1 -5
- package/app/components/spec/ServiceSpecWindow.vue +0 -1
- package/app/components/tasks/BugHuntModal.vue +0 -3
- package/app/components/tasks/TaskImportModal.vue +0 -2
- package/app/components/tasks/TaskSourceConnectModal.vue +2 -9
- package/app/components/testing/TestReportWindow.vue +2 -0
- package/app/components/tutorial/TutorialCatalogue.vue +0 -1
- package/app/components/tutorial/TutorialNudge.vue +0 -1
- package/app/components/tutorial/TutorialOverlay.vue +0 -2
- package/app/components/tutorial/TutorialPrompt.vue +0 -1
- package/app/components/vcs/GitLabConnect.vue +0 -1
- package/app/components/visualConfirm/VisualConfirmationWindow.vue +1 -1
- package/app/pages/index.vue +1 -1
- package/package.json +1 -1
|
@@ -134,7 +134,6 @@ function openApprovalFor(approvalId: string) {
|
|
|
134
134
|
<!-- An initiative has one legal pipeline, so it gets the button, not the picker. -->
|
|
135
135
|
<UButton
|
|
136
136
|
v-if="isInitiative"
|
|
137
|
-
color="primary"
|
|
138
137
|
variant="soft"
|
|
139
138
|
size="sm"
|
|
140
139
|
icon="i-lucide-play"
|
|
@@ -177,7 +176,6 @@ function openApprovalFor(approvalId: string) {
|
|
|
177
176
|
>
|
|
178
177
|
<template #trigger>
|
|
179
178
|
<UButton
|
|
180
|
-
color="primary"
|
|
181
179
|
variant="soft"
|
|
182
180
|
size="sm"
|
|
183
181
|
icon="i-lucide-play"
|
|
@@ -246,7 +246,6 @@ function hasRecordedAnswer(item: FollowUpItem): boolean {
|
|
|
246
246
|
<div class="flex flex-wrap items-center gap-2">
|
|
247
247
|
<UButton
|
|
248
248
|
size="xs"
|
|
249
|
-
color="primary"
|
|
250
249
|
:loading="followUps.isActing(item.id)"
|
|
251
250
|
:disabled="!(drafts[item.id] ?? '').trim() || !access.canExecuteRuns.value"
|
|
252
251
|
:title="access.canExecuteRuns.value ? undefined : t('access.noRunExecute')"
|
|
@@ -287,7 +286,6 @@ function hasRecordedAnswer(item: FollowUpItem): boolean {
|
|
|
287
286
|
<div v-else class="flex flex-wrap items-center gap-2">
|
|
288
287
|
<UButton
|
|
289
288
|
size="xs"
|
|
290
|
-
color="primary"
|
|
291
289
|
icon="i-lucide-ticket"
|
|
292
290
|
:loading="followUps.isActing(item.id)"
|
|
293
291
|
:disabled="!access.canExecuteRuns.value"
|
|
@@ -238,7 +238,7 @@ const { requestClose } = useUnsavedGuard({
|
|
|
238
238
|
<template #label="{ item }">
|
|
239
239
|
<span class="flex items-center gap-2">
|
|
240
240
|
<span class="min-w-0 flex-1 text-sm font-medium text-app-100">{{ item.label }}</span>
|
|
241
|
-
<UBadge v-if="item.fork?.recommended"
|
|
241
|
+
<UBadge v-if="item.fork?.recommended" variant="subtle" size="sm">
|
|
242
242
|
{{ t('forkDecision.recommended') }}
|
|
243
243
|
</UBadge>
|
|
244
244
|
</span>
|
|
@@ -382,7 +382,6 @@ const { requestClose } = useUnsavedGuard({
|
|
|
382
382
|
</UButton>
|
|
383
383
|
<UButton
|
|
384
384
|
data-testid="fork-option-choose"
|
|
385
|
-
color="primary"
|
|
386
385
|
size="sm"
|
|
387
386
|
icon="i-lucide-check"
|
|
388
387
|
:loading="forkDecision.choosing"
|
|
@@ -105,6 +105,7 @@ async function suppress(serviceId: string) {
|
|
|
105
105
|
|
|
106
106
|
<div class="mt-2 flex items-center gap-2">
|
|
107
107
|
<UButton
|
|
108
|
+
color="neutral"
|
|
108
109
|
v-if="s.contracts.length"
|
|
109
110
|
size="xs"
|
|
110
111
|
variant="ghost"
|
|
@@ -141,6 +142,7 @@ async function suppress(serviceId: string) {
|
|
|
141
142
|
deployment registered in code; the board's own row is managed in the registry tab,
|
|
142
143
|
where deleting it is the honest action. -->
|
|
143
144
|
<IconButton
|
|
145
|
+
color="neutral"
|
|
144
146
|
v-if="s.tier !== 'workspace'"
|
|
145
147
|
icon="i-lucide-eye-off"
|
|
146
148
|
size="xs"
|
|
@@ -205,6 +205,7 @@ async function remove(service: FoundationalService) {
|
|
|
205
205
|
</div>
|
|
206
206
|
<div class="flex shrink-0 gap-1">
|
|
207
207
|
<IconButton
|
|
208
|
+
color="neutral"
|
|
208
209
|
v-if="!s.sourceId"
|
|
209
210
|
icon="i-lucide-pencil"
|
|
210
211
|
size="xs"
|
|
@@ -310,7 +311,13 @@ async function remove(service: FoundationalService) {
|
|
|
310
311
|
:placeholder="t('foundational.registry.contractBodyPlaceholder')"
|
|
311
312
|
/>
|
|
312
313
|
</div>
|
|
313
|
-
<UButton
|
|
314
|
+
<UButton
|
|
315
|
+
color="neutral"
|
|
316
|
+
icon="i-lucide-plus"
|
|
317
|
+
size="xs"
|
|
318
|
+
variant="ghost"
|
|
319
|
+
@click="addContract"
|
|
320
|
+
>
|
|
314
321
|
{{ t('foundational.registry.addContract') }}
|
|
315
322
|
</UButton>
|
|
316
323
|
</div>
|
|
@@ -325,7 +332,7 @@ async function remove(service: FoundationalService) {
|
|
|
325
332
|
>
|
|
326
333
|
{{ t('foundational.registry.save') }}
|
|
327
334
|
</UButton>
|
|
328
|
-
<UButton size="sm" variant="ghost" @click="editing = null">
|
|
335
|
+
<UButton color="neutral" size="sm" variant="ghost" @click="editing = null">
|
|
329
336
|
{{ t('foundational.registry.cancel') }}
|
|
330
337
|
</UButton>
|
|
331
338
|
</div>
|
|
@@ -297,6 +297,7 @@ async function unlink(id: string) {
|
|
|
297
297
|
</UBadge>
|
|
298
298
|
<div class="ms-auto flex gap-1">
|
|
299
299
|
<IconButton
|
|
300
|
+
color="neutral"
|
|
300
301
|
icon="i-lucide-search-check"
|
|
301
302
|
size="xs"
|
|
302
303
|
variant="ghost"
|
|
@@ -305,6 +306,7 @@ async function unlink(id: string) {
|
|
|
305
306
|
@click="check(s.id)"
|
|
306
307
|
/>
|
|
307
308
|
<IconButton
|
|
309
|
+
color="neutral"
|
|
308
310
|
icon="i-lucide-refresh-cw"
|
|
309
311
|
size="xs"
|
|
310
312
|
variant="ghost"
|
|
@@ -752,6 +752,7 @@ async function unlinkSource(id: string) {
|
|
|
752
752
|
<!-- Editing a repo-SOURCED fragment locally would be overwritten on the next sync,
|
|
753
753
|
so only hand-authored fragments are editable here. -->
|
|
754
754
|
<IconButton
|
|
755
|
+
color="neutral"
|
|
755
756
|
v-if="!f.source"
|
|
756
757
|
icon="i-lucide-pencil"
|
|
757
758
|
size="xs"
|
|
@@ -868,6 +869,7 @@ async function unlinkSource(id: string) {
|
|
|
868
869
|
</div>
|
|
869
870
|
<div class="ms-auto flex gap-1">
|
|
870
871
|
<IconButton
|
|
872
|
+
color="neutral"
|
|
871
873
|
icon="i-lucide-refresh-cw"
|
|
872
874
|
size="xs"
|
|
873
875
|
variant="ghost"
|
|
@@ -1026,6 +1028,7 @@ async function unlinkSource(id: string) {
|
|
|
1026
1028
|
</UBadge>
|
|
1027
1029
|
<div class="ms-auto flex gap-1">
|
|
1028
1030
|
<UButton
|
|
1031
|
+
color="neutral"
|
|
1029
1032
|
icon="i-lucide-search-check"
|
|
1030
1033
|
size="xs"
|
|
1031
1034
|
variant="ghost"
|
|
@@ -1033,6 +1036,7 @@ async function unlinkSource(id: string) {
|
|
|
1033
1036
|
@click="checkSource(s.id)"
|
|
1034
1037
|
/>
|
|
1035
1038
|
<UButton
|
|
1039
|
+
color="neutral"
|
|
1036
1040
|
icon="i-lucide-refresh-cw"
|
|
1037
1041
|
size="xs"
|
|
1038
1042
|
variant="ghost"
|
|
@@ -597,7 +597,6 @@ function done() {
|
|
|
597
597
|
|
|
598
598
|
<div class="flex justify-end">
|
|
599
599
|
<UButton
|
|
600
|
-
color="primary"
|
|
601
600
|
icon="i-lucide-plus"
|
|
602
601
|
size="sm"
|
|
603
602
|
:loading="adding"
|
|
@@ -675,7 +674,6 @@ function done() {
|
|
|
675
674
|
</UButton>
|
|
676
675
|
<UButton
|
|
677
676
|
v-if="!isMonorepo && !configuredBlock"
|
|
678
|
-
color="primary"
|
|
679
677
|
icon="i-lucide-plus"
|
|
680
678
|
:loading="adding"
|
|
681
679
|
:disabled="!canAdd"
|
|
@@ -151,7 +151,6 @@ async function connectManually() {
|
|
|
151
151
|
<UButton
|
|
152
152
|
v-else
|
|
153
153
|
size="xs"
|
|
154
|
-
color="primary"
|
|
155
154
|
variant="subtle"
|
|
156
155
|
icon="i-lucide-plug"
|
|
157
156
|
:loading="connectingId === inst.installationId"
|
|
@@ -164,7 +163,7 @@ async function connectManually() {
|
|
|
164
163
|
</section>
|
|
165
164
|
|
|
166
165
|
<USeparator :label="t('github.connect.or')" />
|
|
167
|
-
<UButton
|
|
166
|
+
<UButton icon="i-lucide-github" :loading="installing" @click="install">
|
|
168
167
|
{{ t('github.connect.installApp') }}
|
|
169
168
|
</UButton>
|
|
170
169
|
|
|
@@ -453,7 +453,6 @@ async function merge(pr: GitHubPullRequest) {
|
|
|
453
453
|
{{ t('common.cancel') }}
|
|
454
454
|
</UButton>
|
|
455
455
|
<UButton
|
|
456
|
-
color="primary"
|
|
457
456
|
size="sm"
|
|
458
457
|
icon="i-lucide-save"
|
|
459
458
|
:loading="github.savingRepos"
|
|
@@ -625,7 +624,6 @@ async function merge(pr: GitHubPullRequest) {
|
|
|
625
624
|
</div>
|
|
626
625
|
<div class="flex justify-end">
|
|
627
626
|
<UButton
|
|
628
|
-
color="primary"
|
|
629
627
|
icon="i-lucide-git-pull-request"
|
|
630
628
|
:loading="openingPr"
|
|
631
629
|
:disabled="!canOpenPr"
|
|
@@ -207,7 +207,7 @@ watch(
|
|
|
207
207
|
class="flex items-center justify-between gap-2 px-3 py-1.5"
|
|
208
208
|
>
|
|
209
209
|
<UButton
|
|
210
|
-
color="
|
|
210
|
+
color="neutral"
|
|
211
211
|
variant="ghost"
|
|
212
212
|
class="flex items-center gap-2 truncate p-0 text-sm text-default hover:bg-transparent hover:text-primary"
|
|
213
213
|
@click="browseTo(entry.path)"
|
|
@@ -258,7 +258,7 @@ watch(
|
|
|
258
258
|
@update:model-value="toggleAllFiles"
|
|
259
259
|
/>
|
|
260
260
|
<UButton
|
|
261
|
-
color="
|
|
261
|
+
color="neutral"
|
|
262
262
|
variant="ghost"
|
|
263
263
|
class="p-0 text-xs text-muted hover:bg-transparent hover:text-primary"
|
|
264
264
|
@click="toggleAllFiles"
|
|
@@ -285,7 +285,7 @@ watch(
|
|
|
285
285
|
@update:model-value="pick(entry.path)"
|
|
286
286
|
/>
|
|
287
287
|
<UButton
|
|
288
|
-
color="
|
|
288
|
+
color="neutral"
|
|
289
289
|
variant="ghost"
|
|
290
290
|
class="flex items-center gap-2 truncate p-0 text-sm hover:bg-transparent hover:text-primary"
|
|
291
291
|
:class="isPicked(entry.path) ? 'text-primary' : 'text-toned'"
|
|
@@ -111,10 +111,16 @@ async function discard(): Promise<void> {
|
|
|
111
111
|
]"
|
|
112
112
|
:aria-label="t('guidedReview.drafts.sideLabel')"
|
|
113
113
|
/>
|
|
114
|
-
<UButton size="sm"
|
|
114
|
+
<UButton size="sm" :loading="saving" @click="save">
|
|
115
115
|
{{ t('guidedReview.drafts.save') }}
|
|
116
116
|
</UButton>
|
|
117
|
-
<UButton
|
|
117
|
+
<UButton
|
|
118
|
+
color="neutral"
|
|
119
|
+
size="sm"
|
|
120
|
+
variant="ghost"
|
|
121
|
+
:disabled="saving"
|
|
122
|
+
@click="editing = false"
|
|
123
|
+
>
|
|
118
124
|
{{ t('guidedReview.drafts.cancel') }}
|
|
119
125
|
</UButton>
|
|
120
126
|
</div>
|
|
@@ -126,13 +132,19 @@ async function discard(): Promise<void> {
|
|
|
126
132
|
{{ t('guidedReview.drafts.postFailed') }}: {{ draft.postError }}
|
|
127
133
|
</p>
|
|
128
134
|
<div v-if="editable" class="mt-2 flex gap-2">
|
|
129
|
-
<UButton
|
|
135
|
+
<UButton
|
|
136
|
+
color="neutral"
|
|
137
|
+
size="xs"
|
|
138
|
+
variant="ghost"
|
|
139
|
+
icon="i-lucide-pencil"
|
|
140
|
+
@click="startEdit"
|
|
141
|
+
>
|
|
130
142
|
{{ t('guidedReview.drafts.edit') }}
|
|
131
143
|
</UButton>
|
|
132
144
|
<UButton
|
|
145
|
+
color="error"
|
|
146
|
+
variant="soft"
|
|
133
147
|
size="xs"
|
|
134
|
-
variant="ghost"
|
|
135
|
-
color="neutral"
|
|
136
148
|
icon="i-lucide-trash-2"
|
|
137
149
|
:loading="saving"
|
|
138
150
|
@click="discard"
|
|
@@ -196,7 +196,6 @@ async function draftComments(): Promise<void> {
|
|
|
196
196
|
/>
|
|
197
197
|
<div class="flex flex-wrap items-center gap-2">
|
|
198
198
|
<UButton
|
|
199
|
-
color="primary"
|
|
200
199
|
icon="i-lucide-upload"
|
|
201
200
|
:loading="posting"
|
|
202
201
|
:disabled="!toPost.length"
|
|
@@ -242,7 +241,6 @@ async function draftComments(): Promise<void> {
|
|
|
242
241
|
data-testid="guided-review-deep"
|
|
243
242
|
/>
|
|
244
243
|
<UButton
|
|
245
|
-
color="primary"
|
|
246
244
|
icon="i-lucide-send"
|
|
247
245
|
:loading="sending"
|
|
248
246
|
:disabled="!canSend"
|
|
@@ -223,9 +223,9 @@ const canDestroy = computed(
|
|
|
223
223
|
{{ t('humanTest.actions.recreate') }}
|
|
224
224
|
</UButton>
|
|
225
225
|
<UButton
|
|
226
|
-
|
|
226
|
+
color="error"
|
|
227
227
|
variant="soft"
|
|
228
|
-
|
|
228
|
+
size="xs"
|
|
229
229
|
icon="i-lucide-trash-2"
|
|
230
230
|
:disabled="busy || !canDestroy || !access.canExecuteRuns.value"
|
|
231
231
|
:title="access.canExecuteRuns.value ? undefined : t('access.noRunExecute')"
|
|
@@ -281,6 +281,7 @@ const canDestroy = computed(
|
|
|
281
281
|
class="w-full"
|
|
282
282
|
/>
|
|
283
283
|
<UButton
|
|
284
|
+
variant="soft"
|
|
284
285
|
size="sm"
|
|
285
286
|
color="warning"
|
|
286
287
|
icon="i-lucide-wrench"
|
|
@@ -353,7 +354,6 @@ const canDestroy = computed(
|
|
|
353
354
|
:failure-at="instance?.failure?.occurredAt"
|
|
354
355
|
/>
|
|
355
356
|
<UButton
|
|
356
|
-
color="primary"
|
|
357
357
|
icon="i-lucide-circle-check"
|
|
358
358
|
:loading="busy"
|
|
359
359
|
:disabled="busy || !awaitingHuman || !access.canExecuteRuns.value"
|
|
@@ -114,7 +114,6 @@ const disabledTitle = computed(() => (props.canExecute ? undefined : t('access.n
|
|
|
114
114
|
/>
|
|
115
115
|
<div class="mt-2 flex flex-wrap items-center gap-2">
|
|
116
116
|
<UButton
|
|
117
|
-
color="primary"
|
|
118
117
|
size="xs"
|
|
119
118
|
icon="i-lucide-check"
|
|
120
119
|
data-testid="initiative-plan-approve"
|
|
@@ -204,7 +204,7 @@ async function onDiscard() {
|
|
|
204
204
|
@close="close"
|
|
205
205
|
>
|
|
206
206
|
<template v-if="initiative" #header-extras>
|
|
207
|
-
<UBadge
|
|
207
|
+
<UBadge variant="subtle" size="sm">
|
|
208
208
|
{{ t(INITIATIVE_STATUS_LABEL_KEYS[initiative.status]) }}
|
|
209
209
|
</UBadge>
|
|
210
210
|
</template>
|
|
@@ -343,7 +343,7 @@ async function onDiscard() {
|
|
|
343
343
|
<UButton
|
|
344
344
|
v-if="canDiscard"
|
|
345
345
|
color="error"
|
|
346
|
-
variant="
|
|
346
|
+
variant="soft"
|
|
347
347
|
size="sm"
|
|
348
348
|
icon="i-lucide-trash-2"
|
|
349
349
|
:loading="resetting"
|
|
@@ -383,7 +383,6 @@ async function onDiscard() {
|
|
|
383
383
|
{{ t('initiative.planning.proceed') }}
|
|
384
384
|
</UButton>
|
|
385
385
|
<UButton
|
|
386
|
-
color="primary"
|
|
387
386
|
size="sm"
|
|
388
387
|
:loading="resuming"
|
|
389
388
|
:disabled="unanswered > 0 || resetting"
|
|
@@ -329,7 +329,7 @@ const { requestClose } = useUnsavedGuard({
|
|
|
329
329
|
{{ t('initiative.card.progress', { done: progress.settled, total: progress.total }) }}
|
|
330
330
|
</span>
|
|
331
331
|
</div>
|
|
332
|
-
<UBadge v-if="initiative"
|
|
332
|
+
<UBadge v-if="initiative" variant="subtle" size="sm">
|
|
333
333
|
{{ t(INITIATIVE_STATUS_LABEL_KEYS[initiative.status]) }}
|
|
334
334
|
</UBadge>
|
|
335
335
|
</template>
|
|
@@ -280,6 +280,7 @@ async function act(choice: 'proceed' | 'bounce' | 'stop') {
|
|
|
280
280
|
{{ t('judge.stop') }}
|
|
281
281
|
</UButton>
|
|
282
282
|
<UButton
|
|
283
|
+
variant="soft"
|
|
283
284
|
size="sm"
|
|
284
285
|
color="warning"
|
|
285
286
|
icon="i-lucide-undo-2"
|
|
@@ -293,7 +294,6 @@ async function act(choice: 'proceed' | 'bounce' | 'stop') {
|
|
|
293
294
|
</UButton>
|
|
294
295
|
<UButton
|
|
295
296
|
size="sm"
|
|
296
|
-
color="primary"
|
|
297
297
|
icon="i-lucide-circle-check"
|
|
298
298
|
:loading="busy"
|
|
299
299
|
:disabled="!canAct"
|
|
@@ -479,19 +479,13 @@ async function clearWeb() {
|
|
|
479
479
|
/>
|
|
480
480
|
</div>
|
|
481
481
|
<div class="flex gap-2">
|
|
482
|
-
<UButton
|
|
483
|
-
color="primary"
|
|
484
|
-
size="xs"
|
|
485
|
-
icon="i-lucide-save"
|
|
486
|
-
:loading="savingSlack"
|
|
487
|
-
@click="saveSlack"
|
|
488
|
-
>
|
|
482
|
+
<UButton size="xs" icon="i-lucide-save" :loading="savingSlack" @click="saveSlack">
|
|
489
483
|
{{ t('common.save') }}
|
|
490
484
|
</UButton>
|
|
491
485
|
<UButton
|
|
486
|
+
color="error"
|
|
487
|
+
variant="soft"
|
|
492
488
|
v-if="summary?.slackOAuthConfigured"
|
|
493
|
-
color="neutral"
|
|
494
|
-
variant="ghost"
|
|
495
489
|
size="xs"
|
|
496
490
|
:loading="savingSlack"
|
|
497
491
|
@click="clearSlack"
|
|
@@ -540,19 +534,13 @@ async function clearWeb() {
|
|
|
540
534
|
/>
|
|
541
535
|
</div>
|
|
542
536
|
<div class="flex gap-2">
|
|
543
|
-
<UButton
|
|
544
|
-
color="primary"
|
|
545
|
-
size="xs"
|
|
546
|
-
icon="i-lucide-save"
|
|
547
|
-
:loading="savingLinear"
|
|
548
|
-
@click="saveLinear"
|
|
549
|
-
>
|
|
537
|
+
<UButton size="xs" icon="i-lucide-save" :loading="savingLinear" @click="saveLinear">
|
|
550
538
|
{{ t('common.save') }}
|
|
551
539
|
</UButton>
|
|
552
540
|
<UButton
|
|
541
|
+
color="error"
|
|
542
|
+
variant="soft"
|
|
553
543
|
v-if="summary?.linearOAuthConfigured"
|
|
554
|
-
color="neutral"
|
|
555
|
-
variant="ghost"
|
|
556
544
|
size="xs"
|
|
557
545
|
:loading="savingLinear"
|
|
558
546
|
@click="clearLinear"
|
|
@@ -601,19 +589,13 @@ async function clearWeb() {
|
|
|
601
589
|
/>
|
|
602
590
|
</div>
|
|
603
591
|
<div class="flex gap-2">
|
|
604
|
-
<UButton
|
|
605
|
-
color="primary"
|
|
606
|
-
size="xs"
|
|
607
|
-
icon="i-lucide-save"
|
|
608
|
-
:loading="savingFigma"
|
|
609
|
-
@click="saveFigma"
|
|
610
|
-
>
|
|
592
|
+
<UButton size="xs" icon="i-lucide-save" :loading="savingFigma" @click="saveFigma">
|
|
611
593
|
{{ t('common.save') }}
|
|
612
594
|
</UButton>
|
|
613
595
|
<UButton
|
|
596
|
+
color="error"
|
|
597
|
+
variant="soft"
|
|
614
598
|
v-if="summary?.figmaOAuthConfigured"
|
|
615
|
-
color="neutral"
|
|
616
|
-
variant="ghost"
|
|
617
599
|
size="xs"
|
|
618
600
|
:loading="savingFigma"
|
|
619
601
|
@click="clearFigma"
|
|
@@ -658,19 +640,13 @@ async function clearWeb() {
|
|
|
658
640
|
/>
|
|
659
641
|
</div>
|
|
660
642
|
<div class="flex gap-2">
|
|
661
|
-
<UButton
|
|
662
|
-
color="primary"
|
|
663
|
-
size="xs"
|
|
664
|
-
icon="i-lucide-save"
|
|
665
|
-
:loading="savingWeb"
|
|
666
|
-
@click="saveWeb"
|
|
667
|
-
>
|
|
643
|
+
<UButton size="xs" icon="i-lucide-save" :loading="savingWeb" @click="saveWeb">
|
|
668
644
|
{{ t('common.save') }}
|
|
669
645
|
</UButton>
|
|
670
646
|
<UButton
|
|
647
|
+
color="error"
|
|
648
|
+
variant="soft"
|
|
671
649
|
v-if="summary?.webSearch"
|
|
672
|
-
color="neutral"
|
|
673
|
-
variant="ghost"
|
|
674
650
|
size="xs"
|
|
675
651
|
:loading="savingWeb"
|
|
676
652
|
@click="clearWeb"
|
|
@@ -795,13 +771,7 @@ async function clearWeb() {
|
|
|
795
771
|
</template>
|
|
796
772
|
|
|
797
773
|
<div class="flex gap-2">
|
|
798
|
-
<UButton
|
|
799
|
-
color="primary"
|
|
800
|
-
size="xs"
|
|
801
|
-
icon="i-lucide-save"
|
|
802
|
-
:loading="savingStorage"
|
|
803
|
-
@click="saveStorage"
|
|
804
|
-
>
|
|
774
|
+
<UButton size="xs" icon="i-lucide-save" :loading="savingStorage" @click="saveStorage">
|
|
805
775
|
{{ t('common.save') }}
|
|
806
776
|
</UButton>
|
|
807
777
|
</div>
|
|
@@ -214,7 +214,7 @@ async function disconnectEmail() {
|
|
|
214
214
|
:placeholder="t('layout.accountTeam.org.namePlaceholder')"
|
|
215
215
|
class="flex-1"
|
|
216
216
|
/>
|
|
217
|
-
<UButton type="submit"
|
|
217
|
+
<UButton type="submit" :loading="busy" icon="i-lucide-plus">
|
|
218
218
|
{{ t('layout.accountTeam.org.create') }}
|
|
219
219
|
</UButton>
|
|
220
220
|
</UForm>
|
|
@@ -280,7 +280,7 @@ async function disconnectEmail() {
|
|
|
280
280
|
class="flex-1"
|
|
281
281
|
/>
|
|
282
282
|
<USelect v-model="inviteRoles" multiple :items="ROLE_ITEMS" class="w-44" />
|
|
283
|
-
<UButton type="submit"
|
|
283
|
+
<UButton type="submit" :loading="busy" icon="i-lucide-send">
|
|
284
284
|
{{ t('layout.accountTeam.invite.submit') }}
|
|
285
285
|
</UButton>
|
|
286
286
|
</UForm>
|
|
@@ -328,7 +328,7 @@ async function disconnectEmail() {
|
|
|
328
328
|
</template>
|
|
329
329
|
<template #from>{{ accounts.emailConnection.fromAddress }}</template>
|
|
330
330
|
</i18n-t>
|
|
331
|
-
<UButton size="xs" color="error" variant="
|
|
331
|
+
<UButton size="xs" color="error" variant="soft" :loading="busy" @click="disconnectEmail">
|
|
332
332
|
{{ t('layout.accountTeam.email.disconnect') }}
|
|
333
333
|
</UButton>
|
|
334
334
|
</div>
|
|
@@ -345,7 +345,7 @@ async function disconnectEmail() {
|
|
|
345
345
|
:placeholder="t('layout.accountTeam.email.apiKeyPlaceholder')"
|
|
346
346
|
class="w-full"
|
|
347
347
|
/>
|
|
348
|
-
<UButton type="submit"
|
|
348
|
+
<UButton type="submit" :loading="busy">
|
|
349
349
|
{{ t('layout.accountTeam.email.connect') }}
|
|
350
350
|
</UButton>
|
|
351
351
|
</UForm>
|
|
@@ -47,12 +47,7 @@ const show = computed(() => showSetup.value || showPreset.value)
|
|
|
47
47
|
{{ t('layout.aiProvidersBanner.setup.body') }}
|
|
48
48
|
</p>
|
|
49
49
|
<div class="mt-4">
|
|
50
|
-
<UButton
|
|
51
|
-
color="warning"
|
|
52
|
-
variant="solid"
|
|
53
|
-
icon="i-lucide-settings"
|
|
54
|
-
@click="ui.openAiProviderSetup()"
|
|
55
|
-
>
|
|
50
|
+
<UButton color="warning" icon="i-lucide-settings" @click="ui.openAiProviderSetup()">
|
|
56
51
|
{{ t('layout.aiProvidersBanner.setup.action') }}
|
|
57
52
|
</UButton>
|
|
58
53
|
</div>
|
|
@@ -92,7 +87,6 @@ const show = computed(() => showSetup.value || showPreset.value)
|
|
|
92
87
|
<UButton
|
|
93
88
|
size="sm"
|
|
94
89
|
color="warning"
|
|
95
|
-
variant="solid"
|
|
96
90
|
icon="i-lucide-cpu"
|
|
97
91
|
@click="ui.openAiPresetMismatch()"
|
|
98
92
|
>
|
|
@@ -339,7 +339,7 @@ async function submitPrompt() {
|
|
|
339
339
|
>
|
|
340
340
|
{{ t('common.cancel') }}
|
|
341
341
|
</UButton>
|
|
342
|
-
<UButton type="submit"
|
|
342
|
+
<UButton type="submit" :loading="busy">
|
|
343
343
|
{{ prompt ? promptMeta[prompt].cta : '' }}
|
|
344
344
|
</UButton>
|
|
345
345
|
</div>
|