mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 16:03:17 +00:00
Restore Linear installer modal details
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user