chore: remove unused code

This commit is contained in:
Neil
2026-05-30 11:05:58 -07:00
committed by GitHub
parent 05b78b8f2f
commit c99eb29bb0
37 changed files with 21 additions and 829 deletions
-8
View File
@@ -368,14 +368,6 @@ export async function getWorkItemByProjectRef(
}
}
// Why: combined MR + issue list for the Tasks-screen and picker
// surfaces. Centralizes the merge logic that TaskPage previously did
// inline so the IPC layer has a single function to call. Pagination is
// approximate — the v1 contract is "page 1 of perPage MRs + perPage
// issues, mixed by updatedAt desc" which is good enough for a typical
// project's <100 active items.
export type ListWorkItemsState = MRListState
function mrStateToIssueState(state: MRListState): IssueListState | null {
// Why: GitLab issues don't have a 'merged' state. When the user is
// filtering MRs to merged, return null so listWorkItems can skip the