From 3536adaf9774697332c835736845b98ace325bfc Mon Sep 17 00:00:00 2001 From: Michael Uray Date: Sun, 18 Oct 2026 04:49:05 +0000 Subject: [PATCH] fix(tracker): remove non-functional Import entry from New issue dropdown The Tracker "New issue" dropdown still offered an "Import" action. The JSON import handler behind it was removed in #7632, but the menu entry was kept and its selection fell through to (and later was wired explicitly to) the regular New Issue dialog, so clicking "Import" just opened an empty issue form. Import is only supported through the import tool (dev/import-tool), so drop the misleading entry from the dropdown's actions and visible actions. Fixes #8491 Signed-off-by: Michael Uray --- .../src/components/NewIssueHeader.svelte | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/tracker-resources/src/components/NewIssueHeader.svelte b/plugins/tracker-resources/src/components/NewIssueHeader.svelte index 3078a2168d2..be16bf73887 100644 --- a/plugins/tracker-resources/src/components/NewIssueHeader.svelte +++ b/plugins/tracker-resources/src/components/NewIssueHeader.svelte @@ -69,7 +69,7 @@ function updateActions (draft: boolean, project: boolean, closed: boolean): void { mainActionId = draft || !closed ? tracker.string.ResumeDraft : tracker.string.NewIssue if (project) { - visibleActions = [tracker.string.CreateProject, mainActionId, tracker.string.Import] + visibleActions = [tracker.string.CreateProject, mainActionId] } else { visibleActions = [tracker.string.CreateProject] } @@ -102,12 +102,6 @@ label: tracker.string.NewIssue, keyBindingPromise: newIssueKeyBindingPromise, callback: newIssue - }, - { - id: tracker.string.Import, - label: tracker.string.Import, - accountRole: AccountRole.User, - callback: newIssue } ]} />