Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Collapse onboarding config into Advanced settings; clearer sharing copy (#1914)
sarah7d9f32efd575
diff --git a/.changeset/onboarding-advanced-settings.md b/.changeset/onboarding-advanced-settings.mdnew file mode 100644index 000000000..5b7face6c--- /dev/null+++ b/.changeset/onboarding-advanced-settings.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": patch+---++Both onboarding dialogs now lead with their primary action and tuck configuration behind an "Advanced settings" section. The Open-folder dialog reads as a confirmation screen, with content directory, ignore patterns, AI-tool connections, and config sharing collapsed under Advanced settings. Create-new-project keeps the Location field front and center and collapses the AI-tool and sharing controls; its Create button now stays enabled even before a folder is picked and shows a "Please select a folder" toast on click instead of sitting disabled with no explanation. The config-sharing copy across both dialogs and Settings is rewritten in plain language — what gets shared with your team versus kept on your computer — instead of listing config filenames and CLI commands.diff --git a/packages/app/src/components/ConfigSharingInfoTooltip.tsx b/packages/app/src/components/ConfigSharingInfoTooltip.tsxnew file mode 100644index 000000000..0cb7f1e08--- /dev/null+++ b/packages/app/src/components/ConfigSharingInfoTooltip.tsx@@ -0,0 +1,33 @@+import { Trans, useLingui } from '@lingui/react/macro';+import { Info } from 'lucide-react';+import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip';++export function ConfigSharingInfoTooltip() {+ const { t } = useLingui();+ return (+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger+ className="text-muted-foreground hover:text-foreground"+ aria-label={t`What config sharing covers`}+ data-testid="config-sharing-info"+ >+ <Info className="size-3.5" aria-hidden />+ </TooltipTrigger>+ <TooltipContent className="max-w-xs">+ <p className="leading-relaxed wrap-break-word">+ <Trans>+ Setup files include: <code>.ok/</code>, AI-tool MCP configs (<code>.mcp.json</code>{' '}+ and per-tool files), project skills, and <code>.claude/launch.json</code>.+ <br />+ <strong className="font-semibold">Share with my team</strong> commits them to git, so+ anyone who clones the repo gets the same setup. <br />+ <strong className="font-semibold">Local only</strong> keeps them out of git (via{' '}+ <code>.git/info/exclude</code>).+ </Trans>+ </p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ );+}diff --git a/packages/app/src/components/ConsentDialogBody.dom.test.tsx b/packages/app/src/components/ConsentDialogBody.dom.test.tsxindex bc49ebc31..1f145363a 100644--- a/packages/app/src/components/ConsentDialogBody.dom.test.tsx+++ b/packages/app/src/components/ConsentDialogBody.dom.test.tsx@@ -67,6 +67,10 @@ function renderConsentDialog() {return harness;}+async function expandAdvanced() {+ await userEvent.click(screen.getByTestId('consent-advanced-trigger'));+}+describe('ConsentDialogBody runtime form behavior', () => {afterEach(() => {cleanup();@@ -77,6 +81,30 @@ describe('ConsentDialogBody runtime form behavior', () => {expect(typeof ConsentDialogBody).toBe('function');});+ test('advanced controls are collapsed by default and reveal on expand', async () => {+ renderConsentDialog();++ expect(screen.queryByTestId('consent-content-dir')).toBeNull();+ expect(screen.queryByTestId('consent-additional-ignores')).toBeNull();+ expect(screen.queryByTestId('consent-sharing')).toBeNull();++ await expandAdvanced();++ expect(screen.getByTestId('consent-content-dir')).not.toBeNull();+ expect(screen.getByTestId('consent-additional-ignores')).not.toBeNull();+ expect(screen.getByTestId('consent-sharing')).not.toBeNull();+ });++ test('an invalid default content dir force-opens Advanced settings and shows the error without expanding', () => {+ const harness = makeStore();+ const invalidPayload = { ...payload, defaultContentDir: '../secrets' };+ render(<ConsentDialogBody payload={invalidPayload} store={harness.store} />);++ expect(screen.getByTestId('consent-content-dir')).not.toBeNull();+ expect(screen.getByTestId('consent-content-dir-error')).not.toBeNull();+ expect((screen.getByTestId('consent-start') as HTMLButtonElement).disabled).toBe(true);+ });+test('Cancel is a non-submit button and invokes cancel without confirming', async () => {const { confirmCalls, cancelCalls } = renderConsentDialog();@@ -113,6 +141,7 @@ describe('ConsentDialogBody runtime form behavior', () => {test('invalid contentDir submit is default-prevented and does not confirm', async () => {const { confirmCalls } = renderConsentDialog();+ await expandAdvanced();fireEvent.change(screen.getByTestId('consent-content-dir'), {target: { value: '../secrets' },@@ -137,6 +166,7 @@ describe('ConsentDialogBody runtime form behavior', () => {},} as Pick<OkDesktopBridge, 'dialog'>);renderConsentDialog();+ await expandAdvanced();await userEvent.click(screen.getByTestId('consent-content-dir-browse'));diff --git a/packages/app/src/components/ConsentDialogBody.tsx b/packages/app/src/components/ConsentDialogBody.tsxindex aed3643d4..458735590 100644--- a/packages/app/src/components/ConsentDialogBody.tsx+++ b/packages/app/src/components/ConsentDialogBody.tsx@@ -7,6 +7,7 @@ import { ChevronRight } from 'lucide-react';import type React from 'react';import { useEffect, useId, useState } from 'react';import { toast as sonnerToast } from 'sonner';+import { ConfigSharingInfoTooltip } from '@/components/ConfigSharingInfoTooltip';import { Button } from '@/components/ui/button';import { Checkbox } from '@/components/ui/checkbox';import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';@@ -87,6 +88,7 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {const [probe, setProbe] = useState<OkOnboardingProbeContentResult | null>(null);const [busy, setBusy] = useState(false);const [browseError, setBrowseError] = useState<string | null>(null);+ const [advancedOpen, setAdvancedOpen] = useState(false);useEffect(() => {if (!isContentDirSafe(contentDir)) {@@ -117,6 +119,7 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {const contentDirSafe = isContentDirSafe(contentDir);const startDisabled = busy || !contentDirSafe;+ const advancedExpanded = advancedOpen || !contentDirSafe;const projectDir = payload.projectDir;const pickedRelative =@@ -195,7 +198,8 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {<DialogDescription><Trans>Open Knowledge will create a <code>.ok/</code> folder here to track this project's- metadata.+ metadata and index the folder's markdown files. Review or change the details under{' '}+ <strong className="font-semibold">Advanced settings</strong> before you start.</Trans></DialogDescription></DialogHeader>@@ -226,182 +230,216 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {) : null}<form id={formId} onSubmit={onSubmit} data-testid="consent-form" className="space-y-6">- <div className="flex flex-col gap-2">- <label htmlFor="consent-content-dir" className="text-sm font-medium">- <Trans>Content directory</Trans>- </label>- <div className="flex items-stretch gap-2">- <Input- id="consent-content-dir"- value={contentDir}- onChange={(e) => {- setContentDir(e.target.value);- setBrowseError(null);- }}- disabled={busy}- aria-invalid={!contentDirSafe}- data-testid="consent-content-dir"- className="flex-1"- />- <Button- type="button"- variant="outline"- disabled={busy}- onClick={() => void onBrowseContentDir()}- data-testid="consent-content-dir-browse"- >- <Trans>Browse</Trans>- </Button>- </div>- {browseError !== null ? (- <p- className="text-1sm text-destructive"- data-testid="consent-content-dir-browse-error"- >- {browseError}- </p>- ) : !contentDirSafe ? (- <p className="text-1sm text-destructive" data-testid="consent-content-dir-error">- <Trans>Content directory must be inside the project</Trans>- </p>- ) : (- <ProbePreview probe={probe} />- )}- </div>-- <div className="flex flex-col gap-2">- <label htmlFor="consent-additional-ignores" className="text-sm font-medium">- <Trans>Ignore patterns</Trans>- </label>- <Textarea- id="consent-additional-ignores"- value={additionalIgnores}- onChange={(e) => setAdditionalIgnores(e.target.value)}- disabled={busy}- placeholder={'tmp/\n*.draft.md'}- rows={3}- data-testid="consent-additional-ignores"- />- <p className="text-1sm text-muted-foreground">- <Trans>- One pattern per line — appended to <code>.okignore</code>.- </Trans>- </p>- </div>+ {contentDirSafe ? <ProbePreview probe={probe} /> : null}- <fieldset className="flex flex-col space-y-2 pb-2">- <legend className="text-sm font-medium">- <Trans>Connect to AI tools</Trans>- </legend>- <p className="text-1sm text-muted-foreground">- <Trans>- Writes a project-MCP config for each selected tool; Claude also gets{' '}- <code>.claude/launch.json</code>.- </Trans>- </p>- {payload.editorOptions.map((editor) => {- const checkboxId = `consent-editor-${editor.id}-cb`;- return (- <label- key={editor.id}- htmlFor={checkboxId}- className="flex items-center gap-2 text-sm"- >- <Checkbox- id={checkboxId}- checked={editorIds.has(editor.id)}- onCheckedChange={() => toggleEditor(editor.id)}+ <Collapsible+ open={advancedExpanded}+ onOpenChange={setAdvancedOpen}+ className="rounded-md border border-border"+ data-testid="consent-advanced"+ >+ <CollapsibleTrigger+ className="group flex w-full items-center justify-between gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50"+ data-testid="consent-advanced-trigger"+ >+ <Trans>Advanced settings</Trans>+ <ChevronRight+ className="size-4 transition-transform group-data-[state=open]:rotate-90 motion-reduce:transition-none"+ aria-hidden+ />+ </CollapsibleTrigger>+ <CollapsibleContent className="space-y-6 border-t border-border px-3 py-4">+ <div className="flex flex-col gap-2">+ <label htmlFor="consent-content-dir" className="text-sm font-medium">+ <Trans>Content directory</Trans>+ </label>+ <div className="flex items-stretch gap-2">+ <Input+ id="consent-content-dir"+ value={contentDir}+ onChange={(e) => {+ setContentDir(e.target.value);+ setBrowseError(null);+ }}disabled={busy}- data-testid={`consent-editor-${editor.id}`}+ aria-invalid={!contentDirSafe}+ aria-describedby={+ browseError !== null+ ? 'consent-content-dir-browse-error'+ : !contentDirSafe+ ? 'consent-content-dir-error'+ : undefined+ }+ data-testid="consent-content-dir"+ className="flex-1"/>- <span>{editor.label}</span>- <span- className="text-xs text-muted-foreground"- data-testid={`consent-editor-${editor.id}-scope`}+ <Button+ type="button"+ variant="outline"+ disabled={busy}+ onClick={() => void onBrowseContentDir()}+ data-testid="consent-content-dir-browse">- {editor.hasProjectConfig ? (- <Trans comment="Scope tag next to an AI tool — config is written at both project and user level">- (project + user)- </Trans>- ) : (- <Trans comment="Scope tag next to an AI tool — config is written at user level only">- (user-level only)- </Trans>- )}- </span>- </label>- );- })}- </fieldset>+ <Trans>Browse</Trans>+ </Button>+ </div>+ {browseError !== null ? (+ <p+ id="consent-content-dir-browse-error"+ className="text-1sm text-destructive"+ data-testid="consent-content-dir-browse-error"+ >+ {browseError}+ </p>+ ) : !contentDirSafe ? (+ <p+ id="consent-content-dir-error"+ className="text-1sm text-destructive"+ data-testid="consent-content-dir-error"+ >+ <Trans>Content directory must be inside the project</Trans>+ </p>+ ) : null}+ </div>- <fieldset className="flex flex-col space-y-2 pb-2" data-testid="consent-sharing">- <legend className="text-sm font-medium">- <Trans>Share OK config with my team?</Trans>- </legend>- <p className="text-1sm text-muted-foreground">- <Trans>- <code>.ok/</code>, <code>.mcp.json</code> (and per-editor variants), project- skills, and <code>.claude/launch.json</code>. Switch later in Settings → Config- sharing, or from the command line with{' '}- <code>ok config-sharing share|unshare</code>.- </Trans>- </p>- <RadioGroup- value={sharing}- onValueChange={(v) => setSharing(v as 'shared' | 'local-only')}- disabled={busy}- className="gap-2"- >- <label- htmlFor={`${formId}-sharing-shared`}- className="flex items-start gap-2 text-sm"- >- <RadioGroupItem- id={`${formId}-sharing-shared`}- value="shared"- data-testid="consent-sharing-shared"- className="mt-1"- />- <span>- <span className="font-medium">- <Trans>Share with my team</Trans>- </span>- <span className="block text-1sm text-muted-foreground">- <Trans>OK config is committed alongside content (default).</Trans>- </span>- </span>- </label>- <label- htmlFor={`${formId}-sharing-local-only`}- className="flex items-start gap-2 text-sm"- >- <RadioGroupItem- id={`${formId}-sharing-local-only`}- value="local-only"- disabled={sharingDisabled}- data-testid="consent-sharing-local-only"- className="mt-1"+ <div className="flex flex-col gap-2">+ <label htmlFor="consent-additional-ignores" className="text-sm font-medium">+ <Trans>Ignore patterns</Trans>+ </label>+ <Textarea+ id="consent-additional-ignores"+ value={additionalIgnores}+ onChange={(e) => setAdditionalIgnores(e.target.value)}+ disabled={busy}+ placeholder={'tmp/\n*.draft.md'}+ rows={3}+ data-testid="consent-additional-ignores"/>- <span>- <span className="font-medium">- <Trans>Local only on this machine</Trans>- </span>- <span className="block text-1sm text-muted-foreground">- {sharingDisabled ? (- <Trans>- Requires a git repository — pick a different folder or enable git init.- </Trans>- ) : (- <Trans>- OK config stays on this machine via <code>.git/info/exclude</code>{' '}- (per-clone, not committed).- </Trans>- )}- </span>- </span>- </label>- </RadioGroup>- </fieldset>+ <p className="text-1sm text-muted-foreground">+ <Trans>+ One pattern per line — appended to <code>.okignore</code>.+ </Trans>+ </p>+ </div>++ <fieldset className="flex flex-col space-y-2 pb-2">+ <legend className="text-sm font-medium">+ <Trans>Connect to AI tools</Trans>+ </legend>+ <p className="text-1sm text-muted-foreground">+ <Trans>+ Writes a project-MCP config for each selected tool; Claude also gets{' '}+ <code>.claude/launch.json</code>.+ </Trans>+ </p>+ {payload.editorOptions.map((editor) => {+ const checkboxId = `consent-editor-${editor.id}-cb`;+ return (+ <label+ key={editor.id}+ htmlFor={checkboxId}+ className="flex items-center gap-2 text-sm"+ >+ <Checkbox+ id={checkboxId}+ checked={editorIds.has(editor.id)}+ onCheckedChange={() => toggleEditor(editor.id)}+ disabled={busy}+ data-testid={`consent-editor-${editor.id}`}+ />+ <span>{editor.label}</span>+ <span+ className="text-xs text-muted-foreground"+ data-testid={`consent-editor-${editor.id}-scope`}+ >+ {editor.hasProjectConfig ? (+ <Trans comment="Scope tag next to an AI tool — config is written at both project and user level">+ (project + user)+ </Trans>+ ) : (+ <Trans comment="Scope tag next to an AI tool — config is written at user level only">+ (user-level only)+ </Trans>+ )}+ </span>+ </label>+ );+ })}+ </fieldset>++ <fieldset className="flex flex-col space-y-2 pb-2" data-testid="consent-sharing">+ <legend className="flex items-center gap-1.5 text-sm font-medium">+ <Trans>Share this setup with your team?</Trans>+ <ConfigSharingInfoTooltip />+ </legend>+ <p className="text-1sm text-muted-foreground">+ <Trans>+ Choose whether this project's Open Knowledge setup, including its AI-tool+ connections, is saved with the project so teammates get it too, or kept only+ on your computer. You can change this anytime in Settings.+ </Trans>+ </p>+ <RadioGroup+ value={sharing}+ onValueChange={(v) => setSharing(v as 'shared' | 'local-only')}+ disabled={busy}+ className="gap-2"+ >+ <label+ htmlFor={`${formId}-sharing-shared`}+ className="flex items-start gap-2 text-sm"+ >+ <RadioGroupItem+ id={`${formId}-sharing-shared`}+ value="shared"+ data-testid="consent-sharing-shared"+ className="mt-1"+ />+ <span>+ <span className="font-medium">+ <Trans>Share with my team</Trans>+ </span>+ <span className="block text-1sm text-muted-foreground">+ <Trans>+ Saved with the project so everyone who opens it gets the same setup+ (default).+ </Trans>+ </span>+ </span>+ </label>+ <label+ htmlFor={`${formId}-sharing-local-only`}+ className="flex items-start gap-2 text-sm"+ >+ <RadioGroupItem+ id={`${formId}-sharing-local-only`}+ value="local-only"+ disabled={sharingDisabled}+ data-testid="consent-sharing-local-only"+ className="mt-1"+ />+ <span>+ <span className="font-medium">+ <Trans>Local only on this machine</Trans>+ </span>+ <span className="block text-1sm text-muted-foreground">+ {sharingDisabled ? (+ <Trans>+ Requires a git repository — pick a different folder or enable git+ init.+ </Trans>+ ) : (+ <Trans>+ Stays on this computer only. Teammates won't get this setup.+ </Trans>+ )}+ </span>+ </span>+ </label>+ </RadioGroup>+ </fieldset>+ </CollapsibleContent>+ </Collapsible></form></DialogBody>diff --git a/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx b/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsxindex 4ba446a1c..4fa2e78dc 100644--- a/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx+++ b/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx@@ -1,6 +1,12 @@import { afterEach, beforeEach, describe, expect, mock, test } from 'bun:test';import { ALL_EDITOR_IDS, EDITOR_LABELS } from '@inkeep/open-knowledge-core';import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';++const toastErrorSpy = mock((_message: string) => {});+mock.module('sonner', () => ({+ toast: { error: toastErrorSpy, success: () => {}, warning: () => {}, message: () => {} },+}));+import type {OkDesktopBridge,OkFolderState,@@ -143,6 +149,9 @@ describe('CreateProjectDialog runtime wiring', () => {expect(submit.getAttribute('form')).toBe(form.id);expect(browse.type).toBe('button');+ expect(screen.queryByTestId('create-editor-cursor')).toBeNull();+ fireEvent.click(screen.getByTestId('create-advanced-trigger'));+for (const id of ALL_EDITOR_IDS) {const checkbox = screen.getByTestId(`create-editor-${id}`);expect(checkbox.closest('label')?.textContent).toContain(EDITOR_LABELS[id]);@@ -175,6 +184,33 @@ describe('CreateProjectDialog runtime wiring', () => {expect(stub.onOpenChange).toHaveBeenLastCalledWith(false);});+ test('Create stays enabled with no folder picked; click toasts and does not submit', async () => {+ toastErrorSpy.mockClear();+ const stub = await renderDialog();++ const submit = screen.getByTestId('create-submit') as HTMLButtonElement;+ expect(submit.disabled).toBe(false);++ fireEvent.click(submit);+ await new Promise((resolve) => setTimeout(resolve, 0));+ expect(toastErrorSpy).toHaveBeenCalledWith('Please select a folder');+ expect(stub.createNewCalls).toEqual([]);+ expect(stub.onOpenChange).not.toHaveBeenCalled();+ });++ test('clicking the config-sharing info tooltip does not submit the form', async () => {+ const stub = await renderDialog();++ fireEvent.click(screen.getByTestId('create-advanced-trigger'));+ const info = screen.getByTestId('config-sharing-info') as HTMLButtonElement;+ expect(info.type).toBe('button');++ fireEvent.click(info);+ await new Promise((resolve) => setTimeout(resolve, 0));+ expect(stub.createNewCalls).toEqual([]);+ expect(stub.onOpenChange).not.toHaveBeenCalled();+ });+test('subfolder rescue sticks through a free re-probe and resets on a fresh Browse pick', async () => {const stub = makeBridge();stub.setFolderStateImpl(async (path) => (path === TARGET ? 'exists-nonempty' : 'free'));diff --git a/packages/app/src/components/CreateProjectDialog.tsx b/packages/app/src/components/CreateProjectDialog.tsxindex 66e4e483e..78599e7b5 100644--- a/packages/app/src/components/CreateProjectDialog.tsx+++ b/packages/app/src/components/CreateProjectDialog.tsx@@ -9,9 +9,13 @@ import {import type { MessageDescriptor } from '@lingui/core';import { msg } from '@lingui/core/macro';import { Trans, useLingui } from '@lingui/react/macro';+import { ChevronRight } from 'lucide-react';import { useEffect, useId, useRef, useState } from 'react';+import { toast } from 'sonner';+import { ConfigSharingInfoTooltip } from '@/components/ConfigSharingInfoTooltip';import { Button } from '@/components/ui/button';import { Checkbox } from '@/components/ui/checkbox';+import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';import {Dialog,DialogBody,@@ -165,6 +169,7 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjec() => new Set(ALL_EDITOR_IDS),);const [sharing, setSharing] = useState<'shared' | 'local-only'>('shared');+ const [advancedOpen, setAdvancedOpen] = useState(false);const [cascade, setCascade] = useState<SettledCascade>({ kind: 'idle' });const [probeLifecycle, setProbeLifecycle] = useState<ProbeLifecycle>('idle');const [busy, setBusy] = useState(false);@@ -190,6 +195,7 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjecsetPicked('');setEditorIds(new Set(ALL_EDITOR_IDS));setSharing('shared');+ setAdvancedOpen(false);setRemoveGitState({ kind: 'idle' });setNeedsSubfolder(false);setSubfolderName('');@@ -343,6 +349,7 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjecsanitized !== '' &&probeLifecycle === 'idle' &&(cascade.kind === 'free' || cascade.kind === 'confirm-git');+ const submitDisabled = busy || (picked !== '' && !canSubmit);function toggleEditor(id: OkMcpWiringEditorId) {setEditorIds((prev) => {@@ -371,6 +378,11 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjecasync function onSubmit(e: React.SyntheticEvent<HTMLFormElement, SubmitEvent>) {e.preventDefault();+ if (busy) return;+ if (picked === '') {+ toast.error(t`Please select a folder`);+ return;+ }if (!canSubmit) return;setBusy(true);setSubmitError(null);@@ -450,36 +462,37 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjecdata-testid="create-project-form"className="space-y-6">- <div className="flex flex-col gap-2">- <Label htmlFor="create-location">- <Trans>Location</Trans>- </Label>- <div className="flex items-stretch gap-2">- <Button- id="create-location"- ref={browseButtonRef}- type="button"- variant="outline"- disabled={busy}- onClick={() => void onBrowse()}- aria-describedby="create-target-caption"- data-testid="create-browse"+ <div className="flex items-center justify-between gap-4">+ <div className="flex min-w-0 flex-col gap-1">+ <Label htmlFor="create-location">+ <Trans>Location</Trans>+ </Label>+ <p+ id="create-target-caption"+ className="text-1sm text-muted-foreground wrap-break-word"+ aria-live="polite"+ data-testid="create-target-caption">- <Trans>Browse</Trans>- </Button>+ {previewPath === '' ? (+ <Trans>Select or create a folder for your new project</Trans>+ ) : (+ previewPath+ )}+ </p></div>- <p- id="create-target-caption"- className="text-1sm text-muted-foreground"- aria-live="polite"- data-testid="create-target-caption"+ <Button+ id="create-location"+ ref={browseButtonRef}+ type="button"+ variant="outline"+ className="shrink-0"+ disabled={busy}+ onClick={() => void onBrowse()}+ aria-describedby="create-target-caption"+ data-testid="create-browse">- {previewPath === '' ? (- <Trans>Click Browse to pick or create a project folder.</Trans>- ) : (- previewPath- )}- </p>+ <Trans>Browse</Trans>+ </Button></div>{needsSubfolder ? (@@ -582,91 +595,112 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjeconConfirmRemoveGit={onConfirmRemoveGit}/>- <fieldset className="flex flex-col space-y-2 pb-2">- <legend className="text-sm font-medium">- <Trans>Connect to AI tools</Trans>- </legend>- <p className="text-1sm text-muted-foreground">- <Trans>Each selected tool gets an Open Knowledge MCP entry.</Trans>- </p>- {ALL_EDITOR_IDS.map((id) => {- const inputId = `create-editor-${id}`;- return (- <Label key={id} htmlFor={inputId} className="text-sm font-normal">- <Checkbox- id={inputId}- checked={editorIds.has(id)}- onCheckedChange={() => toggleEditor(id)}- disabled={busy}- data-testid={`create-editor-${id}`}- />- <span>{EDITOR_LABELS[id]}</span>- </Label>- );- })}- </fieldset>-- <fieldset className="flex flex-col space-y-2 pb-2" data-testid="create-sharing">- <legend className="text-sm font-medium">- <Trans>Share OK config with my team?</Trans>- </legend>- <p className="text-1sm text-muted-foreground">- <Trans>- <code>.ok/</code>, <code>.mcp.json</code> (and per-editor variants), project- skills, and <code>.claude/launch.json</code>. Switch later in Settings → Config- sharing, or from the command line with{' '}- <code>ok config-sharing share|unshare</code>.- </Trans>- </p>- <RadioGroup- value={sharing}- onValueChange={(v) => setSharing(v as 'shared' | 'local-only')}- disabled={busy}- className="gap-2"+ <Collapsible+ open={advancedOpen}+ onOpenChange={setAdvancedOpen}+ className="rounded-md border border-border"+ data-testid="create-advanced"+ >+ <CollapsibleTrigger+ className="group flex w-full items-center justify-between gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50"+ data-testid="create-advanced-trigger">- <Label- htmlFor="create-sharing-shared"- className="flex items-start gap-2 text-sm font-normal"- >- <RadioGroupItem- id="create-sharing-shared"- value="shared"- data-testid="create-sharing-shared"- className="mt-1"- />- <span>- <span className="font-medium">- <Trans>Share with my team</Trans>- </span>- <span className="block text-1sm text-muted-foreground">- <Trans>OK config is committed alongside content (default).</Trans>- </span>- </span>- </Label>- <Label- htmlFor="create-sharing-local-only"- className="flex items-start gap-2 text-sm font-normal"- >- <RadioGroupItem- id="create-sharing-local-only"- value="local-only"- data-testid="create-sharing-local-only"- className="mt-1"- />- <span>- <span className="font-medium">- <Trans>Local only on this machine</Trans>- </span>- <span className="block text-1sm text-muted-foreground">- <Trans>- OK config stays on this machine via <code>.git/info/exclude</code>- (per-clone, not committed).- </Trans>- </span>- </span>- </Label>- </RadioGroup>- </fieldset>+ <Trans>Advanced settings</Trans>+ <ChevronRight+ className="size-4 transition-transform group-data-[state=open]:rotate-90 motion-reduce:transition-none"+ aria-hidden+ />+ </CollapsibleTrigger>+ <CollapsibleContent className="space-y-6 border-t border-border px-3 py-4">+ <fieldset className="flex flex-col space-y-2 pb-2">+ <legend className="text-sm font-medium">+ <Trans>Connect to AI tools</Trans>+ </legend>+ <p className="text-1sm text-muted-foreground">+ <Trans>Each selected tool gets an Open Knowledge MCP entry.</Trans>+ </p>+ {ALL_EDITOR_IDS.map((id) => {+ const inputId = `create-editor-${id}`;+ return (+ <Label key={id} htmlFor={inputId} className="text-sm font-normal">+ <Checkbox+ id={inputId}+ checked={editorIds.has(id)}+ onCheckedChange={() => toggleEditor(id)}+ disabled={busy}+ data-testid={`create-editor-${id}`}+ />+ <span>{EDITOR_LABELS[id]}</span>+ </Label>+ );+ })}+ </fieldset>++ <fieldset className="flex flex-col space-y-2 pb-2" data-testid="create-sharing">+ <legend className="flex items-center gap-1.5 text-sm font-medium">+ <Trans>Share this setup with your team?</Trans>+ <ConfigSharingInfoTooltip />+ </legend>+ <p className="text-1sm text-muted-foreground">+ <Trans>+ Choose whether this project's Open Knowledge setup, including its AI-tool+ connections, is saved with the project so teammates get it too, or kept only+ on your computer. You can change this anytime in Settings.+ </Trans>+ </p>+ <RadioGroup+ value={sharing}+ onValueChange={(v) => setSharing(v as 'shared' | 'local-only')}+ disabled={busy}+ className="gap-2"+ >+ <Label+ htmlFor="create-sharing-shared"+ className="flex items-start gap-2 text-sm font-normal"+ >+ <RadioGroupItem+ id="create-sharing-shared"+ value="shared"+ data-testid="create-sharing-shared"+ className="mt-1"+ />+ <span>+ <span className="font-medium">+ <Trans>Share with my team</Trans>+ </span>+ <span className="block text-1sm text-muted-foreground">+ <Trans>+ Saved with the project so everyone who opens it gets the same setup+ (default).+ </Trans>+ </span>+ </span>+ </Label>+ <Label+ htmlFor="create-sharing-local-only"+ className="flex items-start gap-2 text-sm font-normal"+ >+ <RadioGroupItem+ id="create-sharing-local-only"+ value="local-only"+ data-testid="create-sharing-local-only"+ className="mt-1"+ />+ <span>+ <span className="font-medium">+ <Trans>Local only on this machine</Trans>+ </span>+ <span className="block text-1sm text-muted-foreground">+ <Trans>+ Stays on this computer only. Teammates won't get this setup.+ </Trans>+ </span>+ </span>+ </Label>+ </RadioGroup>+ </fieldset>+ </CollapsibleContent>+ </Collapsible>{submitError !== null ? (<div@@ -691,7 +725,7 @@ export function CreateProjectDialog({ open, onOpenChange, bridge }: CreateProjec><Trans>Cancel</Trans></Button>- <Button type="submit" form={formId} disabled={!canSubmit} data-testid="create-submit">+ <Button type="submit" form={formId} disabled={submitDisabled} data-testid="create-submit">{busy ? <Trans>Creating</Trans> : <Trans>Create</Trans>}</Button></DialogFooter>diff --git a/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsxindex ac3411b3d..f628f281d 100644--- a/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx+++ b/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx@@ -119,6 +119,7 @@ mock.module('@/components/ui/toggle-group', () => ({}));mock.module('@/components/ui/tooltip', () => ({+ TooltipProvider: ({ children }: { children?: ReactNode }) => <>{children}</>,Tooltip: ({ children }: { children?: ReactNode }) => <>{children}</>,TooltipContent: ({ children }: { children?: ReactNode }) => <div>{children}</div>,TooltipTrigger: ({ children }: { children?: ReactNode }) => <>{children}</>,diff --git a/packages/app/src/components/settings/SharingSection.tsx b/packages/app/src/components/settings/SharingSection.tsxindex af00c7e78..107607ad7 100644--- a/packages/app/src/components/settings/SharingSection.tsx+++ b/packages/app/src/components/settings/SharingSection.tsx@@ -1,6 +1,7 @@import { Trans, useLingui } from '@lingui/react/macro';import { useEffect, useState } from 'react';import { toast } from 'sonner';+import { ConfigSharingInfoTooltip } from '@/components/ConfigSharingInfoTooltip';import { Button } from '@/components/ui/button';import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';import { Skeleton } from '@/components/ui/skeleton';@@ -113,14 +114,16 @@ function SharingSectionBody() {return (<section aria-labelledby={TITLE_ID} className="space-y-4" data-testid="settings-sharing"><div className="space-y-1">- <h3 id={TITLE_ID} className="text-base font-semibold">- <Trans>Config sharing</Trans>- </h3>+ <div className="flex items-center gap-1.5">+ <h3 id={TITLE_ID} className="text-base font-semibold">+ <Trans>Config sharing</Trans>+ </h3>+ <ConfigSharingInfoTooltip />+ </div><p className="text-1sm text-muted-foreground"><Trans>- Choose whether to commit <code>.ok/</code>, <code>.mcp.json</code> (and per-editor- variants), project skills, and <code>.claude/launch.json</code> alongside content — or- keep them on this machine only via <code>.git/info/exclude</code>.+ Choose whether this project's Open Knowledge setup, including its AI-tool connections,+ is saved with the project so teammates get it too, or kept only on your computer.</Trans></p></div>@@ -157,7 +160,9 @@ function SharingSectionBody() {<Trans>Share with my team</Trans></span><span className="block text-1sm text-muted-foreground">- <Trans>OK config is committed alongside content (default).</Trans>+ <Trans>+ Saved with the project so everyone who opens it gets the same setup (default).+ </Trans></span></span></label>@@ -173,10 +178,7 @@ function SharingSectionBody() {<Trans>Local only on this machine</Trans></span><span className="block text-1sm text-muted-foreground">- <Trans>- OK config stays on this machine via <code>.git/info/exclude</code>- (per-clone, not committed).- </Trans>+ <Trans>Stays on this computer only. Teammates won't get this setup.</Trans></span></span></label>diff --git a/packages/app/src/components/ui/tooltip.tsx b/packages/app/src/components/ui/tooltip.tsxindex 024e6268a..10559640c 100644--- a/packages/app/src/components/ui/tooltip.tsx+++ b/packages/app/src/components/ui/tooltip.tsx@@ -22,8 +22,19 @@ function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Rootreturn <TooltipPrimitive.Root data-slot="tooltip" {...props} />;}-function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {- return <TooltipPrimitive.Trigger data-slot="tooltip-trigger" {...props} />;+function TooltipTrigger({+ asChild,+ type,+ ...props+}: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {+ return (+ <TooltipPrimitive.Trigger+ data-slot="tooltip-trigger"+ asChild={asChild}+ type={asChild ? type : (type ?? 'button')}+ {...props}+ />+ );}function TooltipContent({diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex 185410f3e..f6d25b7f7 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -59,7 +59,6 @@"1EcCom": [["keyName"], " value"],"1GhYxC": ["of ", ["totalPages"]],"1HBhDS": ["Checking out files"],- "1L-NBV": ["OK config is committed alongside content (default)."],"1QfxQT": ["Dismiss"],"1RluQD": ["Show replace"],"1TNIig": ["Open"],@@ -87,7 +86,6 @@"2IXDgU": ["Upload file"],"2QM24L": ["All tags"],"2RBzMG": ["Network error — check your connection and try again"],- "2VHJG0": ["Share OK config with my team?"],"2XQ8Ww": ["Open preview when agent edits"],"2YOwme": ["Restarted — now running v", ["appRuntime"], "."],"2YZwPB": ["Forward-links response did not match expected shape."],@@ -167,9 +165,6 @@"4xtLTl": ["Hidden folder “", ["basename"], "”"],"4zGlN_": ["Paste image URL or click upload"],"5-FeN2": ["Share URL"],- "5310It": [- "<0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2>. Switch later in Settings → Config sharing, or from the command line with <3>ok config-sharing share|unshare</3>."- ],"54Y6Fg": ["Could not load templates. Try again later."],"56WWtu": ["Couldn't load starter packs: ", ["error"]],"56xUL1": ["Property name"],@@ -282,6 +277,7 @@"Open Knowledge is using a GitHub account provided by the gh CLI. There's no separate Open Knowledge credential to disconnect."],"7qRHf0": ["Install for Claude Chat & Cowork"],+ "7wPFtg": ["Please select a folder"],"80c4-P": ["Code copied to clipboard"],"81H_23": ["Add properties"],"881Uwh": ["Delete selected table"],@@ -868,6 +864,7 @@"RmBY0A": ["No git remote"],"RobAKV": ["Update the destination and optional section anchor."],"Rq1vFD": ["Tree view options"],+ "RrAIZx": ["What config sharing covers"],"Ruuu3v": ["Open with built-in text editor"],"Rx5ReQ": ["Rename ", ["keyName"]],"S33tz3": ["Not connected"],@@ -949,9 +946,7 @@"V48OUT": ["You deleted <0>", ["filePath"], "</0> locally, but it was modified upstream."],"V7QxyT": ["Connection dropped"],"VAHWL_": ["Connected as <0>@", ["signedInLogin"], "</0>"],- "VPLC6o": [- "OK config stays on this machine via <0>.git/info/exclude</0>(per-clone, not committed)."- ],+ "VNgKZz": ["Advanced settings"],"VU3Nrn": ["Missing"],"VUijjF": ["Embed an image with optional alt text."],"VYd_YA": ["Open an existing project folder from disk."],@@ -971,6 +966,9 @@"VvS_k_": ["Config sharing is now local-only."],"W-ntoW": ["heading-slug"],"W0i24j": ["Object"],+ "W1LDev": [+ "Setup files include: <0>.ok/</0>, AI-tool MCP configs (<1>.mcp.json</1> and per-tool files), project skills, and <2>.claude/launch.json</2>.<3/><4>Share with my team</4> commits them to git, so anyone who clones the repo gets the same setup. <5/><6>Local only</6> keeps them out of git (via <7>.git/info/exclude</7>)."+ ],"W1qRuM": ["This document is already active in the editor. Use Open to collapse the graph."],"W5A0Ly": ["An unexpected error occurred."],"W8uemY": ["Pick a starter pack to scaffold folders, templates, and AI-readable rules."],@@ -1056,9 +1054,6 @@"YsEYYS": [["behind", "plural", { "one": ["#", " commit behind"], "other": ["#", " commits behind"] }]],- "Ys_XGi": [- "Choose whether to commit <0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2> alongside content — or keep them on this machine only via <3>.git/info/exclude</3>."- ],"YwPUUP": ["This pack is already set up here."],"YyXtnN": ["Underline"],"Z1LF1M": ["Sharing a doc needs a GitHub repository. Create one for this project."],@@ -1211,6 +1206,9 @@"cdmk8A": ["Uncommitted changes"],"cklVjM": ["Timeline"],"cnGeoo": ["Delete"],+ "coIbL2": [+ "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."+ ],"cqQyPB": ["Folder name"],"cs4mps": ["Config sharing"],"csDS2L": ["Available"],@@ -1245,6 +1243,7 @@"e1Rn_k": ["Open containing folder"],"e1hptq": ["Embed a video with native player controls."],"e4GHWP": ["Pull"],+ "e5zxGP": ["Saved with the project so everyone who opens it gets the same setup (default)."],"e8L17t": ["A non-empty folder already exists at this path. Pick a different folder."],"e8zRrb": ["Show Files"],"eBIT9h": ["Paste failed.", ["restoreSuffix"]],@@ -1272,11 +1271,11 @@"fJgQHX": ["Failed to create file"],"fNr-MX": ["Disable semantic search"],"fRv-ei": ["Start a new Open Knowledge project."],+ "fTY4yt": [+ "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer. You can change this anytime in Settings."+ ],"fVcm9t": [["0", "plural", { "one": ["#", " doc"], "other": ["#", " docs"] }]],"fWi7pn": ["Initialize starter pack"],- "fX82Jn": [- "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata."- ],"fYKgzG": ["Failed to load recent projects."],"fYjgXu": ["Unordered list of items."],"fbdLmk": ["Toggle bold formatting."],@@ -1318,6 +1317,7 @@"gp3I7-": ["Before syncing, set your identity for git commits:"],"gtEbeW": ["Highlight"],"h06R3C": ["No pages are missing outgoing graph links."],+ "h29Sd6": ["Select or create a folder for your new project"],"h6EvY-": ["This will replace the current document content with the version from <0>",["relative"],@@ -1370,9 +1370,6 @@"iMkWoF": ["Turn on"],"iNFKkm": ["No diff."],"iOHg1t": ["Open embedded URL in new tab"],- "iRbdVc": [- "OK config stays on this machine via <0>.git/info/exclude</0> (per-clone, not committed)."- ],"iSQTsg": ["Ordered list"],"iSnkwB": ["Failed to open cloned project."],"iTlqm3": [@@ -1380,7 +1377,6 @@],"iTylMl": ["Templates"],"iXTp5j": ["Scope: "],- "i_grbe": ["Click Browse to pick or create a project folder."],"idD8Ev": ["Saved"],"ig5vUe": ["Failed to load file"],"iilQXA": ["Folder duplicated"],@@ -1516,6 +1512,7 @@"mk2poV": ["e.g. server.ts"],"mmpzAq": ["Wrap long lines in the markdown source editor."],"mo22UP": ["Toggle inline code formatting."],+ "mpCJcI": ["Stays on this computer only. Teammates won't get this setup."],"mqSwZH": ["<0>Mirror anchor not found.</0> No <1>",["mirrorSourceTag"],@@ -1566,6 +1563,9 @@"o5gfs1": ["This setting is per-machine and isn't shared with collaborators. It needs an API key set with <0>ok embeddings set-key</0>."],+ "o7htA-": [+ "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata and index the folder's markdown files. Review or change the details under <1>Advanced settings</1> before you start."+ ],"oBXkm2": ["Delete code block"],"oCZkaG": ["Copy path"],"oJl7eO": ["Unknown component: ", ["componentName"], " — source editable below"],@@ -1819,6 +1819,7 @@],"wndeIl": ["Project-level pages with neither incoming nor outgoing graph edges."],"wt8OSk": ["Requires a git repository — pick a different folder or enable git init."],+ "wtcxiD": ["Share this setup with your team?"],"wvbc1r": ["Couldn't open document"],"x2fr_j": ["Graph"],"x3-2ta": [diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex e4ee945cc..44bad04b5 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -403,11 +403,6 @@ msgstr "<{componentName}> isn't a known component. Copy the source to use it elsmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."-#: src/components/ConsentDialogBody.tsx-#: src/components/CreateProjectDialog.tsx-msgid "<0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2>. Switch later in Settings → Config sharing, or from the command line with <3>ok config-sharing share|unshare</3>."-msgstr "<0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2>. Switch later in Settings → Config sharing, or from the command line with <3>ok config-sharing share|unshare</3>."-#: src/components/CreateProjectDialog.tsxmsgid "<0>{rawName}</0> has characters unsafe for the on-disk identifier, so the project will be created as <1>{sanitized}</1>. Click Browse to pick a safer name."msgstr "<0>{rawName}</0> has characters unsafe for the on-disk identifier, so the project will be created as <1>{sanitized}</1>. Click Browse to pick a safer name."@@ -597,6 +592,11 @@ msgstr "Adds the Open Knowledge skill to the <0>Claude Desktop App</0> so it's amsgid "Advanced"msgstr "Advanced"+#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+msgid "Advanced settings"+msgstr "Advanced settings"+#: src/presence/PresenceBar.tsxmsgid "Agent"msgstr "Agent"@@ -958,8 +958,13 @@ msgid "Checklist with checkboxes."msgstr "Checklist with checkboxes."#: src/components/settings/SharingSection.tsx-msgid "Choose whether to commit <0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2> alongside content — or keep them on this machine only via <3>.git/info/exclude</3>."-msgstr "Choose whether to commit <0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2> alongside content — or keep them on this machine only via <3>.git/info/exclude</3>."+msgid "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."+msgstr "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."++#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+msgid "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer. You can change this anytime in Settings."+msgstr "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer. You can change this anytime in Settings."#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx@@ -1008,10 +1013,6 @@ msgstr "Click <0>+</0> <1/> <2>Create skill</2> <3/> <4>Upload skill</4>."msgid "Click an agent's avatar in the presence bar to view their session."msgstr "Click an agent's avatar in the presence bar to view their session."-#: src/components/CreateProjectDialog.tsx-msgid "Click Browse to pick or create a project folder."-msgstr "Click Browse to pick or create a project folder."-#: src/components/CloneDialog.tsxmsgid "Clone"msgstr "Clone"@@ -3741,21 +3742,6 @@ msgstr "Off — search ranks by keyword only. No content leaves this computer."msgid "Offline"msgstr "Offline"-#: src/components/ConsentDialogBody.tsx-#: src/components/CreateProjectDialog.tsx-#: src/components/settings/SharingSection.tsx-msgid "OK config is committed alongside content (default)."-msgstr "OK config is committed alongside content (default)."--#: src/components/ConsentDialogBody.tsx-msgid "OK config stays on this machine via <0>.git/info/exclude</0> (per-clone, not committed)."-msgstr "OK config stays on this machine via <0>.git/info/exclude</0> (per-clone, not committed)."--#: src/components/CreateProjectDialog.tsx-#: src/components/settings/SharingSection.tsx-msgid "OK config stays on this machine via <0>.git/info/exclude</0>(per-clone, not committed)."-msgstr "OK config stays on this machine via <0>.git/info/exclude</0>(per-clone, not committed)."-#: src/lib/keyboard-shortcuts.tsmsgid "OK Desktop"msgstr "OK Desktop"@@ -3923,8 +3909,8 @@ msgid "Open Knowledge will be initialized at <0>{gitRoot}</0> — the parent ofmsgstr "Open Knowledge will be initialized at <0>{gitRoot}</0> — the parent of your new folder, because it contains a <1>.git</1> folder (one project per git repo)."#: src/components/ConsentDialogBody.tsx-msgid "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata."-msgstr "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata."+msgid "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata and index the folder's markdown files. Review or change the details under <1>Advanced settings</1> before you start."+msgstr "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata and index the folder's markdown files. Review or change the details under <1>Advanced settings</1> before you start."#: src/components/AutoSyncEnableWarning.tsxmsgid "Open Knowledge will create commits and push them to your remote automatically. If you do not want automatic commits in your git history, you should not enable auto-sync."@@ -4275,6 +4261,10 @@ msgstr "Pin tab"msgid "Plain"msgstr "Plain"+#: src/components/CreateProjectDialog.tsx+msgid "Please select a folder"+msgstr "Please select a folder"+#: src/components/settings/SettingsDialogBody.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "Preferences"@@ -4785,6 +4775,12 @@ msgstr "Saved"msgid "Saved as <0>{slug}.md</0>"msgstr "Saved as <0>{slug}.md</0>"+#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+#: src/components/settings/SharingSection.tsx+msgid "Saved with the project so everyone who opens it gets the same setup (default)."+msgstr "Saved with the project so everyone who opens it gets the same setup (default)."+#: src/components/InstallInClaudeDesktopDialog.tsxmsgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."@@ -4903,6 +4899,10 @@ msgstr "Select every visible file-tree row when focus is in the Files sidebar."msgid "Select next occurrence"msgstr "Select next occurrence"+#: src/components/CreateProjectDialog.tsx+msgid "Select or create a folder for your new project"+msgstr "Select or create a folder for your new project"+#: src/lib/keyboard-shortcuts.tsmsgid "Select the full source document."msgstr "Select the full source document."@@ -5011,6 +5011,10 @@ msgstr "Settings failed to load"msgid "Settings sections"msgstr "Settings sections"+#: src/components/ConfigSharingInfoTooltip.tsx+msgid "Setup files include: <0>.ok/</0>, AI-tool MCP configs (<1>.mcp.json</1> and per-tool files), project skills, and <2>.claude/launch.json</2>.<3/><4>Share with my team</4> commits them to git, so anyone who clones the repo gets the same setup. <5/><6>Local only</6> keeps them out of git (via <7>.git/info/exclude</7>)."+msgstr "Setup files include: <0>.ok/</0>, AI-tool MCP configs (<1>.mcp.json</1> and per-tool files), project skills, and <2>.claude/launch.json</2>.<3/><4>Share with my team</4> commits them to git, so anyone who clones the repo gets the same setup. <5/><6>Local only</6> keeps them out of git (via <7>.git/info/exclude</7>)."+#: src/components/ShareButton.tsxmsgid "Share"msgstr "Share"@@ -5025,8 +5029,8 @@ msgstr "Share folder"#: src/components/ConsentDialogBody.tsx#: src/components/CreateProjectDialog.tsx-msgid "Share OK config with my team?"-msgstr "Share OK config with my team?"+msgid "Share this setup with your team?"+msgstr "Share this setup with your team?"#: src/components/PublishToGitHubDialog.tsx#: src/components/ShareButton.tsx@@ -5268,6 +5272,12 @@ msgstr "Starting clone"msgid "Starting sign-in flow"msgstr "Starting sign-in flow"+#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+#: src/components/settings/SharingSection.tsx+msgid "Stays on this computer only. Teammates won't get this setup."+msgstr "Stays on this computer only. Teammates won't get this setup."+#: src/components/MountStalledAffordance.tsxmsgid "Still loading"msgstr "Still loading"@@ -6066,6 +6076,10 @@ msgstr "We'll create a repository and start syncing — no terminal needed."msgid "Website"msgstr "Website"+#: src/components/ConfigSharingInfoTooltip.tsx+msgid "What config sharing covers"+msgstr "What config sharing covers"+#: src/components/CreatedItemsList.tsxmsgid "What gets created"msgstr "What gets created"diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 66a242269..5bcbd1cf2 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -59,7 +59,6 @@"1EcCom": [["keyName"], " vàĺũē"],"1GhYxC": ["ōƒ ", ["totalPages"]],"1HBhDS": ["Ćĥēćķĩńĝ ōũţ ƒĩĺēś"],- "1L-NBV": ["ŌĶ ćōńƒĩĝ ĩś ćōḿḿĩţţēď àĺōńĝśĩďē ćōńţēńţ (ďēƒàũĺţ)."],"1QfxQT": ["Ďĩśḿĩśś"],"1RluQD": ["Śĥōŵ ŕēƥĺàćē"],"1TNIig": ["Ōƥēń"],@@ -87,7 +86,6 @@"2IXDgU": ["Ũƥĺōàď ƒĩĺē"],"2QM24L": ["Àĺĺ ţàĝś"],"2RBzMG": ["Ńēţŵōŕķ ēŕŕōŕ — ćĥēćķ ŷōũŕ ćōńńēćţĩōń àńď ţŕŷ àĝàĩń"],- "2VHJG0": ["Śĥàŕē ŌĶ ćōńƒĩĝ ŵĩţĥ ḿŷ ţēàḿ?"],"2XQ8Ww": ["Ōƥēń ƥŕēvĩēŵ ŵĥēń àĝēńţ ēďĩţś"],"2YOwme": ["Ŕēśţàŕţēď — ńōŵ ŕũńńĩńĝ v", ["appRuntime"], "."],"2YZwPB": ["Ƒōŕŵàŕď-ĺĩńķś ŕēśƥōńśē ďĩď ńōţ ḿàţćĥ ēxƥēćţēď śĥàƥē."],@@ -167,9 +165,6 @@"4xtLTl": ["Ĥĩďďēń ƒōĺďēŕ “", ["basename"], "”"],"4zGlN_": ["Ƥàśţē ĩḿàĝē ŨŔĹ ōŕ ćĺĩćķ ũƥĺōàď"],"5-FeN2": ["Śĥàŕē ŨŔĹ"],- "5310It": [- "<0>.ōķ/</0>, <1>.ḿćƥ.Ĵśōń</1> (àńď ƥēŕ-ēďĩţōŕ vàŕĩàńţś), ƥŕōĴēćţ śķĩĺĺś, àńď <2>.ćĺàũďē/ĺàũńćĥ.Ĵśōń</2>. Śŵĩţćĥ ĺàţēŕ ĩń Śēţţĩńĝś → Ćōńƒĩĝ śĥàŕĩńĝ, ōŕ ƒŕōḿ ţĥē ćōḿḿàńď ĺĩńē ŵĩţĥ <3>ōķ ćōńƒĩĝ-śĥàŕĩńĝ śĥàŕē|ũńśĥàŕē</3>."- ],"54Y6Fg": ["Ćōũĺď ńōţ ĺōàď ţēḿƥĺàţēś. Ţŕŷ àĝàĩń ĺàţēŕ."],"56WWtu": ["Ćōũĺďń'ţ ĺōàď śţàŕţēŕ ƥàćķś: ", ["error"]],"56xUL1": ["Ƥŕōƥēŕţŷ ńàḿē"],@@ -282,6 +277,7 @@"Ōƥēń Ķńōŵĺēďĝē ĩś ũśĩńĝ à ĜĩţĤũƀ àććōũńţ ƥŕōvĩďēď ƀŷ ţĥē ĝĥ ĆĹĨ. Ţĥēŕē'ś ńō śēƥàŕàţē Ōƥēń Ķńōŵĺēďĝē ćŕēďēńţĩàĺ ţō ďĩśćōńńēćţ."],"7qRHf0": ["Ĩńśţàĺĺ ƒōŕ Ćĺàũďē Ćĥàţ & Ćōŵōŕķ"],+ "7wPFtg": ["Ƥĺēàśē śēĺēćţ à ƒōĺďēŕ"],"80c4-P": ["Ćōďē ćōƥĩēď ţō ćĺĩƥƀōàŕď"],"81H_23": ["Àďď ƥŕōƥēŕţĩēś"],"881Uwh": ["Ďēĺēţē śēĺēćţēď ţàƀĺē"],@@ -868,6 +864,7 @@"RmBY0A": ["Ńō ĝĩţ ŕēḿōţē"],"RobAKV": ["Ũƥďàţē ţĥē ďēśţĩńàţĩōń àńď ōƥţĩōńàĺ śēćţĩōń àńćĥōŕ."],"Rq1vFD": ["Ţŕēē vĩēŵ ōƥţĩōńś"],+ "RrAIZx": ["Ŵĥàţ ćōńƒĩĝ śĥàŕĩńĝ ćōvēŕś"],"Ruuu3v": ["Ōƥēń ŵĩţĥ ƀũĩĺţ-ĩń ţēxţ ēďĩţōŕ"],"Rx5ReQ": ["Ŕēńàḿē ", ["keyName"]],"S33tz3": ["Ńōţ ćōńńēćţēď"],@@ -949,9 +946,7 @@"V48OUT": ["Ŷōũ ďēĺēţēď <0>", ["filePath"], "</0> ĺōćàĺĺŷ, ƀũţ ĩţ ŵàś ḿōďĩƒĩēď ũƥśţŕēàḿ."],"V7QxyT": ["Ćōńńēćţĩōń ďŕōƥƥēď"],"VAHWL_": ["Ćōńńēćţēď àś <0>@", ["signedInLogin"], "</0>"],- "VPLC6o": [- "ŌĶ ćōńƒĩĝ śţàŷś ōń ţĥĩś ḿàćĥĩńē vĩà <0>.ĝĩţ/ĩńƒō/ēxćĺũďē</0>(ƥēŕ-ćĺōńē, ńōţ ćōḿḿĩţţēď)."- ],+ "VNgKZz": ["Àďvàńćēď śēţţĩńĝś"],"VU3Nrn": ["Ḿĩśśĩńĝ"],"VUijjF": ["Ēḿƀēď àń ĩḿàĝē ŵĩţĥ ōƥţĩōńàĺ àĺţ ţēxţ."],"VYd_YA": ["Ōƥēń àń ēxĩśţĩńĝ ƥŕōĴēćţ ƒōĺďēŕ ƒŕōḿ ďĩśķ."],@@ -971,6 +966,9 @@"VvS_k_": ["Ćōńƒĩĝ śĥàŕĩńĝ ĩś ńōŵ ĺōćàĺ-ōńĺŷ."],"W-ntoW": ["ĥēàďĩńĝ-śĺũĝ"],"W0i24j": ["ŌƀĴēćţ"],+ "W1LDev": [+ "Śēţũƥ ƒĩĺēś ĩńćĺũďē: <0>.ōķ/</0>, ÀĨ-ţōōĺ ḾĆƤ ćōńƒĩĝś (<1>.ḿćƥ.Ĵśōń</1> àńď ƥēŕ-ţōōĺ ƒĩĺēś), ƥŕōĴēćţ śķĩĺĺś, àńď <2>.ćĺàũďē/ĺàũńćĥ.Ĵśōń</2>.<3/><4>Śĥàŕē ŵĩţĥ ḿŷ ţēàḿ</4> ćōḿḿĩţś ţĥēḿ ţō ĝĩţ, śō àńŷōńē ŵĥō ćĺōńēś ţĥē ŕēƥō ĝēţś ţĥē śàḿē śēţũƥ. <5/><6>Ĺōćàĺ ōńĺŷ</6> ķēēƥś ţĥēḿ ōũţ ōƒ ĝĩţ (vĩà <7>.ĝĩţ/ĩńƒō/ēxćĺũďē</7>)."+ ],"W1qRuM": ["Ţĥĩś ďōćũḿēńţ ĩś àĺŕēàďŷ àćţĩvē ĩń ţĥē ēďĩţōŕ. Ũśē Ōƥēń ţō ćōĺĺàƥśē ţĥē ĝŕàƥĥ."],"W5A0Ly": ["Àń ũńēxƥēćţēď ēŕŕōŕ ōććũŕŕēď."],"W8uemY": ["Ƥĩćķ à śţàŕţēŕ ƥàćķ ţō śćàƒƒōĺď ƒōĺďēŕś, ţēḿƥĺàţēś, àńď ÀĨ-ŕēàďàƀĺē ŕũĺēś."],@@ -1056,9 +1054,6 @@"YsEYYS": [["behind", "plural", { "one": ["#", " ćōḿḿĩţ ƀēĥĩńď"], "other": ["#", " ćōḿḿĩţś ƀēĥĩńď"] }]],- "Ys_XGi": [- "Ćĥōōśē ŵĥēţĥēŕ ţō ćōḿḿĩţ <0>.ōķ/</0>, <1>.ḿćƥ.Ĵśōń</1> (àńď ƥēŕ-ēďĩţōŕ vàŕĩàńţś), ƥŕōĴēćţ śķĩĺĺś, àńď <2>.ćĺàũďē/ĺàũńćĥ.Ĵśōń</2> àĺōńĝśĩďē ćōńţēńţ — ōŕ ķēēƥ ţĥēḿ ōń ţĥĩś ḿàćĥĩńē ōńĺŷ vĩà <3>.ĝĩţ/ĩńƒō/ēxćĺũďē</3>."- ],"YwPUUP": ["Ţĥĩś ƥàćķ ĩś àĺŕēàďŷ śēţ ũƥ ĥēŕē."],"YyXtnN": ["Ũńďēŕĺĩńē"],"Z1LF1M": ["Śĥàŕĩńĝ à ďōć ńēēďś à ĜĩţĤũƀ ŕēƥōśĩţōŕŷ. Ćŕēàţē ōńē ƒōŕ ţĥĩś ƥŕōĴēćţ."],@@ -1211,6 +1206,9 @@"cdmk8A": ["Ũńćōḿḿĩţţēď ćĥàńĝēś"],"cklVjM": ["Ţĩḿēĺĩńē"],"cnGeoo": ["Ďēĺēţē"],+ "coIbL2": [+ "Ćĥōōśē ŵĥēţĥēŕ ţĥĩś ƥŕōĴēćţ'ś Ōƥēń Ķńōŵĺēďĝē śēţũƥ, ĩńćĺũďĩńĝ ĩţś ÀĨ-ţōōĺ ćōńńēćţĩōńś, ĩś śàvēď ŵĩţĥ ţĥē ƥŕōĴēćţ śō ţēàḿḿàţēś ĝēţ ĩţ ţōō, ōŕ ķēƥţ ōńĺŷ ōń ŷōũŕ ćōḿƥũţēŕ."+ ],"cqQyPB": ["Ƒōĺďēŕ ńàḿē"],"cs4mps": ["Ćōńƒĩĝ śĥàŕĩńĝ"],"csDS2L": ["Àvàĩĺàƀĺē"],@@ -1245,6 +1243,7 @@"e1Rn_k": ["Ōƥēń ćōńţàĩńĩńĝ ƒōĺďēŕ"],"e1hptq": ["Ēḿƀēď à vĩďēō ŵĩţĥ ńàţĩvē ƥĺàŷēŕ ćōńţŕōĺś."],"e4GHWP": ["Ƥũĺĺ"],+ "e5zxGP": ["Śàvēď ŵĩţĥ ţĥē ƥŕōĴēćţ śō ēvēŕŷōńē ŵĥō ōƥēńś ĩţ ĝēţś ţĥē śàḿē śēţũƥ (ďēƒàũĺţ)."],"e8L17t": ["À ńōń-ēḿƥţŷ ƒōĺďēŕ àĺŕēàďŷ ēxĩśţś àţ ţĥĩś ƥàţĥ. Ƥĩćķ à ďĩƒƒēŕēńţ ƒōĺďēŕ."],"e8zRrb": ["Śĥōŵ Ƒĩĺēś"],"eBIT9h": ["Ƥàśţē ƒàĩĺēď.", ["restoreSuffix"]],@@ -1272,11 +1271,11 @@"fJgQHX": ["Ƒàĩĺēď ţō ćŕēàţē ƒĩĺē"],"fNr-MX": ["Ďĩśàƀĺē śēḿàńţĩć śēàŕćĥ"],"fRv-ei": ["Śţàŕţ à ńēŵ Ōƥēń Ķńōŵĺēďĝē ƥŕōĴēćţ."],+ "fTY4yt": [+ "Ćĥōōśē ŵĥēţĥēŕ ţĥĩś ƥŕōĴēćţ'ś Ōƥēń Ķńōŵĺēďĝē śēţũƥ, ĩńćĺũďĩńĝ ĩţś ÀĨ-ţōōĺ ćōńńēćţĩōńś, ĩś śàvēď ŵĩţĥ ţĥē ƥŕōĴēćţ śō ţēàḿḿàţēś ĝēţ ĩţ ţōō, ōŕ ķēƥţ ōńĺŷ ōń ŷōũŕ ćōḿƥũţēŕ. Ŷōũ ćàń ćĥàńĝē ţĥĩś àńŷţĩḿē ĩń Śēţţĩńĝś."+ ],"fVcm9t": [["0", "plural", { "one": ["#", " ďōć"], "other": ["#", " ďōćś"] }]],"fWi7pn": ["Ĩńĩţĩàĺĩźē śţàŕţēŕ ƥàćķ"],- "fX82Jn": [- "Ōƥēń Ķńōŵĺēďĝē ŵĩĺĺ ćŕēàţē à <0>.ōķ/</0> ƒōĺďēŕ ĥēŕē ţō ţŕàćķ ţĥĩś ƥŕōĴēćţ'ś ḿēţàďàţà."- ],"fYKgzG": ["Ƒàĩĺēď ţō ĺōàď ŕēćēńţ ƥŕōĴēćţś."],"fYjgXu": ["Ũńōŕďēŕēď ĺĩśţ ōƒ ĩţēḿś."],"fbdLmk": ["Ţōĝĝĺē ƀōĺď ƒōŕḿàţţĩńĝ."],@@ -1318,6 +1317,7 @@"gp3I7-": ["ßēƒōŕē śŷńćĩńĝ, śēţ ŷōũŕ ĩďēńţĩţŷ ƒōŕ ĝĩţ ćōḿḿĩţś:"],"gtEbeW": ["Ĥĩĝĥĺĩĝĥţ"],"h06R3C": ["Ńō ƥàĝēś àŕē ḿĩśśĩńĝ ōũţĝōĩńĝ ĝŕàƥĥ ĺĩńķś."],+ "h29Sd6": ["Śēĺēćţ ōŕ ćŕēàţē à ƒōĺďēŕ ƒōŕ ŷōũŕ ńēŵ ƥŕōĴēćţ"],"h6EvY-": ["Ţĥĩś ŵĩĺĺ ŕēƥĺàćē ţĥē ćũŕŕēńţ ďōćũḿēńţ ćōńţēńţ ŵĩţĥ ţĥē vēŕśĩōń ƒŕōḿ <0>",["relative"],@@ -1370,9 +1370,6 @@"iMkWoF": ["Ţũŕń ōń"],"iNFKkm": ["Ńō ďĩƒƒ."],"iOHg1t": ["Ōƥēń ēḿƀēďďēď ŨŔĹ ĩń ńēŵ ţàƀ"],- "iRbdVc": [- "ŌĶ ćōńƒĩĝ śţàŷś ōń ţĥĩś ḿàćĥĩńē vĩà <0>.ĝĩţ/ĩńƒō/ēxćĺũďē</0> (ƥēŕ-ćĺōńē, ńōţ ćōḿḿĩţţēď)."- ],"iSQTsg": ["Ōŕďēŕēď ĺĩśţ"],"iSnkwB": ["Ƒàĩĺēď ţō ōƥēń ćĺōńēď ƥŕōĴēćţ."],"iTlqm3": [@@ -1380,7 +1377,6 @@],"iTylMl": ["Ţēḿƥĺàţēś"],"iXTp5j": ["Śćōƥē: "],- "i_grbe": ["Ćĺĩćķ ßŕōŵśē ţō ƥĩćķ ōŕ ćŕēàţē à ƥŕōĴēćţ ƒōĺďēŕ."],"idD8Ev": ["Śàvēď"],"ig5vUe": ["Ƒàĩĺēď ţō ĺōàď ƒĩĺē"],"iilQXA": ["Ƒōĺďēŕ ďũƥĺĩćàţēď"],@@ -1516,6 +1512,7 @@"mk2poV": ["ē.ĝ. śēŕvēŕ.ţś"],"mmpzAq": ["Ŵŕàƥ ĺōńĝ ĺĩńēś ĩń ţĥē ḿàŕķďōŵń śōũŕćē ēďĩţōŕ."],"mo22UP": ["Ţōĝĝĺē ĩńĺĩńē ćōďē ƒōŕḿàţţĩńĝ."],+ "mpCJcI": ["Śţàŷś ōń ţĥĩś ćōḿƥũţēŕ ōńĺŷ. Ţēàḿḿàţēś ŵōń'ţ ĝēţ ţĥĩś śēţũƥ."],"mqSwZH": ["<0>Ḿĩŕŕōŕ àńćĥōŕ ńōţ ƒōũńď.</0> Ńō <1>",["mirrorSourceTag"],@@ -1566,6 +1563,9 @@"o5gfs1": ["Ţĥĩś śēţţĩńĝ ĩś ƥēŕ-ḿàćĥĩńē àńď ĩśń'ţ śĥàŕēď ŵĩţĥ ćōĺĺàƀōŕàţōŕś. Ĩţ ńēēďś àń ÀƤĨ ķēŷ śēţ ŵĩţĥ <0>ōķ ēḿƀēďďĩńĝś śēţ-ķēŷ</0>."],+ "o7htA-": [+ "Ōƥēń Ķńōŵĺēďĝē ŵĩĺĺ ćŕēàţē à <0>.ōķ/</0> ƒōĺďēŕ ĥēŕē ţō ţŕàćķ ţĥĩś ƥŕōĴēćţ'ś ḿēţàďàţà àńď ĩńďēx ţĥē ƒōĺďēŕ'ś ḿàŕķďōŵń ƒĩĺēś. Ŕēvĩēŵ ōŕ ćĥàńĝē ţĥē ďēţàĩĺś ũńďēŕ <1>Àďvàńćēď śēţţĩńĝś</1> ƀēƒōŕē ŷōũ śţàŕţ."+ ],"oBXkm2": ["Ďēĺēţē ćōďē ƀĺōćķ"],"oCZkaG": ["Ćōƥŷ ƥàţĥ"],"oJl7eO": ["Ũńķńōŵń ćōḿƥōńēńţ: ", ["componentName"], " — śōũŕćē ēďĩţàƀĺē ƀēĺōŵ"],@@ -1819,6 +1819,7 @@],"wndeIl": ["ƤŕōĴēćţ-ĺēvēĺ ƥàĝēś ŵĩţĥ ńēĩţĥēŕ ĩńćōḿĩńĝ ńōŕ ōũţĝōĩńĝ ĝŕàƥĥ ēďĝēś."],"wt8OSk": ["Ŕēǫũĩŕēś à ĝĩţ ŕēƥōśĩţōŕŷ — ƥĩćķ à ďĩƒƒēŕēńţ ƒōĺďēŕ ōŕ ēńàƀĺē ĝĩţ ĩńĩţ."],+ "wtcxiD": ["Śĥàŕē ţĥĩś śēţũƥ ŵĩţĥ ŷōũŕ ţēàḿ?"],"wvbc1r": ["Ćōũĺďń'ţ ōƥēń ďōćũḿēńţ"],"x2fr_j": ["Ĝŕàƥĥ"],"x3-2ta": [diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex 200f60b5e..e3ead4719 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -398,11 +398,6 @@ msgstr ""msgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr ""-#: src/components/ConsentDialogBody.tsx-#: src/components/CreateProjectDialog.tsx-msgid "<0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2>. Switch later in Settings → Config sharing, or from the command line with <3>ok config-sharing share|unshare</3>."-msgstr ""-#: src/components/CreateProjectDialog.tsxmsgid "<0>{rawName}</0> has characters unsafe for the on-disk identifier, so the project will be created as <1>{sanitized}</1>. Click Browse to pick a safer name."msgstr ""@@ -592,6 +587,11 @@ msgstr ""msgid "Advanced"msgstr ""+#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+msgid "Advanced settings"+msgstr ""+#: src/presence/PresenceBar.tsxmsgid "Agent"msgstr ""@@ -953,7 +953,12 @@ msgid "Checklist with checkboxes."msgstr ""#: src/components/settings/SharingSection.tsx-msgid "Choose whether to commit <0>.ok/</0>, <1>.mcp.json</1> (and per-editor variants), project skills, and <2>.claude/launch.json</2> alongside content — or keep them on this machine only via <3>.git/info/exclude</3>."+msgid "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."+msgstr ""++#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+msgid "Choose whether this project's Open Knowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer. You can change this anytime in Settings."msgstr ""#: src/components/handoff/OpenInAgentContextSubmenu.tsx@@ -1003,10 +1008,6 @@ msgstr ""msgid "Click an agent's avatar in the presence bar to view their session."msgstr ""-#: src/components/CreateProjectDialog.tsx-msgid "Click Browse to pick or create a project folder."-msgstr ""-#: src/components/CloneDialog.tsxmsgid "Clone"msgstr ""@@ -3736,21 +3737,6 @@ msgstr ""msgid "Offline"msgstr ""-#: src/components/ConsentDialogBody.tsx-#: src/components/CreateProjectDialog.tsx-#: src/components/settings/SharingSection.tsx-msgid "OK config is committed alongside content (default)."-msgstr ""--#: src/components/ConsentDialogBody.tsx-msgid "OK config stays on this machine via <0>.git/info/exclude</0> (per-clone, not committed)."-msgstr ""--#: src/components/CreateProjectDialog.tsx-#: src/components/settings/SharingSection.tsx-msgid "OK config stays on this machine via <0>.git/info/exclude</0>(per-clone, not committed)."-msgstr ""-#: src/lib/keyboard-shortcuts.tsmsgid "OK Desktop"msgstr ""@@ -3918,7 +3904,7 @@ msgid "Open Knowledge will be initialized at <0>{gitRoot}</0> — the parent ofmsgstr ""#: src/components/ConsentDialogBody.tsx-msgid "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata."+msgid "Open Knowledge will create a <0>.ok/</0> folder here to track this project's metadata and index the folder's markdown files. Review or change the details under <1>Advanced settings</1> before you start."msgstr ""#: src/components/AutoSyncEnableWarning.tsx@@ -4270,6 +4256,10 @@ msgstr ""msgid "Plain"msgstr ""+#: src/components/CreateProjectDialog.tsx+msgid "Please select a folder"+msgstr ""+#: src/components/settings/SettingsDialogBody.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "Preferences"@@ -4780,6 +4770,12 @@ msgstr ""msgid "Saved as <0>{slug}.md</0>"msgstr ""+#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+#: src/components/settings/SharingSection.tsx+msgid "Saved with the project so everyone who opens it gets the same setup (default)."+msgstr ""+#: src/components/InstallInClaudeDesktopDialog.tsxmsgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr ""@@ -4898,6 +4894,10 @@ msgstr ""msgid "Select next occurrence"msgstr ""+#: src/components/CreateProjectDialog.tsx+msgid "Select or create a folder for your new project"+msgstr ""+#: src/lib/keyboard-shortcuts.tsmsgid "Select the full source document."msgstr ""@@ -5006,6 +5006,10 @@ msgstr ""msgid "Settings sections"msgstr ""+#: src/components/ConfigSharingInfoTooltip.tsx+msgid "Setup files include: <0>.ok/</0>, AI-tool MCP configs (<1>.mcp.json</1> and per-tool files), project skills, and <2>.claude/launch.json</2>.<3/><4>Share with my team</4> commits them to git, so anyone who clones the repo gets the same setup. <5/><6>Local only</6> keeps them out of git (via <7>.git/info/exclude</7>)."+msgstr ""+#: src/components/ShareButton.tsxmsgid "Share"msgstr ""@@ -5020,7 +5024,7 @@ msgstr ""#: src/components/ConsentDialogBody.tsx#: src/components/CreateProjectDialog.tsx-msgid "Share OK config with my team?"+msgid "Share this setup with your team?"msgstr ""#: src/components/PublishToGitHubDialog.tsx@@ -5263,6 +5267,12 @@ msgstr ""msgid "Starting sign-in flow"msgstr ""+#: src/components/ConsentDialogBody.tsx+#: src/components/CreateProjectDialog.tsx+#: src/components/settings/SharingSection.tsx+msgid "Stays on this computer only. Teammates won't get this setup."+msgstr ""+#: src/components/MountStalledAffordance.tsxmsgid "Still loading"msgstr ""@@ -6061,6 +6071,10 @@ msgstr ""msgid "Website"msgstr ""+#: src/components/ConfigSharingInfoTooltip.tsx+msgid "What config sharing covers"+msgstr ""+#: src/components/CreatedItemsList.tsxmsgid "What gets created"msgstr ""diff --git a/packages/desktop/tests/smoke/consent-dialog.e2e.ts b/packages/desktop/tests/smoke/consent-dialog.e2e.tsindex f5aab0e9b..d767dab49 100644--- a/packages/desktop/tests/smoke/consent-dialog.e2e.ts+++ b/packages/desktop/tests/smoke/consent-dialog.e2e.ts@@ -114,6 +114,12 @@ async function countWindowsByMode(return n;}+async function expandAdvancedSettings(page: Page): Promise<void> {+ const trigger = page.locator('[data-testid="consent-advanced-trigger"]');+ await expect(trigger).toBeVisible({ timeout: 15_000 });+ await trigger.click();+}+const cleanupTargets: string[] = [];function trackForCleanup(...paths: string[]): void {cleanupTargets.push(...paths);@@ -145,6 +151,7 @@ test.describe('Consent-dialog smoke', () => {const navigator = await findWindowByMode(app, 'navigator');await navigator.locator('[data-testid="nav-open"]').click();+ await expandAdvancedSettings(navigator);const contentDir = navigator.locator('[data-testid="consent-content-dir"]');await expect(contentDir).toBeVisible({ timeout: 15_000 });@@ -173,6 +180,7 @@ test.describe('Consent-dialog smoke', () => {const navigator = await findWindowByMode(app, 'navigator');await navigator.locator('[data-testid="nav-open"]').click();+ await expandAdvancedSettings(navigator);const contentDirInput = navigator.locator('[data-testid="consent-content-dir"]');await expect(contentDirInput).toBeVisible({ timeout: 15_000 });@@ -199,6 +207,7 @@ test.describe('Consent-dialog smoke', () => {const navigator = await findWindowByMode(app, 'navigator');await navigator.locator('[data-testid="nav-open"]').click();+ await expandAdvancedSettings(navigator);const contentDir = navigator.locator('[data-testid="consent-content-dir"]');await expect(contentDir).toBeVisible({ timeout: 15_000 });diff --git a/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts b/packages/desktop/tests/smoke/qa-create-new-extended.e2e.tsindex 48c0455dd..6e3a47622 100644--- a/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts+++ b/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts@@ -24,6 +24,12 @@ const DARWIN = process.platform === 'darwin';const BUILD_EXISTS = existsSync(MAIN_ENTRY);const DESKTOP_PRODUCT_NAME = '@inkeep/open-knowledge-desktop';+async function expandCreateAdvanced(page: Page): Promise<void> {+ const trigger = page.locator('[data-testid="create-advanced-trigger"]');+ await expect(trigger).toBeVisible({ timeout: 15_000 });+ await trigger.click();+}+function seedTmpHome(prefix: string, stateOverride?: Record<string, unknown>): string {const tmpHome = realpathSync(mkdtempSync(join(tmpdir(), `ok-qa-${prefix}-`)));const userDataDir = join(tmpHome, 'Library', 'Application Support', DESKTOP_PRODUCT_NAME);@@ -139,6 +145,7 @@ test.describe('QA extended create-new-project', () => {timeout: 15_000,});+ await expandCreateAdvanced(navigator);await navigator.locator('[data-testid="create-editor-cursor"]').click();await navigator.locator('[data-testid="create-editor-codex"]').click();await expect(navigator.locator('[data-testid="create-editor-claude"]')).toBeChecked();@@ -184,6 +191,7 @@ test.describe('QA extended create-new-project', () => {const ariaLive = await caption.getAttribute('aria-live');expect(ariaLive).toBe('polite');+ await expandCreateAdvanced(navigator);await expect(navigator.locator('[data-testid="create-editor-claude"]')).toBeChecked();await expect(navigator.locator('[data-testid="create-editor-claude-desktop"]')).toBeChecked();await expect(navigator.locator('[data-testid="create-editor-cursor"]')).toBeChecked();@@ -255,17 +263,20 @@ test.describe('QA extended create-new-project', () => {});await expect(navigator2.locator('[data-testid="create-name"]')).toHaveCount(0);const caption2 = navigator2.locator('[data-testid="create-target-caption"]');- await expect(caption2).toContainText('Click Browse to pick or create a project folder', {+ await expect(caption2).toContainText('Select or create a folder for your new project', {timeout: 5_000,});+ await expandCreateAdvanced(navigator2);await expect(navigator2.locator('[data-testid="create-editor-claude"]')).toBeChecked();await expect(navigator2.locator('[data-testid="create-editor-claude-desktop"]')).toBeChecked();await expect(navigator2.locator('[data-testid="create-editor-cursor"]')).toBeChecked();await expect(navigator2.locator('[data-testid="create-editor-codex"]')).toBeChecked();});- test('submit is disabled until Browse picks a target', async ({ captureStderrFor }) => {- const tmpHome = seedTmpHome('disabled-when-empty');+ test('submit with no folder does not create; Browse enables creation', async ({+ captureStderrFor,+ }) => {+ const tmpHome = seedTmpHome('toast-when-empty');const parent = join(tmpHome, 'projects-san');mkdirSync(parent, { recursive: true });trackForCleanup(tmpHome);@@ -279,15 +290,21 @@ test.describe('QA extended create-new-project', () => {});await expect(navigator.locator('[data-testid="create-name"]')).toHaveCount(0);- await expect(navigator.locator('[data-testid="create-submit"]')).toBeDisabled();+ const submit = navigator.locator('[data-testid="create-submit"]');+ await expect(submit).toBeEnabled();const caption = navigator.locator('[data-testid="create-target-caption"]');- await expect(caption).toContainText('Click Browse to pick or create a project folder', {+ await expect(caption).toContainText('Select or create a folder for your new project', {timeout: 5_000,});+ await submit.click();+ await navigator.waitForTimeout(2_000);+ await expect(navigator.locator('[data-testid="create-project-dialog"]')).toBeVisible();+ expect(await countWindowsByMode(app, 'editor')).toBe(0);+await navigator.locator('[data-testid="create-browse"]').click();await expect(caption).toHaveText(join(parent, 'AfterPick'), { timeout: 15_000 });- await expect(navigator.locator('[data-testid="create-submit"]')).toBeEnabled();+ await expect(submit).toBeEnabled();});test('QA-019 — double-click Create produces exactly one project', async ({