diff --git a/Pulse/RightClickMenuView.swift b/Pulse/RightClickMenuView.swift index 2a8880f..a73d7c5 100644 --- a/Pulse/RightClickMenuView.swift +++ b/Pulse/RightClickMenuView.swift @@ -1,10 +1,21 @@ import SwiftUI struct RightClickMenuView: View { + @AppStorage("githubQuery") private var githubQuery = Constants.defaultGithubQuery + var body: some View { Divider() - Button("TODO") { - // TODO: + Button("Pull Requests") { + Task { + let url = URL(string: "https://github.com/pulls?q=" + (githubQuery.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? ""))! + NSWorkspace.shared.open(url) + } + } + Button("Issues") { + Task { + let url = URL(string: "https://github.com/issues")! + NSWorkspace.shared.open(url) + } } Divider() SettingsLink {