Explorar el Código

In issue comments, put issue participants also in completion list when hitting @ (#12433)

Previous behaviour was only to have completion for project members
tags/v1.13.0-rc1
Andreas Shimokawa hace 3 años
padre
commit
e5c5080f26
No account linked to committer's email address
Se han modificado 1 ficheros con 8 adiciones y 4 borrados
  1. 8
    4
      templates/base/head.tmpl

+ 8
- 4
templates/base/head.tmpl Ver fichero

@@ -78,12 +78,16 @@
EventSourceUpdateTime: {{NotificationSettings.EventSourceUpdateTime}},
},
{{if .RequireTribute}}
tributeValues: [
tributeValues: Array.from(new Map([
{{ range .Participants }}
['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'}],
{{ end }}
{{ range .Assignees }}
{key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'},
['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'}],
{{ end }}
],
]).values()),
{{end}}
};
</script>

Cargando…
Cancelar
Guardar