mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-12 10:25:51 +00:00
Add Milestones to issue cards in kanban board view (#8822)
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / uitest-workspaces (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / uitest-workspaces (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
This commit is contained in:
parent
c42a94f697
commit
2d3ebb61cc
@ -479,7 +479,17 @@ export function defineViewlets (builder: Builder): void {
|
|||||||
configOptions: {
|
configOptions: {
|
||||||
strict: true
|
strict: true
|
||||||
},
|
},
|
||||||
config: ['subIssues', 'priority', 'component', 'dueDate', 'labels', 'estimation', 'attachments', 'comments']
|
config: [
|
||||||
|
'subIssues',
|
||||||
|
'priority',
|
||||||
|
'component',
|
||||||
|
'milestone',
|
||||||
|
'dueDate',
|
||||||
|
'labels',
|
||||||
|
'estimation',
|
||||||
|
'attachments',
|
||||||
|
'comments'
|
||||||
|
]
|
||||||
},
|
},
|
||||||
tracker.viewlet.IssueKanban
|
tracker.viewlet.IssueKanban
|
||||||
)
|
)
|
||||||
|
@ -80,6 +80,7 @@
|
|||||||
import PriorityEditor from './PriorityEditor.svelte'
|
import PriorityEditor from './PriorityEditor.svelte'
|
||||||
import StatusEditor from './StatusEditor.svelte'
|
import StatusEditor from './StatusEditor.svelte'
|
||||||
import EstimationEditor from './timereport/EstimationEditor.svelte'
|
import EstimationEditor from './timereport/EstimationEditor.svelte'
|
||||||
|
import MilestoneEditor from '../milestones/MilestoneEditor.svelte'
|
||||||
|
|
||||||
const _class = tracker.class.Issue
|
const _class = tracker.class.Issue
|
||||||
export let space: Ref<Project> | undefined = undefined
|
export let space: Ref<Project> | undefined = undefined
|
||||||
@ -437,6 +438,16 @@
|
|||||||
justify={'center'}
|
justify={'center'}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if enabledConfig(config, 'milestone')}
|
||||||
|
<MilestoneEditor
|
||||||
|
value={issue}
|
||||||
|
{space}
|
||||||
|
isEditable={true}
|
||||||
|
kind={'link-bordered'}
|
||||||
|
size={'small'}
|
||||||
|
justify={'center'}
|
||||||
|
/>
|
||||||
|
{/if}
|
||||||
{#if enabledConfig(config, 'dueDate')}
|
{#if enabledConfig(config, 'dueDate')}
|
||||||
<DueDatePresenter value={issue} size={'small'} kind={'link-bordered'} />
|
<DueDatePresenter value={issue} size={'small'} kind={'link-bordered'} />
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user