Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit 02fdc17

Browse files
authored
Fix up heading and label casing (#398)
1 parent 5d463ef commit 02fdc17

21 files changed

+37
-37
lines changed

src/App.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('App', () => {
9292
)
9393

9494
const workspaceSelectionButton = screen.getByRole('button', {
95-
name: 'Active workspace default',
95+
name: 'Active workspace: default',
9696
})
9797
await waitFor(() => expect(workspaceSelectionButton).toBeVisible())
9898

src/components/Error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function ErrorFallbackContent() {
3333
rel="noopener noreferrer"
3434
target="_blank"
3535
>
36-
Github issues
36+
GitHub issues
3737
<LinkExternal02 />
3838
</LinkButton>,
3939
]}

src/constants/empty-state-strings.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ export const emptyStateStrings = {
1515
body: {
1616
loading: 'Checking for the latest messages.',
1717
errorDesc:
18-
'Please try refreshing the page. If this issue persists, please let us know on Discord, or open a a new Github Issue',
18+
'Please try refreshing the page. If this issue persists, please let us know on Discord, or open a a new GitHub issue.',
1919
getStartedDesc: 'Learn how to get started with CodeGate in your IDE.',
2020
tryChangingSearch: 'Try changing your search query or clearing the search.',
2121
messagesWillShowUpWhenWorkspace:
2222
'Messages will show up here when they are detected for this workspace.',
2323
messagesDesc:
2424
'Messages are issues that CodeGate has detected and mitigated in your interactions with the LLM.',
2525
secretsDesc:
26-
'CodeGate helps you protect sensitive information from being accidentally exposed to AI models and third-party AI provider systems by redacting detected secrets from your prompts using encryption.',
26+
'CodeGate helps you protect sensitive information from being accidentally exposed to AI models and third-party AI provider systems by redacting detected secrets from your prompts.',
2727
piiDesc:
28-
'CodeGate helps you protect sensitive personally identifiable information (PII) from being accidentally exposed to AI models and third-party AI provider systems by redacting detected PII from your prompts using encryption.',
28+
'CodeGate helps you protect sensitive personally identifiable information (PII) from being accidentally exposed to AI models and third-party AI provider systems by redacting detected PII from your prompts.',
2929
maliciousDesc:
3030
"CodeGate's dependency risk insight helps protect your codebase from malicious or vulnerable dependencies. It identifies potentially risky packages and suggests fixed versions or alternative packages to consider.",
3131
},

src/features/dashboard-messages/components/__tests__/table-messages.empty-state.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const TEST_CASES: TestCase[] = [
186186
actions: [
187187
{
188188
role: 'link',
189-
name: 'Learn about Workspaces',
189+
name: 'Learn about workspaces',
190190
href: hrefs.external.docs.workspaces,
191191
},
192192
],

src/features/dashboard-messages/components/section-conversation-secrets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function SectionConversationSecrets({
2727
<p className="mb-2">
2828
CodeGate helps you protect sensitive information from being accidentally
2929
exposed to AI models and third-party AI provider systems by redacting
30-
detected secrets from your prompts using encryption.
30+
detected secrets from your prompts.
3131
</p>
3232
<p className="mb-2">
3333
The following secrets were detected in plain-text in the input provided

src/features/dashboard-messages/components/table-messages-empty-state.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function EmptyStateNoMessagesInWorkspace() {
8686
target="_blank"
8787
rel="noopener noreferrer"
8888
>
89-
Learn about Workspaces
89+
Learn about workspaces
9090
<LinkExternal02 />
9191
</LinkButton>,
9292
]}
@@ -151,7 +151,7 @@ export function EmptyStateError() {
151151
rel="noopener noreferrer"
152152
target="_blank"
153153
>
154-
Github issues
154+
GitHub issues
155155
<LinkExternal02 />
156156
</LinkButton>,
157157
]}

src/features/dashboard-messages/lib/get-provider-string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function getProviderString(provider: string | null): string {
22
switch (provider) {
33
case 'copilot':
4-
return 'Github Copilot'
4+
return 'GitHub Copilot'
55
case null:
66
return 'Unknown provider'
77
default:

src/features/header/components/header-active-workspace-selector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function HeaderActiveWorkspaceSelector() {
5656
return (
5757
<DialogTrigger isOpen={isOpen} onOpenChange={(test) => setIsOpen(test)}>
5858
<Button variant="tertiary" className="flex cursor-pointer">
59-
Active workspace{' '}
59+
Active workspace:{' '}
6060
<span className="font-bold">{activeWorkspaceName ?? 'default'}</span>
6161
<ChevronDown />
6262
</Button>
@@ -131,7 +131,7 @@ export function HeaderActiveWorkspaceSelector() {
131131
className="mt-2 flex h-10 justify-start gap-2 pl-2 text-secondary"
132132
>
133133
<Settings01 />
134-
Manage Workspaces
134+
Manage workspaces
135135
</LinkButton>
136136
</div>
137137
</Popover>

src/features/header/constants/help-menu-items.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ export const HELP_MENU_ITEMS = [
1010
{
1111
icon: <Continue />,
1212
id: 'continue-setup',
13-
href: 'https://docs.codegate.ai/how-to/use-with-continue',
13+
href: 'https://docs.codegate.ai/integrations/continue',
1414
textValue: 'Use with Continue',
1515
target: '_blank',
1616
},
1717
{
1818
icon: <Copilot />,
1919
id: 'copilot-setup',
20-
href: 'https://docs.codegate.ai/how-to/use-with-copilot',
20+
href: 'https://docs.codegate.ai/integrations/copilot',
2121
textValue: 'Use with Copilot',
2222
target: '_blank',
2323
},

src/features/providers/components/provider-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function ProviderForm({ provider, setProvider }: Props) {
6969
validationBehavior="aria"
7070
onChange={(description) => setProvider({ ...provider, description })}
7171
>
72-
<Label>Description (Optional)</Label>
72+
<Label>Description (optional)</Label>
7373
<Input
7474
placeholder="Provider description"
7575
value={provider.description}

0 commit comments

Comments
 (0)