chore(copy): Update copy for untracked projects and certificates (#6984)

* copy updates

* add info icon
This commit is contained in:
James Gatz 2024-01-15 11:38:13 +01:00 committed by GitHub
parent 3159291456
commit 7ae1685c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -19,6 +19,7 @@ import { ModalHeader } from '../base/modal-header';
import { PromptButton } from '../base/prompt-button';
import { PanelContainer, TabItem, Tabs } from '../base/tabs';
import { HelpTooltip } from '../help-tooltip';
import { Icon } from '../icon';
import { MarkdownEditor } from '../markdown-editor';
import { PasswordViewer } from '../viewers/password-viewer';
@ -314,7 +315,7 @@ export const WorkspaceSettingsModal = ({ workspace, clientCertificates, caCertif
<label>
CA Certificate
<HelpTooltip position="right" className="space-left">
One or more PEM format certificates in a single file to pass to curl. Overrides the root CA certificate and macOS keychain.
One or more PEM format certificates in a single file to pass to curl. Overrides the root CA certificate.
</HelpTooltip>
</label>
<div className="row-spaced">
@ -351,6 +352,10 @@ export const WorkspaceSettingsModal = ({ workspace, clientCertificates, caCertif
</PromptButton>
</div>
</div>
<p className="text-sm text-[--hl] italic">
<Icon icon='info-circle' className='pr-2' />
On MacOS please upload the local Keychain certificates here
</p>
</div>
</PanelContainer>,
},

View File

@ -715,7 +715,7 @@ const OrganizationRoute = () => {
className="px-4 py-1 h-full flex items-center justify-center gap-2 aria-pressed:bg-[--hl-sm] text-[--color-warning] text-xs hover:bg-[--hl-xs] focus:ring-inset ring-1 ring-transparent focus:ring-[--hl-md] transition-all"
onPress={() => showModal(SettingsModal, { tab: 'data' })}
>
<Icon icon="exclamation-circle" /> You have untracked data in your computer
<Icon icon="exclamation-circle" /> We have detected orphaned projects on your computer. Press here to view them.
</Button>
</div> : null}
</div>