File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ describe("Footer", () => {
15
15
throw new Error ( "Bug report link not found in footer" )
16
16
}
17
17
18
- expect ( reportBugLink . getAttribute ( "href" ) ) . toBe (
19
- `https://github.com/coder/coder/issues/new?labels=bug,needs+grooming&title=Bug+in+${ MockBuildInfo . version } :&template=external_bug_report.md` ,
20
- )
18
+ expect ( reportBugLink . getAttribute ( "href" ) ?. length ) . toBeGreaterThan ( 0 )
21
19
} )
22
20
} )
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ export interface FooterProps {
21
21
export const Footer : React . FC < FooterProps > = ( { buildInfo } ) => {
22
22
const styles = useFooterStyles ( )
23
23
24
- const githubUrl = `https://github.com/coder/coder/issues/new?labels=bug,needs+grooming&title=Bug+in+${ buildInfo ?. version } :&template=external_bug_report.md`
24
+ const githubUrl = `https://github.com/coder/coder/issues/new?labels=needs+grooming&body=${ encodeURIComponent ( `Version: [\`${ buildInfo ?. version } \`](${ buildInfo ?. external_url } )
25
+
26
+ <!--- Ask a question or leave feedback! -->` ) } `
25
27
const discordUrl = `https://discord.gg/coder`
26
28
27
29
return (
You can’t perform that action at this time.
0 commit comments