From 6a1c75b0609e741f4436505ca14988d4d5516833 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Fri, 30 Apr 2021 06:01:22 +0000 Subject: [PATCH] add help toolbar #452 --- web/src/components/FileBar.vue | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/web/src/components/FileBar.vue b/web/src/components/FileBar.vue index ad229f3e..a2459252 100644 --- a/web/src/components/FileBar.vue +++ b/web/src/components/FileBar.vue @@ -119,6 +119,25 @@ + + + + + + Documentation + + + Bug Report + + + Feature Request + + + Join Discord + + + + @@ -252,6 +271,24 @@ export default { }, }, methods: { + openHelp(mode) { + let url; + switch (mode) { + case "docs": + url = "https://wh1te909.github.io/tacticalrmm/"; + break; + case "bug": + url = "https://github.com/wh1te909/tacticalrmm/issues/new?template=bug_report.md"; + break; + case "feature": + url = "https://github.com/wh1te909/tacticalrmm/issues/new?template=feature_request.md"; + break; + case "discord": + url = "https://discord.gg/upGTkWp"; + break; + } + window.open(url, "_blank"); + }, showBulkActionModal(mode) { this.bulkMode = mode; this.showBulkAction = true;