Skip to content

Commit 6727e2c

Browse files
yarikopticclaude
andcommitted
Fix ambiguous typos requiring context review
Fixed ambiguous typos: - Lastest -> Latest (reposTable.tsx, connectionsTable.tsx) - header text - tood -> todo (searchModeSelector.tsx) - @todo comment tag - inbetween -> in between (searchSuggestionsBox.test.tsx) - test description - throught -> through (sso.ts) - "through the identityProvider" - peform -> perform, loosing -> losing (chatThread.tsx) - comments - incase -> in case (utils.ts) - comment text Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9f1b709 commit 6727e2c

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

packages/web/src/app/[domain]/browse/hooks/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const getBrowseParamsFromPathParam = (pathParam: string) => {
3636
const path = pathParam.substring(sentinelIndex + '/-/'.length);
3737
const pathType = path.startsWith('tree') ? 'tree' : 'blob';
3838

39-
// @note: decodedURIComponent is needed here incase the path contains a space.
39+
// @note: decodedURIComponent is needed here in case the path contains a space.
4040
switch (pathType) {
4141
case 'tree':
4242
return {

packages/web/src/app/[domain]/components/searchBar/searchSuggestionsBox.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ test('completeSuggestion wraps suggestions in quotes when the suggestion contain
180180
expect(newCursorPosition).toBe(newQuery.length);
181181
});
182182

183-
test('completeSuggestion completes on query parts that are inbetween other parts', () => {
183+
test('completeSuggestion completes on query parts that are in between other parts', () => {
184184
const part1 = String.raw`repo:^github\.com/sourcebot\x2ddev/sourcebot$`;
185185
const suggestionQuery = 'Type';
186186
const part2 = String.raw`lang:${suggestionQuery}`;

packages/web/src/app/[domain]/components/searchModeSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { useHotkeys } from "react-hotkeys-hook";
1515
export type SearchMode = "precise" | "agentic";
1616

1717
const PRECISE_SEARCH_DOCS_URL = "https://docs.sourcebot.dev/docs/features/search/overview";
18-
// @tood: point this to the actual docs page
18+
// @todo: point this to the actual docs page
1919
const AGENTIC_SEARCH_DOCS_URL = "https://docs.sourcebot.dev/docs/features/ask/overview";
2020

2121
export interface SearchModeSelectorProps {

packages/web/src/app/[domain]/repos/components/reposTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export const getColumns = (context: ColumnsContext): ColumnDef<Repo>[] => [
163163
{
164164
accessorKey: "latestJobStatus",
165165
size: 150,
166-
header: "Lastest status",
166+
header: "Latest status",
167167
cell: ({ row }) => getStatusBadge(row.getValue("latestJobStatus")),
168168
},
169169
{

packages/web/src/app/[domain]/settings/connections/components/connectionsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const columns: ColumnDef<Connection>[] = [
114114
{
115115
accessorKey: "latestJobStatus",
116116
size: 150,
117-
header: "Lastest status",
117+
header: "Latest status",
118118
cell: ({ row }) => getStatusBadge(row.getValue("latestJobStatus")),
119119
},
120120
{

packages/web/src/ee/features/sso/sso.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export const getEEIdentityProviders = async (): Promise<IdentityProvider[]> => {
159159
}
160160
}
161161

162-
// @deprecate in favor of defining identity providers throught the identityProvider object in the config file. This was done to allow for more control over
162+
// @deprecate in favor of defining identity providers through the identityProvider object in the config file. This was done to allow for more control over
163163
// which identity providers are defined and their purpose. We've left this logic here to support backwards compat with deployments that expect these env vars,
164164
// but this logic will be removed in the future
165165
// We only go through this path if no identityProviders are defined in the config to prevent accidental duplication of providers

packages/web/src/features/chat/components/chatThread/chatThread.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ export const ChatThread = ({
173173
enabled: ({ type }) => {
174174
// @note: a "refresh" in this context means we have triggered a client side
175175
// refresh via `router.refresh()`, and not the user pressing "CMD+R"
176-
// (that would be a "beforeunload" event). We can safely peform refreshes
177-
// without loosing any unsaved changes.
176+
// (that would be a "beforeunload" event). We can safely perform refreshes
177+
// without losing any unsaved changes.
178178
if (type === "refresh") {
179179
return false;
180180
}

0 commit comments

Comments
 (0)