From e988a25237bece5a1235d40f739900f633ce9dc4 Mon Sep 17 00:00:00 2001 From: TimedIn Date: Wed, 9 Oct 2024 14:12:46 +0200 Subject: [PATCH] Small fixes and rename for #5482 - New Issue Fixed assign me being hidden after assignees were cleared https://codeberg.org/forgejo/forgejo/pulls/5482/files#issuecomment-2365431 - Test for verifying the above - Removed wait for network idle from e2e test - Renamed templ key assigneeId to assigneeIds --- services/forms/repo_form.go | 2 +- templates/repo/issue/view_content/sidebar/assignees.tmpl | 6 +++--- tests/e2e/issue-sidebar.test.e2e.js | 6 ++---- web_src/js/features/repo-legacy.js | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go index 654106c47a..c3d9c3edc9 100644 --- a/services/forms/repo_form.go +++ b/services/forms/repo_form.go @@ -317,7 +317,7 @@ type WebhookForm struct { type CreateIssueForm struct { Title string `binding:"Required;MaxSize(255)"` LabelIDs string `form:"label_ids"` - AssigneeIDs string `form:"assignee_id"` + AssigneeIDs string `form:"assignee_ids"` Ref string `form:"ref"` MilestoneID int64 ProjectID int64 diff --git a/templates/repo/issue/view_content/sidebar/assignees.tmpl b/templates/repo/issue/view_content/sidebar/assignees.tmpl index 8e5043c076..7a928fae46 100644 --- a/templates/repo/issue/view_content/sidebar/assignees.tmpl +++ b/templates/repo/issue/view_content/sidebar/assignees.tmpl @@ -1,4 +1,4 @@ - +