feat: add Report/About/Changelog buttons to Support ribbon group
- REPORT opens GitHub new-issue page - ABOUT opens a dialog window with version, OS and arch info + Copy Info button - CHANGELOG opens GitHub releases page - Fix Windows build: add windows-sys as target-specific dependency for PRINT command Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
62fbaf5da4
commit
070ad1f9c5
15 changed files with 222 additions and 0 deletions
|
|
@ -2042,6 +2042,20 @@ impl H7CAD {
|
|||
self.command_line.push_info("Opening Patreon page...");
|
||||
}
|
||||
|
||||
"REPORT" => {
|
||||
let _ = open::that("https://github.com/HakanSeven12/H7CAD/issues/new");
|
||||
self.command_line.push_info("Opening GitHub issue page...");
|
||||
}
|
||||
|
||||
"ABOUT" => {
|
||||
return Task::done(Message::AboutOpen);
|
||||
}
|
||||
|
||||
"CHANGELOG" => {
|
||||
let _ = open::that("https://github.com/HakanSeven12/H7CAD/releases");
|
||||
self.command_line.push_info("Opening release notes...");
|
||||
}
|
||||
|
||||
// ── Keyboard Shortcuts panel ──────────────────────────────────
|
||||
cmd if cmd == "SHORTCUTS" || cmd.starts_with("SHORTCUTS ") => {
|
||||
let raw_rest = cmd.trim_start_matches("SHORTCUTS").trim();
|
||||
|
|
|
|||
Loading…
Reference in a new issue