Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
fix(open-knowledge): drop GitHub follow-up from bug report success dialog (#2668)
Andrew Mikofalvy24e8ceedd027
diff --git a/.changeset/bug-report-drop-github-followup.md b/.changeset/bug-report-drop-github-followup.mdnew file mode 100644index 000000000..255d75734--- /dev/null+++ b/.changeset/bug-report-drop-github-followup.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": patch+---++Report a bug no longer points you to GitHub after you send. The "Thanks for the report!" confirmation used to suggest opening a public GitHub issue and included an "Open GitHub issue" button; both are gone. The dialog still shows your report reference to copy, and if you want to add more it offers writing to [email protected] with that reference.diff --git a/packages/app/src/components/ReportBugDialog.dom.test.tsx b/packages/app/src/components/ReportBugDialog.dom.test.tsxindex b7c4c2c7d..49b231cc0 100644--- a/packages/app/src/components/ReportBugDialog.dom.test.tsx+++ b/packages/app/src/components/ReportBugDialog.dom.test.tsx@@ -313,7 +313,7 @@ describe('ReportBugDialog', () => {expect((noteBox as HTMLTextAreaElement).value).toBe('my draft note');});- test('sending uploads the reviewed zip and lands on the reference with copy and GitHub follow-up', async () => {+ test('sending uploads the reviewed zip and lands on the reference with copy and support follow-up', async () => {const send = deferred<OkBugReportSendResult>();const log = installBridge({ send: () => send.promise });const { openChangeCalls } = await renderDialog();@@ -357,15 +357,10 @@ describe('ReportBugDialog', () => {await screen.findByRole('button', { name: 'Copied!' });expect(log.clipboard).toEqual(['OK-8H3KQD']);- await userEvent.click(screen.getByRole('button', { name: 'Open GitHub issue' }));- expect(log.opened).toHaveLength(1);- expect(log.opened[0]).toContain('https://github.com/inkeep/open-knowledge/issues/new?');- expect(log.opened[0]).toContain('OK-8H3KQD');- // Privacy pin: the public GitHub prefill carries the reference in title- // and body only — no diagnostics, bundle-path, or attachment params may- // ever ride along.- const issueUrl = new URL(log.opened[0] ?? '');- expect([...issueUrl.searchParams.keys()].sort()).toEqual(['body', 'title']);+ // The public GitHub follow-up is gone — no issue button, and support email+ // is the only follow-up channel offered.+ expect(screen.queryByRole('button', { name: 'Open GitHub issue' })).toBeNull();+ expect(screen.getByRole('link', { name: '[email protected]' })).not.toBeNull();await userEvent.click(screen.getByRole('button', { name: 'Done' }));expect(openChangeCalls).toEqual([false]);diff --git a/packages/app/src/components/ReportBugDialogBody.tsx b/packages/app/src/components/ReportBugDialogBody.tsxindex 914f57cc3..603499fe5 100644--- a/packages/app/src/components/ReportBugDialogBody.tsx+++ b/packages/app/src/components/ReportBugDialogBody.tsx@@ -3,7 +3,7 @@** One dialog hosts six phases: compose (optional note + detail level),* review (inspect the exact zip before consenting to send), sending, success- * (report reference + public GitHub follow-up), email (the designed+ * (report reference + support-email follow-up), email (the designed* no-intake default — nothing was uploaded, the prefilled draft is the* transport), and failure (the same email fallback framed as an error, for* uploads that were attempted and failed). The zip reviewed is byte-identical@@ -52,7 +52,6 @@ import { Textarea } from '@/components/ui/textarea';import { dispatchExternalLinkClick } from '@/lib/external-link';import { scheduleClipboardWrite } from '@/lib/share/clipboard-adapter';-const GITHUB_NEW_ISSUE_URL = 'https://github.com/inkeep/open-knowledge/issues/new';const SUPPORT_EMAIL = '[email protected]';/** Bare mailto with a prefilled subject — used on the success screen, where the@@ -351,16 +350,6 @@ function ReportBugDialog({void window.okDesktop?.shell.openExternal(url);}- function handleOpenGithubIssue(reference: string) {- const params = new URLSearchParams({- title: t`Bug report ${reference}`,- // The reference is the only private↔public correlation key; the bundle- // itself never leaves the private channel.- body: t`Report reference: ${reference}`,- });- openExternal(`${GITHUB_NEW_ISSUE_URL}?${params}`);- }-const uploadPct = Math.round(sentFraction * 100);return (@@ -763,21 +752,14 @@ function ReportBugDialog({</div><p className="text-sm text-muted-foreground"><Trans>- <span className="font-medium text-foreground">Want to follow along?</span> Open- a GitHub issue and mention your reference. Or write to{' '}- <SupportEmailLink href={supportMailtoUrl(t`Bug report ${phase.reference}`)} />+ <span className="font-medium text-foreground">Have more to add?</span> Write to{' '}+ <SupportEmailLink href={supportMailtoUrl(t`Bug report ${phase.reference}`)} />{' '}+ and mention your reference.</Trans></p></div></DialogBody><DialogFooter>- <Button- variant="outline"- className="font-mono uppercase"- onClick={() => handleOpenGithubIssue(phase.reference)}- >- <Trans>Open GitHub issue</Trans>- </Button><Button onClick={() => handleOpenChange(false)}><Trans>Done</Trans></Button>diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex e6537b534..6b46af90f 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -719,9 +719,6 @@],"FEqWFL": ["Guides your AI agents on how to work here."],"FEr96N": ["Theme"],- "FHSN1Z": [- "<0>Want to follow along?</0> Open a GitHub issue and mention your reference. Or write to <1/>"- ],"FNTx6u": ["Search \"", ["semanticSubmitQuery"], "\" by meaning"],"FOGD7m": ["Create something great."],"FRYB1Q": ["/api/config returned a malformed body"],@@ -844,7 +841,6 @@"ICoNYz": ["You can also manage this in Settings."],"IFezUv": ["The audit could not be completed. Try again."],"IInnZo": ["Conflict"],- "IKkfn_": ["Report reference: ", ["reference"]],"IKoTAC": ["Keep disabled"],"IN4UX8": ["Search (", ["searchShortcut"], ")"],"IQPyrD": ["Missing page — click to create"],@@ -1178,7 +1174,6 @@"PrJYSN": ["This folder isn't on GitHub yet. The link won't work until it's pushed."],"PrhzDE": ["Pan up"],"Pyp1NA": ["Restore to this point?"],- "PzUvDM": ["Bug report ", ["reference"]],"Q5fqMz": ["Connection error — try again"],"Q6hhn8": ["Preferences"],"Q7W-mC": ["Same folder as current file"],@@ -1535,7 +1530,6 @@"YsEYYS": [["behind", "plural", { "one": ["#", " commit behind"], "other": ["#", " commits behind"] }]],- "Yu3KMH": ["Open GitHub issue"],"YwPUUP": ["This pack is already set up here."],"YyXtnN": ["Underline"],"Z1LF1M": ["Sharing a doc needs a GitHub repository. Create one for this project."],@@ -1849,6 +1843,7 @@"fqSfXY": ["Replace"],"fuJZKk": ["Search branches"],"fwhX-N": ["Indent or outdent source"],+ "fxJk_6": ["<0>Have more to add?</0> Write to <1/> and mention your reference."],"fxbCNQ": ["Synced. The link is up to date."],"g3UF2V": ["Accept"],"g4WlQK": ["Project AI tool management is only available in the OpenKnowledge desktop app."],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex 7dda75226..3d6720cfb 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -573,6 +573,10 @@ msgstr "<{descriptorLabel}> failed to render (likely a bad prop). Copy the sourcmsgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."msgstr "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."+#: src/components/ReportBugDialogBody.tsx+msgid "<0>Have more to add?</0> Write to <1/> and mention your reference."+msgstr "<0>Have more to add?</0> Write to <1/> and mention your reference."+#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."@@ -590,10 +594,6 @@ msgstr "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer availablmsgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."msgstr "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."-#: src/components/ReportBugDialogBody.tsx-msgid "<0>Want to follow along?</0> Open a GitHub issue and mention your reference. Or write to <1/>"-msgstr "<0>Want to follow along?</0> Open a GitHub issue and mention your reference. Or write to <1/>"-#: src/components/PageHeaderWidgets.tsxmsgid "📝 or assets/icon.png"msgstr "📝 or assets/icon.png"@@ -1290,10 +1290,6 @@ msgstr "Browse your repos:"msgid "Bug report {0}"msgstr "Bug report {0}"-#: src/components/ReportBugDialogBody.tsx-msgid "Bug report {reference}"-msgstr "Bug report {reference}"-#: src/components/ReportBugDialogBody.tsxmsgid "Bug reporting needs the OpenKnowledge desktop app."msgstr "Bug reporting needs the OpenKnowledge desktop app."@@ -5434,10 +5430,6 @@ msgstr "Open folder"msgid "Open folder on disk"msgstr "Open folder on disk"-#: src/components/ReportBugDialogBody.tsx-msgid "Open GitHub issue"-msgstr "Open GitHub issue"-#: src/components/CommandPalette.tsxmsgid "Open graph"msgstr "Open graph"@@ -6354,10 +6346,6 @@ msgstr "Report a bug"msgid "Report reference"msgstr "Report reference"-#: src/components/ReportBugDialogBody.tsx-msgid "Report reference: {reference}"-msgstr "Report reference: {reference}"-#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "Report this error"diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 56d88dc74..772a3a84f 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -719,9 +719,6 @@],"FEqWFL": ["Ĝũĩďēś ŷōũŕ ÀĨ àĝēńţś ōń ĥōŵ ţō ŵōŕķ ĥēŕē."],"FEr96N": ["Ţĥēḿē"],- "FHSN1Z": [- "<0>Ŵàńţ ţō ƒōĺĺōŵ àĺōńĝ?</0> Ōƥēń à ĜĩţĤũƀ ĩśśũē àńď ḿēńţĩōń ŷōũŕ ŕēƒēŕēńćē. Ōŕ ŵŕĩţē ţō <1/>"- ],"FNTx6u": ["Śēàŕćĥ \"", ["semanticSubmitQuery"], "\" ƀŷ ḿēàńĩńĝ"],"FOGD7m": ["Ćŕēàţē śōḿēţĥĩńĝ ĝŕēàţ."],"FRYB1Q": ["/àƥĩ/ćōńƒĩĝ ŕēţũŕńēď à ḿàĺƒōŕḿēď ƀōďŷ"],@@ -844,7 +841,6 @@"ICoNYz": ["Ŷōũ ćàń àĺśō ḿàńàĝē ţĥĩś ĩń Śēţţĩńĝś."],"IFezUv": ["Ţĥē àũďĩţ ćōũĺď ńōţ ƀē ćōḿƥĺēţēď. Ţŕŷ àĝàĩń."],"IInnZo": ["Ćōńƒĺĩćţ"],- "IKkfn_": ["Ŕēƥōŕţ ŕēƒēŕēńćē: ", ["reference"]],"IKoTAC": ["Ķēēƥ ďĩśàƀĺēď"],"IN4UX8": ["Śēàŕćĥ (", ["searchShortcut"], ")"],"IQPyrD": ["Ḿĩśśĩńĝ ƥàĝē — ćĺĩćķ ţō ćŕēàţē"],@@ -1178,7 +1174,6 @@"PrJYSN": ["Ţĥĩś ƒōĺďēŕ ĩśń'ţ ōń ĜĩţĤũƀ ŷēţ. Ţĥē ĺĩńķ ŵōń'ţ ŵōŕķ ũńţĩĺ ĩţ'ś ƥũśĥēď."],"PrhzDE": ["Ƥàń ũƥ"],"Pyp1NA": ["Ŕēśţōŕē ţō ţĥĩś ƥōĩńţ?"],- "PzUvDM": ["ßũĝ ŕēƥōŕţ ", ["reference"]],"Q5fqMz": ["Ćōńńēćţĩōń ēŕŕōŕ — ţŕŷ àĝàĩń"],"Q6hhn8": ["Ƥŕēƒēŕēńćēś"],"Q7W-mC": ["Śàḿē ƒōĺďēŕ àś ćũŕŕēńţ ƒĩĺē"],@@ -1535,7 +1530,6 @@"YsEYYS": [["behind", "plural", { "one": ["#", " ćōḿḿĩţ ƀēĥĩńď"], "other": ["#", " ćōḿḿĩţś ƀēĥĩńď"] }]],- "Yu3KMH": ["Ōƥēń ĜĩţĤũƀ ĩśśũē"],"YwPUUP": ["Ţĥĩś ƥàćķ ĩś àĺŕēàďŷ śēţ ũƥ ĥēŕē."],"YyXtnN": ["Ũńďēŕĺĩńē"],"Z1LF1M": ["Śĥàŕĩńĝ à ďōć ńēēďś à ĜĩţĤũƀ ŕēƥōśĩţōŕŷ. Ćŕēàţē ōńē ƒōŕ ţĥĩś ƥŕōĴēćţ."],@@ -1849,6 +1843,7 @@"fqSfXY": ["Ŕēƥĺàćē"],"fuJZKk": ["Śēàŕćĥ ƀŕàńćĥēś"],"fwhX-N": ["Ĩńďēńţ ōŕ ōũţďēńţ śōũŕćē"],+ "fxJk_6": ["<0>Ĥàvē ḿōŕē ţō àďď?</0> Ŵŕĩţē ţō <1/> àńď ḿēńţĩōń ŷōũŕ ŕēƒēŕēńćē."],"fxbCNQ": ["Śŷńćēď. Ţĥē ĺĩńķ ĩś ũƥ ţō ďàţē."],"g3UF2V": ["Àććēƥţ"],"g4WlQK": ["ƤŕōĴēćţ ÀĨ ţōōĺ ḿàńàĝēḿēńţ ĩś ōńĺŷ àvàĩĺàƀĺē ĩń ţĥē ŌƥēńĶńōŵĺēďĝē ďēśķţōƥ àƥƥ."],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex 4ef9f4a67..1835b6c34 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -568,6 +568,10 @@ msgstr ""msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."msgstr ""+#: src/components/ReportBugDialogBody.tsx+msgid "<0>Have more to add?</0> Write to <1/> and mention your reference."+msgstr ""+#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr ""@@ -585,10 +589,6 @@ msgstr ""msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."msgstr ""-#: src/components/ReportBugDialogBody.tsx-msgid "<0>Want to follow along?</0> Open a GitHub issue and mention your reference. Or write to <1/>"-msgstr ""-#: src/components/PageHeaderWidgets.tsxmsgid "📝 or assets/icon.png"msgstr ""@@ -1285,10 +1285,6 @@ msgstr ""msgid "Bug report {0}"msgstr ""-#: src/components/ReportBugDialogBody.tsx-msgid "Bug report {reference}"-msgstr ""-#: src/components/ReportBugDialogBody.tsxmsgid "Bug reporting needs the OpenKnowledge desktop app."msgstr ""@@ -5429,10 +5425,6 @@ msgstr ""msgid "Open folder on disk"msgstr ""-#: src/components/ReportBugDialogBody.tsx-msgid "Open GitHub issue"-msgstr ""-#: src/components/CommandPalette.tsxmsgid "Open graph"msgstr ""@@ -6349,10 +6341,6 @@ msgstr ""msgid "Report reference"msgstr ""-#: src/components/ReportBugDialogBody.tsx-msgid "Report reference: {reference}"-msgstr ""-#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "Report this error"