Skip to content

Commit 0b4d685

Browse files
Change issue URL to issue list
Guide users to the issue list to see if there's any pinned issue and search first, instead of posting an issue immediately
1 parent b74ea00 commit 0b4d685

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Flow.Launcher.Infrastructure/Constant.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class Constant
1919
public static readonly string RootDirectory = Directory.GetParent(ApplicationDirectory).ToString();
2020

2121
public static readonly string PreinstalledDirectory = Path.Combine(ProgramDirectory, Plugins);
22-
public const string Issue = "https://github.com/Flow-Launcher/Flow.Launcher/issues/new/choose";
22+
public const string Issue = "https://github.com/Flow-Launcher/Flow.Launcher/issues";
2323
public static readonly string Version = FileVersionInfo.GetVersionInfo(Assembly.Location.NonNull()).ProductVersion;
2424
public static readonly string Dev = "Dev";
2525
public const string Documentation = "https://flowlauncher.com/docs/#/usage-tips";

Flow.Launcher/ReportWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private static string GetIssueUrl(string website)
3434
return Constant.Issue;
3535
}
3636
var treeIndex = website.IndexOf("tree", StringComparison.Ordinal);
37-
return treeIndex == -1 ? $"{website}/issues/new" : $"{website[..treeIndex]}/issues/new";
37+
return treeIndex == -1 ? $"{website}/issues" : $"{website[..treeIndex]}/issues";
3838
}
3939

4040
private void SetException(Exception exception)
@@ -86,4 +86,4 @@ private Paragraph Hyperlink(string textBeforeUrl, string url)
8686
return paragraph;
8787
}
8888
}
89-
}
89+
}

Plugins/Flow.Launcher.Plugin.PluginsManager/ContextMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
5353
{
5454
// standard UrlSourceCode format in PluginsManifest's plugins.json file: https://github.com/jjw24/Flow.Launcher.Plugin.Putty/tree/master
5555
var link = pluginManifestInfo.UrlSourceCode.StartsWith("https://github.com")
56-
? Regex.Replace(pluginManifestInfo.UrlSourceCode, @"\/tree\/\w+$", "") + "/issues/new/choose"
56+
? Regex.Replace(pluginManifestInfo.UrlSourceCode, @"\/tree\/\w+$", "") + "/issues"
5757
: pluginManifestInfo.UrlSourceCode;
5858

5959
Context.API.OpenUrl(link);

0 commit comments

Comments
 (0)