Skip to content

An open-source, faster Devin alternative

TypeScript

Secrets page: note that Slack threads and people can override org values

Igor Zalutski via Computer0059a0c5a110
diff --git a/web/src/managed-agents/ComputerSecrets.test.tsx b/web/src/managed-agents/ComputerSecrets.test.tsx
index f78c4ad2..b5b8e6c2 100644
--- a/web/src/managed-agents/ComputerSecrets.test.tsx
+++ b/web/src/managed-agents/ComputerSecrets.test.tsx
@@ -99,7 +99,7 @@ describe('computer secrets page', () => {
await render()
expect(container.textContent).toContain('EXECUTOR_API_KEY')
expect(container.textContent).not.toContain('Ayush')
- expect(container.textContent).not.toContain('Overridden')
+ expect(container.textContent).toContain('These are organization-wide.')
})
it('offers to add the first secret when there are none', async () => {
diff --git a/web/src/managed-agents/ComputerSecrets.tsx b/web/src/managed-agents/ComputerSecrets.tsx
index 2832c095..2dbf37b6 100644
--- a/web/src/managed-agents/ComputerSecrets.tsx
+++ b/web/src/managed-agents/ComputerSecrets.tsx
@@ -107,6 +107,10 @@ export function ComputerSecrets() {
/>
)}
</Panel>
+ <p className="text-muted-foreground mt-3 text-xs">
+ These are organization-wide. A Slack thread or a person can set their
+ own value for the same name in Slack, and theirs is used there instead.
+ </p>
{editing ? (
<SecretDialog editing={editing} onClose={() => setEditing(null)} />