@setoelkahfi / svara / commits / 9c73635

feat: added links to github page

mellbacon committed Jul 20, 2023 at 18:30 UTC 9c736356cd6838693d952a17affac59250830f4f
1 file changed +3 -3
src/lib/Header.svelte
+3 -3
@@ -1,11 +1,11 @@
1 <script lang="ts">
2 - import { appWindow } from "@tauri-apps/api/window";
2 import Dropdown from "./utility/Dropdown.svelte";
3 import settings from "./Settings.svelte";
4 import { Settings } from "carbon-icons-svelte";
5 import { addTab, tabs, closeActiveTab } from "../lib/EditorTabList.svelte";
6 import { workspaceName } from "./File";
7 import { commands } from "../config/commands";
8 + import { shell } from "@tauri-apps/api";
9
10 const items = [
11 {menuname: "File", children: [
@@ -49,11 +49,11 @@
49 {menuname: "Help", children: [
50 {name: "Send Feedback", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
51 {name: "Contact Support", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
52 - {name: "Report Issue", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
52 + {name: "Report Issue", shortcut: "", action: () => {shell.open("https://github.com/mellobacon/Nucleus/issues/new/choose")}},
53 {name: "Documentation", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
54 {name: "Show Release Notes", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
55 {name: "Check for Updates", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
56 - {name: "About", disabled: true, shortcut: "", action: () => {console.warn("Feature not implemented yet.")}},
56 + {name: "About", shortcut: "", action: () => {shell.open("https://github.com/mellobacon/Nucleus")}},
57 ]},
58 ];
59 </script>