mirror of
https://github.com/nexu-io/open-design.git
synced 2026-05-31 19:04:39 +07:00
feat(desktop): add Contact/Report/Discord links to Help menu
The desktop Help menu only exposed a repo link and Export Diagnostics. The web entry rail already gives users one-click access to docs, issues, and Discord; the packaged desktop app had no equivalent, so users in the standalone client had no in-app path to report a bug or reach the community. Expand the Help submenu to mirror those affordances: Documentation, Contact Us, Report Issue, and Join Discord, all opening the canonical URLs already used by the web help menu and README. Tag the submenu role: "help" so macOS treats it as the standard Help menu.
This commit is contained in:
parent
d6d42c3600
commit
1178e27b06
1 changed files with 22 additions and 2 deletions
|
|
@ -236,11 +236,31 @@ function installDesktopMenu(
|
|||
},
|
||||
{
|
||||
label: "Help",
|
||||
role: "help",
|
||||
submenu: [
|
||||
{
|
||||
label: "Open Design",
|
||||
label: "Documentation",
|
||||
click() {
|
||||
void shell.openExternal("https://github.com/nexu-io/open-design");
|
||||
void shell.openExternal("https://github.com/nexu-io/open-design#readme");
|
||||
},
|
||||
},
|
||||
{ type: "separator" },
|
||||
{
|
||||
label: "Contact Us",
|
||||
click() {
|
||||
void shell.openExternal("https://x.com/nexudotio");
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Report Issue",
|
||||
click() {
|
||||
void shell.openExternal("https://github.com/nexu-io/open-design/issues/new");
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Join Discord",
|
||||
click() {
|
||||
void shell.openExternal("https://discord.gg/mHAjSMV6gz");
|
||||
},
|
||||
},
|
||||
{ type: "separator" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue