SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Report a bug: always offer a way to submit (#5463) (#5615)
raykholo8fb452b05e15
diff --git a/assets/locales/pending/report-submission.json b/assets/locales/pending/report-submission.jsonnew file mode 100644index 0000000000..e3ec4b2543--- /dev/null+++ b/assets/locales/pending/report-submission.json@@ -0,0 +1,50 @@+{+ "en": {+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.": "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.",+ "Open GitHub": "Open GitHub",+ "Open GitHub issue form": "Open GitHub issue form",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.": "Opens your browser and copies the report text. Review and submit your report on GitHub.",+ "Report copied. Keep this text to submit on GitHub when you are online.": "Report copied. Keep this text to submit on GitHub when you are online.",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.": "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app."+ },+ "ja": {+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.": "オフラインの場合やGitHubが開かない場合は、「レポートをコピー」でテキストを保存し、後で送信してください。",+ "Open GitHub": "GitHubを開く",+ "Open GitHub issue form": "GitHubのIssueフォームを開く",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.": "ブラウザーを開き、レポートのテキストをコピーします。GitHubで内容を確認して送信してください。",+ "Report copied. Keep this text to submit on GitHub when you are online.": "レポートをコピーしました。このテキストを保存し、オンラインになったらGitHubで送信してください。",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.": "SolidCraftからレポートを直接送信することはできません。GitHubで送信してください。アプリにトークンは必要ありません。"+ },+ "zh": {+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.": "如果处于离线状态或 GitHub 无法打开,请使用“复制报告”并保留文本以便稍后提交。",+ "Open GitHub": "打开 GitHub",+ "Open GitHub issue form": "打开 GitHub 问题表单",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.": "打开浏览器并复制报告文本。请在 GitHub 上检查并提交报告。",+ "Report copied. Keep this text to submit on GitHub when you are online.": "报告已复制。请保留此文本,联网后在 GitHub 上提交。",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.": "SolidCraft 无法直接提交报告。请在 GitHub 上提交;应用中不需要令牌。"+ },+ "ar": {+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.": "إذا كنت غير متصل بالإنترنت أو تعذّر فتح GitHub، فاستخدم «نسخ التقرير» واحتفظ بالنص لإرساله لاحقًا.",+ "Open GitHub": "فتح GitHub",+ "Open GitHub issue form": "فتح نموذج الإبلاغ عن مشكلة على GitHub",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.": "يفتح المتصفح وينسخ نص التقرير. راجع تقريرك وأرسله على GitHub.",+ "Report copied. Keep this text to submit on GitHub when you are online.": "تم نسخ التقرير. احتفظ بهذا النص لإرساله على GitHub عند الاتصال بالإنترنت.",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.": "لا يستطيع SolidCraft إرسال التقارير مباشرةً. أرسلها على GitHub؛ لا حاجة إلى رمز وصول في التطبيق."+ },+ "he": {+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.": "אם אין חיבור לאינטרנט או ש-GitHub אינו נפתח, יש להשתמש באפשרות «העתקת הדיווח» ולשמור את הטקסט לשליחה מאוחר יותר.",+ "Open GitHub": "פתיחת GitHub",+ "Open GitHub issue form": "פתיחת טופס דיווח על בעיה ב-GitHub",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.": "פותח את הדפדפן ומעתיק את טקסט הדיווח. יש לבדוק את הדיווח ולשלוח אותו ב-GitHub.",+ "Report copied. Keep this text to submit on GitHub when you are online.": "הדיווח הועתק. יש לשמור את הטקסט כדי לשלוח אותו ב-GitHub כשהחיבור לאינטרנט יהיה זמין.",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.": "אין אפשרות לשלוח דיווחים ישירות מתוך SolidCraft. יש לשלוח אותם ב-GitHub; אין צורך באסימון גישה באפליקציה."+ },+ "vi": {+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.": "Nếu bạn đang ngoại tuyến hoặc không mở được GitHub, hãy dùng “Sao chép báo cáo” và giữ lại nội dung để gửi sau.",+ "Open GitHub": "Mở GitHub",+ "Open GitHub issue form": "Mở biểu mẫu báo lỗi trên GitHub",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.": "Mở trình duyệt và sao chép nội dung báo cáo. Hãy xem lại và gửi báo cáo trên GitHub.",+ "Report copied. Keep this text to submit on GitHub when you are online.": "Đã sao chép báo cáo. Hãy giữ lại nội dung này để gửi lên GitHub khi có kết nối mạng.",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.": "SolidCraft không thể gửi báo cáo trực tiếp. Hãy gửi trên GitHub; ứng dụng không cần mã truy cập."+ }+}diff --git a/crates/ui-egui/src/issue_report.rs b/crates/ui-egui/src/issue_report.rsindex e5889ade75..7af85281f5 100644--- a/crates/ui-egui/src/issue_report.rs+++ b/crates/ui-egui/src/issue_report.rs@@ -954,7 +954,11 @@ mod tests {}fn click_commands(h: &mut crate::scenario::Harness, label: &str) -> Vec<egui::OutputCommand> {- let [x, y] = h.widget(label).unwrap();+ let pos = h.widget(label).unwrap();+ click_commands_at(h, pos)+ }++ fn click_commands_at(h: &mut crate::scenario::Harness, [x, y]: [f64; 2]) -> Vec<egui::OutputCommand> {assert_eq!(h.call("ui.move", json!({"x":x,"y":y}))["ok"], true);let (request, _reply) = crate::control::ControlRequest::new("ui.click", json!({"x":x,"y":y}));assert!(matches!(crate::control::handle(&mut h.app, &h.ctx, &request), crate::control::Outcome::Done(value) if value["ok"] == true));@@ -966,6 +970,85 @@ mod tests {commands}+ fn open_commands(h: &mut crate::scenario::Harness) -> Vec<egui::OutputCommand> {+ let pos = crate::scenario::handle_at("dialog:ok");+ assert!(pos.is_some(), "the report primary action is drawn");+ pos.map_or_else(Vec::new, |pos| click_commands_at(h, [f64::from(pos.x), f64::from(pos.y)]))+ }++ #[test]+ fn issue_report_explains_browser_submission_and_can_copy_an_incomplete_report() {+ let mut h = crate::scenario::Harness::new();+ h.app.home.open = false;+ let draft = draft_for(&h.app, None, None);+ assert!(draft.description.is_empty());+ let reviewed = draft.report_body();+ h.app.issue_report.draft = Some(draft);+ h.frames(16);+ for label in [+ "Open GitHub issue form",+ "Copy report",+ "SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app.",+ "If you are offline or GitHub does not open, use Copy report and keep the text to submit later.",+ ] {+ assert!(h.widget(label).is_some(), "missing submission action or explanation: {label}");+ }+ let before = (h.app.session.doc.to_json(), h.app.session.revision, h.app.session.undo.len());+ let commands = click_commands(&mut h, "Copy report");+ assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::CopyText(text) if text == &reviewed)));+ assert!(!commands.iter().any(|c| matches!(c, egui::OutputCommand::OpenUrl(_))));+ let draft = h.app.issue_report.draft.as_ref().unwrap();+ assert!(!draft.missing_description && !draft.opened_github);+ assert_eq!(draft.note, "Report copied. Keep this text to submit on GitHub when you are online.");+ assert_eq!(before, (h.app.session.doc.to_json(), h.app.session.revision, h.app.session.undo.len()));+ }++ #[test]+ fn issue_report_short_handoff_keeps_a_copy_if_the_browser_cannot_open() {+ let mut h = crate::scenario::Harness::new();+ h.app.home.open = false;+ let mut draft = Draft::new("Preview missing".into(), "Synthetic diagnostics".into(), 0);+ draft.description = "The preview disappeared.".into();+ let reviewed = draft.report_body();+ let (url, copy_needed) = draft_url(&draft.report_title(), &reviewed);+ assert!(!copy_needed, "exercise a report small enough to prefill through the URL");+ h.app.issue_report.draft = Some(draft);+ h.frames(16);+ // The harness consumes no browser or clipboard outputs; a host failure must leave+ // both a complete copy request and the editable draft available for another attempt.+ let commands = open_commands(&mut h);+ assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::CopyText(text) if text == &reviewed)));+ assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::OpenUrl(open) if open.url == url)));+ assert_eq!(h.app.issue_report.draft.as_ref().unwrap().report_body(), reviewed);+ let commands = click_commands(&mut h, "Copy report");+ assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::CopyText(text) if text == &reviewed)));+ }++ #[test]+ fn issue_report_compact_footer_keeps_both_export_actions_visible_and_clickable() {+ let mut h = crate::scenario::Harness::new();+ h.app.home.open = false;+ h.app.preferences.ui_scale = 2.0;+ h.call("ui.resize", json!({"width":640,"height":480}));+ let mut draft = Draft::new("Preview missing".into(), "Synthetic diagnostics".into(), 0);+ draft.description = "The preview disappeared.".into();+ let reviewed = draft.report_body();+ h.app.issue_report.draft = Some(draft);+ h.frames(20);+ let footer = crate::scenario::rect_of("dialog:footer").unwrap();+ assert!(h.ctx.content_rect().contains_rect(footer), "the footer must fit the viewport: {footer:?}");+ for target in ["dialog:ok", "dialog:apply"] {+ let rect = crate::scenario::rect_of(target).unwrap();+ assert!(footer.contains_rect(rect), "{target} is clipped: {rect:?} outside {footer:?}");+ }+ let commands = click_commands(&mut h, "Copy report");+ assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::CopyText(text) if text == &reviewed)));+ let commands = click_commands(&mut h, "Open GitHub");+ assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::OpenUrl(url) if url.url.starts_with(ISSUE_URL))));+ click_commands(&mut h, "Close");+ assert!(h.app.issue_report.draft.is_none(), "the header close remains available");+ }+#[test]fn issue_report_title_uses_sketch_workspace_and_description() {let mut app = app();@@ -994,7 +1077,8 @@ mod tests {h.app.home.open = false;h.app.issue_report.draft = Some(draft_for(&h.app, None, None));h.frames(4);- for label in ["What happened?", "Steps to reproduce (optional)", "Expected result (optional)", "Technical details", "Continue on GitHub"] {+ for label in ["What happened?", "Steps to reproduce (optional)", "Expected result (optional)", "Technical details", "Open GitHub issue form"]+ {assert!(h.widget(label).is_some(), "missing report form control: {label}");}assert!(h.widget("Describe the intended result.").is_none(), "Markdown instructions must not be editable answers");@@ -1028,19 +1112,19 @@ mod tests {h.app.issue_report.draft = Some(draft_for(&h.app, None, None));h.frames(16);let before = (h.app.session.doc.to_json(), h.app.session.revision, h.app.session.undo.len());- let commands = click_commands(&mut h, "Continue on GitHub");+ let commands = open_commands(&mut h);assert!(!commands.iter().any(|c| matches!(c, egui::OutputCommand::OpenUrl(_))));assert!(h.app.issue_report.draft.as_ref().unwrap().missing_description);assert_eq!(h.ctx.memory(|m| m.focused()), Some(egui::Id::new("issue_report_body")));h.step(&json!({"text":"The preview disappeared"})).unwrap();- let commands = click_commands(&mut h, "Continue on GitHub");+ let commands = open_commands(&mut h);assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::OpenUrl(url) if url.url.starts_with(ISSUE_URL))));assert!(h.app.issue_report.draft.as_ref().unwrap().description.contains("The preview disappeared"));assert_eq!(before, (h.app.session.doc.to_json(), h.app.session.revision, h.app.session.undo.len()));}}- /// Continue with an empty description gives it the focus once (#7190). It used to take the+ /// Opening GitHub with an empty description gives it the focus once (#7190). It used to take the/// focus back every frame, so what was typed in Summary went into the description.#[test]fn issue_report_empty_description_takes_the_focus_once() {@@ -1049,7 +1133,7 @@ mod tests {h.app.issue_report.draft = Some(draft_for(&h.app, None, None));h.frames(16);let description = Some(egui::Id::new("issue_report_body"));- click_commands(&mut h, "Continue on GitHub");+ open_commands(&mut h);assert_eq!(h.ctx.memory(|m| m.focused()), description);// Click the Summary field (found by its id: it has no label of its own) and type.let title = egui::Id::new("issue_report_title").accesskit_id();@@ -1061,8 +1145,8 @@ mod tests {let draft = h.app.issue_report.draft.as_ref().unwrap();assert_eq!((draft.title.as_str(), draft.description.as_str()), ("My title", ""));assert!(draft.missing_description && h.widget("Describe what happened before continuing.").is_some());- // Still empty: the next Continue gives it the focus again.- click_commands(&mut h, "Continue on GitHub");+ // Still empty: opening GitHub again gives it the focus again.+ open_commands(&mut h);assert_eq!(h.ctx.memory(|m| m.focused()), description);}@@ -1088,7 +1172,7 @@ mod tests {}h.ctx.memory_mut(|m| m.request_focus(egui::Id::new(field)));h.frames(1);- let [x, y] = h.widget("Continue on GitHub").unwrap();+ let [x, y] = h.widget("Open GitHub issue form").unwrap();let pos = egui::pos2(x as f32, y as f32);let modifiers = egui::Modifiers { ctrl: true, command: true, ..Default::default() };let raw = egui::RawInput {@@ -1383,7 +1467,7 @@ mod tests {h.frames(16);assert!(h.widget("Opens your browser and copies the report text for you to paste into GitHub.").is_some());assert!(h.widget("Reports are public. A GitHub account is required.").is_some());- let commands = click_commands(&mut h, "Continue on GitHub");+ let commands = open_commands(&mut h);assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::CopyText(text) if text == &reviewed)), "commands: {commands:?}");assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::OpenUrl(url) if url.url.starts_with(ISSUE_URL) && !url.url.contains("&body=")))@@ -1393,7 +1477,7 @@ mod tests {click_commands(&mut h, "Copy screenshot");assert!(!h.app.issue_report.draft.as_ref().unwrap().opened_github, "copying an image replaces the report text on the clipboard");assert!(h.widget("Opens your browser and copies the report text for you to paste into GitHub.").is_some());- click_commands(&mut h, "Continue on GitHub");+ open_commands(&mut h);click_commands(&mut h, "Remove screenshot");assert!(h.app.issue_report.draft.as_ref().unwrap().image.is_none());assert!(h.widget("Screenshot removed from this draft.").is_some());@@ -1414,7 +1498,7 @@ mod tests {h.app.issue_report.draft = Some(draft);h.frames(16);assert!(h.widget("Opens your browser and copies the report text for you to paste into GitHub.").is_some());- let commands = click_commands(&mut h, "Continue on GitHub");+ let commands = open_commands(&mut h);assert!(commands.iter().any(|c| matches!(c, egui::OutputCommand::CopyText(text) if text == &reviewed)));assert!(h.widget("Report text copied. Paste it into GitHub and submit your report there.").is_some());}@@ -1439,7 +1523,8 @@ mod tests {assert!((idle.width() - settled.width()).abs() < 1.0, "size={size:?}: {settled:?} grew to {idle:?}");assert!(idle.width() <= 790.0, "report must retain its width limit: {idle:?}");assert!(h.ctx.content_rect().shrink(8.0).contains_rect(idle), "size={size:?} scale={scale}: retain an outer margin: {idle:?}");- for label in ["Continue on GitHub", "Close draft"] {+ let open_label = if h.widget("Open GitHub issue form").is_some() { "Open GitHub issue form" } else { "Open GitHub" };+ for label in [open_label, "Copy report", "Close"] {let [x, y] = h.widget(label).unwrap();assert!(idle.contains(egui::pos2(x as f32, y as f32)), "{label} must stay visible: {idle:?}, {x}, {y}");}diff --git a/crates/ui-egui/src/issue_report/form.rs b/crates/ui-egui/src/issue_report/form.rsindex 021efa6abb..a2b86f4900 100644--- a/crates/ui-egui/src/issue_report/form.rs+++ b/crates/ui-egui/src/issue_report/form.rs@@ -9,7 +9,7 @@ const ALL_GUIDANCE: [&str; 4] = ["Report text copied. Paste it into GitHub and submit your report there.","Review your report on GitHub and click Submit new issue to publish it.","Opens your browser and copies the report text for you to paste into GitHub.",- "Opens your browser. Review and submit your report on GitHub.",+ "Opens your browser and copies the report text. Review and submit your report on GitHub.",];fn answer(ui: &mut Ui, label: &str, hint: &str, text: &mut String, id: &str, rows: usize) -> egui::Response {@@ -103,12 +103,27 @@ pub(super) fn show(app: &mut SolveApp, draft: &mut Draft, ctx: &egui::Context) -});pressed_now});+ // The shared footer is a single row. Keep both export actions reachable at high zoom;+ // the header's close button remains available when the redundant closing action is omitted.+ let actions_width = ctx.fonts_mut(|fonts| {+ [+ ("Open GitHub issue form", crate::fonts::bold(t.font_label), t.space_16),+ ("Copy report", egui::FontId::proportional(t.font_label), t.space_12),+ ("Close draft", egui::FontId::proportional(t.font_label), t.space_12),+ ]+ .into_iter()+ .map(|(label, font, padding)| fonts.layout_no_wrap(tr_label(label).to_string(), font, t.form_ink).size().x + 2.0 * padding)+ .sum::<f32>()+ });+ let compact = cards * t.form_card_width < actions_width + 2.0 * t.space_12 + 2.0 * t.space_6 + t.space_8;+ let open_label = if compact { "Open GitHub" } else { "Open GitHub issue form" };+ let close_label = if compact { "" } else { "Close draft" };let (closed, mut action) = ui_kit::Window::new(Id::new("sc_issue_report"), "bug_report", tr_label("Report a bug")).cards(cards).anchor(egui::Align2::CENTER_TOP, vec2(0.0, t.space_16)).fields().keep_open_on_escape()- .actions(tr_label("Continue on GitHub"), tr_label("Close draft"), Some(tr_label("Copy report")))+ .actions(tr_label(open_label), tr_label(close_label), Some(tr_label("Copy report"))).show(ctx, true, |ui| {// The card's own header, footer and margins come on top of the scrolling body.let chrome = ui_kit::header_height() + t.form_footer_height + 6.0 * t.space_8;@@ -133,7 +148,7 @@ pub(super) fn show(app: &mut SolveApp, draft: &mut Draft, ctx: &egui::Context) -} else if copy_needed {"Opens your browser and copies the report text for you to paste into GitHub."} else {- "Opens your browser. Review and submit your report on GitHub."+ "Opens your browser and copies the report text. Review and submit your report on GitHub."};// Reserve the tallest wording, so the card (and its footer) keeps its height as the// guidance changes under a click.@@ -147,6 +162,16 @@ pub(super) fn show(app: &mut SolveApp, draft: &mut Draft, ctx: &egui::Context) -ui_kit::text(ui, tr_label(guidance), ui_kit::Text::Note("guidance"));});ui_kit::text(ui, tr_label("Reports are public. A GitHub account is required."), ui_kit::Text::Note("public"));+ ui_kit::text(+ ui,+ tr_label("SolidCraft cannot submit reports directly. Submit on GitHub; no token is needed in the app."),+ ui_kit::Text::Note("submission"),+ );+ ui_kit::text(+ ui,+ tr_label("If you are offline or GitHub does not open, use Copy report and keep the text to submit later."),+ ui_kit::Text::Note("offline"),+ );ui_kit::divider(ui, "report");ui_kit::text(ui, tr_label("Summary"), ui_kit::Text::Heading("Summary"));let response = ui_kit::bounded_cell_editor(@@ -219,10 +244,10 @@ pub(super) fn show(app: &mut SolveApp, draft: &mut Draft, ctx: &egui::Context) -draft.missing_description = draft.description.trim().is_empty();if !draft.missing_description {let body = draft.report_body();- let (url, copy_needed) = draft_url(&draft.report_title(), &body);- if copy_needed {- ctx.copy_text(body);- }+ let (url, _) = draft_url(&draft.report_title(), &body);+ // Keep a local fallback even for short reports: opening the browser may fail,+ // be blocked by the web host, or lead to an offline page. No delivery is confirmed.+ ctx.copy_text(body);ctx.open_url(egui::OpenUrl::new_tab(url));draft.opened_github = true;ctx.request_repaint();@@ -230,7 +255,7 @@ pub(super) fn show(app: &mut SolveApp, draft: &mut Draft, ctx: &egui::Context) -}ui_kit::Action::Apply => {ctx.copy_text(draft.report_body());- draft.note = "Report copied. Paste it into the GitHub draft if needed.".into();+ draft.note = "Report copied. Keep this text to submit on GitHub when you are online.".into();}_ => {}}diff --git a/crates/ui-egui/src/toolbar.rs b/crates/ui-egui/src/toolbar.rsindex 09747d1329..7ec1677668 100644--- a/crates/ui-egui/src/toolbar.rs+++ b/crates/ui-egui/src/toolbar.rs@@ -3053,14 +3053,15 @@ mod header_report_tests {captured_frame(&mut h);// The report card takes a few frames to reach its full height.h.frames(16);+ let close_label = if h.widget("Close draft").is_some() { "Close draft" } else { "Close" };// Existing review content scrolls vertically when the window is narrow.if width < 700.0 {- let [x, y] = h.widget("Close draft").unwrap();+ let [x, y] = h.widget(close_label).unwrap();h.call("ui.scroll", json!({"x":x,"y":y - 60.0,"delta":-1200}));// Let the scroll animation finish before locating the click target.h.frames(60);}- h.step(&json!({"widget":"Close draft"})).unwrap();+ h.step(&json!({"widget":close_label})).unwrap();assert!(h.app.issue_report.draft.is_none(), "width {width}: review closes through its actual button");h.step(&json!({"click":{"handle":"tab:home"}})).unwrap();assert!(h.app.home.open, "width {width}: the Home tab remains reachable beside Report");diff --git a/docs/crash-reports.md b/docs/crash-reports.mdindex 0b8f060d58..4d02c605f9 100644--- a/docs/crash-reports.md+++ b/docs/crash-reports.md@@ -8,12 +8,31 @@ until you review and submit it, and the design is not part of the draft.To send a report:-1. Review the title, report text and screenshot in SolidCraft, then click **Open GitHub draft**.- For long reports, SolidCraft copies the text to your clipboard; paste it into the GitHub draft.+1. Review the title, report text and screenshot in SolidCraft, then click **Open GitHub issue form**+ (**Open GitHub** in narrow windows). SolidCraft copies the report text to your clipboard and opens+ GitHub. Short reports are also filled in through the URL; paste longer reports into the GitHub draft.2. Attach the screenshot if you want to share it: use **Copy screenshot** and paste it intoGitHub, or use **Save screenshot…** and upload the PNG. Screenshots are not attached automatically.3. Click **Submit new issue** on GitHub to publish the report. Opening the draft alone does not send it.+### Submission and fallback behavior++The same reviewed report dialog is used by **Report a bug**, command errors and crash reports.+Desktop and web builds submit through GitHub in the browser; the dialog has no direct submission+API and needs no GitHub token in SolidCraft. It explains this beside the public-report/account notice.+Sign in with a GitHub account to publish the report.++**Copy report** and **Open GitHub issue form** remain available without credentials or a connection.+Copying works even before the required description is filled in; opening GitHub with an empty+description instead focuses that field and explains what is missing. Neither action closes the draft.+On narrow windows the footer uses **Open GitHub** and **Copy report**; close the draft with the header's+close button. The two export actions must remain visible at high UI zoom.++If offline, a browser launch is blocked, or GitHub cannot be reached, the dialog tells the user to+copy the report and keep the text to submit later. Opening GitHub requests a clipboard copy even for+short reports. SolidCraft cannot confirm browser launch, clipboard delivery or submission; the draft+stays editable for retrying. Copying or opening a report does not modify the design or its undo history.+## Where they are`<data dir>/solidcraft/crashes/`, next to the recovery folder: