Add Milestones to issue cards in kanban board view (#8822)

This commit is contained in:
Anton Alexeyev
2025-05-04 16:35:47 +07:00
committed by GitHub
parent c42a94f697
commit 2d3ebb61cc
2 changed files with 22 additions and 1 deletions
+11 -1
View File
@@ -479,7 +479,17 @@ export function defineViewlets (builder: Builder): void {
configOptions: {
strict: true
},
config: ['subIssues', 'priority', 'component', 'dueDate', 'labels', 'estimation', 'attachments', 'comments']
config: [
'subIssues',
'priority',
'component',
'milestone',
'dueDate',
'labels',
'estimation',
'attachments',
'comments'
]
},
tracker.viewlet.IssueKanban
)
@@ -80,6 +80,7 @@
import PriorityEditor from './PriorityEditor.svelte'
import StatusEditor from './StatusEditor.svelte'
import EstimationEditor from './timereport/EstimationEditor.svelte'
import MilestoneEditor from '../milestones/MilestoneEditor.svelte'
const _class = tracker.class.Issue
export let space: Ref<Project> | undefined = undefined
@@ -437,6 +438,16 @@
justify={'center'}
/>
{/if}
{#if enabledConfig(config, 'milestone')}
<MilestoneEditor
value={issue}
{space}
isEditable={true}
kind={'link-bordered'}
size={'small'}
justify={'center'}
/>
{/if}
{#if enabledConfig(config, 'dueDate')}
<DueDatePresenter value={issue} size={'small'} kind={'link-bordered'} />
{/if}