You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dom.a(attr.href('#'),style({fontSize: '.9em'}),'Subscribe to dependencies of a go.mod file',functionclick(e){
1046
-
e.preventDefault();
1047
-
dom._kids(modulegomod,dom.label('Contents of go.mod',gomod=dom.textarea(attr.required(''),attr.rows('12'))),dom.div(dom._class('explain'),'Paste the contents of your go.mod. Subscriptions will be created for all direct dependencies.'),dom.label(indirect=dom.input(attr.type('checkbox')),' Also subscribe to indirect dependencies'),dom.br());
1048
-
dom._kids(submitbtn,'Add subscriptions for dependencies');
},fieldset=dom.fieldset(modulegomod=dom.div(sub.ID ? [] : dom.div(style({textAlign: 'right'}),dom.a(attr.href('#'),style({fontSize: '.9em'}),'Subscribe to dependencies of a go.mod file',functionclick(e){
1047
+
e.preventDefault();
1048
+
dom._kids(modulegomod,dom.label('Contents of go.mod',gomod=dom.textarea(attr.required(''),attr.rows('12'))),dom.div(dom._class('explain'),'Paste the contents of your go.mod. Subscriptions will be created for all direct dependencies.'),dom.label(indirect=dom.input(attr.type('checkbox')),' Also subscribe to indirect dependencies'),dom.br());
1049
+
dom._kids(submitbtn,'Add subscriptions for dependencies');
1050
+
})),dom.label(style({display: 'flex',justifyContent: 'space-between'}),dom.div('Module '),dom.a(attr.href('#'),style({fontSize: '.9em'}),'Presets for new Go toolchains',attr.title('Presets to get a notification when a new Go toolchain is released.'),functionclick(e){
}),dom.div(dom._class('explain'),'Enter a single module as you would use in a Go import statement.',dom.br(),'Example: github.com/mjl-/gopherwatch, github.com/mjl- or golang.org.'))),dom.br(),dom.b('Notify about ...'),dom.label(belowModule=dom.input(attr.type('checkbox'),sub.BelowModule ? attr.checked('') : []),' ',dom.span('Sub modules',attr.title('E.g. if subscribed to github.com/mjl-, whether to match github.com/mjl-/gopherwatch.'))),dom.label(olderVersions=dom.input(attr.type('checkbox'),sub.OlderVersions ? attr.checked('') : []),' ',dom.span('Older versions than already seen',attr.title('Can happen when an old version (tag) is requested through the Go module proxy after a later tag, not uncommon after forking a repository and pushing all historic tags.'))),dom.label(prerelease=dom.input(attr.type('checkbox'),sub.Prerelease ? attr.checked('') : []),' Prereleases such as v1.2.3-beta1'),dom.label(pseudo=dom.input(attr.type('checkbox'),sub.Pseudo ? attr.checked('') : [],functionchange(){
1055
1062
if(pseudo.checked){
1056
1063
prerelease.checked=true;
1057
1064
}
1058
-
}),' Pseudo versions, such as v0.0.0-20240222094833-a1bd684a916b'),attr.title('Pseudo versions are always prereleases. In order to match a pseudoversion, prerelease must also be checked.'),dom.br(),dom.label('Comment',
1065
+
}),' Pseudo versions, such as v0.0.0-20240222094833-a1bd684a916b'),attr.title('Pseudo versions are also prereleases. In order to match a pseudoversion, prerelease must also be checked.'),dom.br(),dom.label('Comment',
1059
1066
// explicit String to prevent special scriptswitch handling
dom.div(dom._class('explain'),'Paste the contents of your go.mod. Subscriptions will be created for all direct dependencies.'),
278
-
dom.label(indirect=dom.input(attr.type('checkbox')),' Also subscribe to indirect dependencies'),
279
-
dom.br(),
280
-
)
281
-
dom._kids(submitbtn,'Add subscriptions for dependencies')
282
-
}),
283
-
],
287
+
dom.a(attr.href('#'),style({fontSize: '.9em'}),'Presets for new Go toolchains',attr.title('Presets to get a notification when a new Go toolchain is released.'),functionclick(e: MouseEvent){
0 commit comments