Restore Linear installer modal details

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
brennanb2025
2026-06-12 11:23:49 -07:00
co-authored by Orca
parent 1aa5b0e0ce
commit 75d079d743
2 changed files with 9 additions and 4 deletions
@@ -360,9 +360,14 @@ describe('LinearAgentSkillSetupPrompt', () => {
expect(document.body.textContent).toContain(
'Enable agents to read and edit the attached Linear ticket.'
)
expect(document.body.textContent).toContain(
'Orca CLI and Linear agent skill setup are missing.'
)
expect(document.body.textContent).toContain('Mock install')
expect(document.body.textContent).not.toContain(
'Before opening setup, Orca may show a system prompt'
expect(mocks.panelProps.at(-1)).toEqual(
expect.objectContaining({
preInstallNotice: 'CLI registration notice'
})
)
const notNowButton = Array.from(document.body.querySelectorAll('button')).find(
@@ -229,7 +229,7 @@ export function LinearAgentSkillSetupPrompt({
'auto.components.sidebar.LinearAgentSkillSetupPrompt.modalTitle',
'Enable Linear ticket access'
)}
description=""
description={missingLabel}
command={command}
terminalTitle={translate(
'auto.components.sidebar.LinearAgentSkillSetupPrompt.terminalTitle',
@@ -249,7 +249,7 @@ export function LinearAgentSkillSetupPrompt({
'auto.components.sidebar.LinearAgentSkillSetupPrompt.install',
'Install CLI & Skill'
)}
preInstallNotice={surface === 'inline' ? AGENT_SKILL_CLI_PREREQUISITE_NOTICE : undefined}
preInstallNotice={AGENT_SKILL_CLI_PREREQUISITE_NOTICE}
getPrerequisiteStatus={
agentRuntime.runtime === 'wsl'
? () => window.api.cli.getWslInstallStatus(getWslCliDistroRequest(agentRuntime))