Skip to content

Commit

Permalink
ZQL docs links & better link for opening issues (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Aug 27, 2020
1 parent 8620029 commit cb82aef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/js/components/SearchInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function Menu() {
{label: "Copy for curl", click: () => dispatch(Modal.show("curl"))},
{label: "Copy for zq", click: () => dispatch(Modal.show("zq"))},
{
label: "Syntax docs",
label: "ZQL syntax docs",
click: () =>
shell.openExternal("https://github.com/brimsec/zq/tree/master/zql/docs")
},
Expand Down
4 changes: 2 additions & 2 deletions src/js/electron/menu/__snapshots__/appMenu.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Array [
"submenu": Array [
Object {
"click": [Function],
"label": "Query Syntax Docs",
"label": "ZQL Syntax Docs",
},
Object {
"click": [Function],
Expand Down Expand Up @@ -413,7 +413,7 @@ Array [
"submenu": Array [
Object {
"click": [Function],
"label": "Query Syntax Docs",
"label": "ZQL Syntax Docs",
},
Object {
"click": [Function],
Expand Down
6 changes: 4 additions & 2 deletions src/js/electron/menu/appMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default function appMenu(
function helpSubmenu() {
let submenu = [
{
label: "Query Syntax Docs",
label: "ZQL Syntax Docs",
click() {
shell.openExternal(
"https://github.com/brimsec/zq/tree/master/zql/docs"
Expand All @@ -218,7 +218,9 @@ export default function appMenu(
{
label: "Submit Issue...",
click() {
shell.openExternal("https://github.com/brimsec/brim/issues/new")
shell.openExternal(
"https://github.com/brimsec/brim/wiki/Troubleshooting#opening-an-issue"
)
}
}
]
Expand Down

0 comments on commit cb82aef

Please sign in to comment.