Skip to content

Commit 6efa674

Browse files
authored
Add a learn more link for indexing (#3935)
1 parent ca85162 commit 6efa674

File tree

18 files changed

+26
-20
lines changed

18 files changed

+26
-20
lines changed

webview-ui/src/components/settings/CodeIndexSettings.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import React, { useState, useEffect } from "react"
22
import * as ProgressPrimitive from "@radix-ui/react-progress"
3+
import { Trans } from "react-i18next"
34
import { useAppTranslation } from "@/i18n/TranslationContext"
45

5-
import { VSCodeCheckbox, VSCodeTextField, VSCodeButton } from "@vscode/webview-ui-toolkit/react"
6+
import { VSCodeCheckbox, VSCodeTextField, VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react"
67
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
78
import {
89
AlertDialog,
@@ -17,6 +18,7 @@ import {
1718
} from "@/components/ui/alert-dialog"
1819

1920
import { vscode } from "@/utils/vscode"
21+
import { buildDocLink } from "@/utils/docLinks"
2022
import { CodebaseIndexConfig, CodebaseIndexModels, ProviderSettings } from "../../../../src/schemas"
2123
import { EmbedderProvider } from "../../../../src/shared/embeddingModels"
2224
import { z } from "zod"
@@ -154,7 +156,11 @@ export const CodeIndexSettings: React.FC<CodeIndexSettingsProps> = ({
154156
</VSCodeCheckbox>
155157
</div>
156158
<p className="text-vscode-descriptionForeground text-sm mt-0">
157-
{t("settings:codeIndex.enableDescription")}
159+
<Trans i18nKey="settings:codeIndex.enableDescription">
160+
<VSCodeLink
161+
href={buildDocLink("features/experimental/codebase-indexing", "settings")}
162+
style={{ display: "inline" }}></VSCodeLink>
163+
</Trans>
158164
</p>
159165
</div>
160166

webview-ui/src/i18n/locales/ca/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "Indexació de codi",
3737
"enableLabel": "Habilitar indexació de codi",
38-
"enableDescription": "Habilitar aquesta característica indexarà la vostra base de codi. Això pot consumir recursos del sistema i trigar un temps depenent de la mida del vostre projecte.",
38+
"enableDescription": "<0>Indexació de codi</0> és una característica experimental que crea un índex de cerca semàntica del vostre projecte utilitzant embeddings d'IA. Això permet a Roo Code entendre millor i navegar per grans bases de codi trobant codi rellevant basat en significat en lloc de només paraules clau.",
3939
"providerLabel": "Proveïdor d'embeddings",
4040
"selectProviderPlaceholder": "Seleccionar proveïdor",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/de/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "Codebase-Indexierung",
3737
"enableLabel": "Codebase-Indexierung aktivieren",
38-
"enableDescription": "Die Aktivierung dieser Funktion wird Ihre Codebase indexieren. Dies kann Systemressourcen verbrauchen und je nach Größe Ihres Projekts einige Zeit in Anspruch nehmen.",
38+
"enableDescription": "<0>Codebase-Indexierung</0> ist eine experimentelle Funktion, die einen semantischen Suchindex deines Projekts mit KI-Embeddings erstellt. Dies ermöglicht es Roo Code, große Codebasen besser zu verstehen und zu navigieren, indem relevanter Code basierend auf Bedeutung statt nur Schlüsselwörtern gefunden wird.",
3939
"providerLabel": "Embeddings-Anbieter",
4040
"selectProviderPlaceholder": "Anbieter auswählen",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
},
3535
"codeIndex": {
3636
"title": "Codebase Indexing",
37-
"enableLabel": "Enable codebase indexing",
38-
"enableDescription": "Enabling this feature will index your codebase. This might consume system resources and take some time depending on the size of your project.",
37+
"enableLabel": "Enable Codebase Indexing",
38+
"enableDescription": "<0>Codebase Indexing</0> is an experimental feature that creates a semantic search index of your project using AI embeddings. This enables Roo Code to better understand and navigate large codebases by finding relevant code based on meaning rather than just keywords.",
3939
"providerLabel": "Embeddings Provider",
4040
"selectProviderPlaceholder": "Select provider",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/es/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "Indexación de código",
3737
"enableLabel": "Habilitar indexación de código",
38-
"enableDescription": "Habilitar esta función indexará tu base de código. Esto puede consumir recursos del sistema y llevar tiempo dependiendo del tamaño de tu proyecto.",
38+
"enableDescription": "<0>La indexación de código</0> es una función experimental que crea un índice de búsqueda semántica de tu proyecto usando embeddings de IA. Esto permite a Roo Code entender mejor y navegar grandes bases de código encontrando código relevante basado en significado en lugar de solo palabras clave.",
3939
"providerLabel": "Proveedor de embeddings",
4040
"selectProviderPlaceholder": "Seleccionar proveedor",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "Indexation de la base de code",
3737
"enableLabel": "Activer l'indexation de la base de code",
38-
"enableDescription": "L'activation de cette fonctionnalité indexera votre base de code. Cela peut consommer des ressources système et prendre du temps selon la taille de votre projet.",
38+
"enableDescription": "<0>L'indexation de la base de code</0> est une fonctionnalité expérimentale qui crée un index de recherche sémantique de votre projet en utilisant des embeddings IA. Cela permet à Roo Code de mieux comprendre et naviguer dans de grandes bases de code en trouvant du code pertinent basé sur le sens plutôt que seulement sur des mots-clés.",
3939
"providerLabel": "Fournisseur d'embeddings",
4040
"selectProviderPlaceholder": "Sélectionner un fournisseur",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/hi/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "कोडबेस इंडेक्सिंग",
3737
"enableLabel": "कोडबेस इंडेक्सिंग सक्षम करें",
38-
"enableDescription": "इस सुविधा को सक्षम करने से आपका कोडबेस इंडेक्स किया जाएगा। यह आपके प्रोजेक्ट के आकार के आधार पर सिस्टम संसाधनों का उपयोग कर सकता है और कुछ समय ले सकता है।",
38+
"enableDescription": "<0>कोडबेस इंडेक्सिंग</0> एक प्रयोगात्मक सुविधा है जो AI एम्बेडिंग का उपयोग करके आपके प्रोजेक्ट का सिमेंटिक सर्च इंडेक्स बनाती है। यह Roo Code को केवल कीवर्ड के बजाय अर्थ के आधार पर संबंधित कोड खोजकर बड़े कोडबेस को बेहतर तरीके से समझने और नेविगेट करने में सक्षम बनाता है।",
3939
"providerLabel": "एम्बेडिंग प्रदाता",
4040
"selectProviderPlaceholder": "प्रदाता चुनें",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/it/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "Indicizzazione del codice",
3737
"enableLabel": "Abilita indicizzazione del codice",
38-
"enableDescription": "L'attivazione di questa funzionalità indicizzerà il tuo codice. Questo potrebbe consumare risorse di sistema e richiedere tempo a seconda delle dimensioni del tuo progetto.",
38+
"enableDescription": "<0>L'indicizzazione del codice</0> è una funzionalità sperimentale che crea un indice di ricerca semantica del tuo progetto utilizzando embedding AI. Questo permette a Roo Code di comprendere meglio e navigare grandi basi di codice trovando codice rilevante basato sul significato piuttosto che solo su parole chiave.",
3939
"providerLabel": "Fornitore di embedding",
4040
"selectProviderPlaceholder": "Seleziona fornitore",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/ja/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "コードベースのインデックス作成",
3737
"enableLabel": "コードベースのインデックス作成を有効化",
38-
"enableDescription": "この機能を有効にするとコードベースのインデックスが作成されます。これはシステムリソースを消費し、プロジェクトのサイズによっては時間がかかる場合があります",
38+
"enableDescription": "<0>コードベースのインデックス作成</0>は、AIエンベディングを使用してプロジェクトのセマンティック検索インデックスを作成する実験的機能です。これにより、Roo Codeは単なるキーワードではなく意味に基づいて関連するコードを見つけることで、大規模なコードベースをより良く理解し、ナビゲートできるようになります",
3939
"providerLabel": "埋め込みプロバイダー",
4040
"selectProviderPlaceholder": "プロバイダーを選択",
4141
"openaiProvider": "OpenAI",

webview-ui/src/i18n/locales/ko/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"codeIndex": {
3636
"title": "코드베이스 인덱싱",
3737
"enableLabel": "코드베이스 인덱싱 활성화",
38-
"enableDescription": "이 기능을 활성화하면 코드베이스가 인덱싱됩니다. 프로젝트 크기에 따라 시스템 리소스를 소비하고 시간이 걸릴 수 있습니다.",
38+
"enableDescription": "<0>코드베이스 인덱싱</0>은 AI 임베딩을 사용하여 프로젝트의 의미론적 검색 인덱스를 생성하는 실험적 기능입니다. 이를 통해 Roo Code는 단순한 키워드가 아닌 의미를 기반으로 관련 코드를 찾아 대규모 코드베이스를 더 잘 이해하고 탐색할 수 있습니다.",
3939
"providerLabel": "임베딩 제공자",
4040
"selectProviderPlaceholder": "제공자 선택",
4141
"openaiProvider": "OpenAI",

0 commit comments

Comments
 (0)