Skip to content

Conversation

@ashimokawa
Copy link
Contributor

Previous behaviour was only to have completion for project members.

This combines participant lists with the possible assignee lists and removes duplicates.

Duplicate removal is done on the javascript side. It would be probably cleaner to create the list in go code, but this keeps the patch minimal.

…n hitting @

Previous behaviour was only to have completion for project members
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Aug 5, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 5, 2020
@zeripath zeripath added the topic/ui Change the appearance of the Gitea UI label Aug 5, 2020
@zeripath zeripath added this to the 1.13.0 milestone Aug 5, 2020
@zeripath
Copy link
Contributor

zeripath commented Aug 5, 2020

I suspect that these really need to be generated from some sort of ajax call but this is reasonable.

@silverwind
Copy link
Member

silverwind commented Aug 5, 2020

Yes, some better mechanism to propate values to JS (like localization) would be nice but it's kind of a hard problem to solve because ajax calls introduce unnecessary delay. Maybe a lightweight second script that runs before index.js that does just that, but it's a extra round trip in any case using ajax.

@zeripath
Copy link
Contributor

zeripath commented Aug 5, 2020

Make lg-tm work

@zeripath zeripath merged commit e5c5080 into go-gitea:master Aug 5, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants