feat(KAN-30): rebuild responsive ticket detail view
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
import type { ProjectTicketPageProps } from '@/types/page-props';
|
||||
export type TicketDetailHeaderProps = Pick<
|
||||
ProjectTicketPageProps,
|
||||
'ticket' | 'project' | 'canEditTicket'
|
||||
>;
|
||||
export type TicketDetailContentProps = Pick<
|
||||
ProjectTicketPageProps,
|
||||
| 'ticket'
|
||||
| 'project'
|
||||
| 'canEditTicket'
|
||||
| 'canManageProject'
|
||||
| 'parentTicketOptions'
|
||||
| 'ticketFieldDefinitions'
|
||||
| 'ticketPriorities'
|
||||
| 'ticketTypes'
|
||||
| 'users'
|
||||
>;
|
||||
export type TicketDetailMetadataProps = Pick<
|
||||
ProjectTicketPageProps,
|
||||
'ticket' | 'project' | 'canManageProject' | 'ticketFieldDefinitions'
|
||||
>;
|
||||
export type TicketDetailGitProps = Pick<
|
||||
ProjectTicketPageProps,
|
||||
| 'ticket'
|
||||
| 'project'
|
||||
| 'canEditTicket'
|
||||
| 'repositoryBranches'
|
||||
| 'repositoryPullRequests'
|
||||
| 'suggestedBranchName'
|
||||
>;
|
||||
export type TicketDetailRelationshipsProps = Pick<
|
||||
ProjectTicketPageProps,
|
||||
| 'ticket'
|
||||
| 'project'
|
||||
| 'canEditTicket'
|
||||
| 'parentTicketOptions'
|
||||
| 'childTicketTree'
|
||||
| 'linkedTickets'
|
||||
| 'ticketLinkTypes'
|
||||
| 'ticketLinkOptions'
|
||||
>;
|
||||
export type TicketDetailHistoryProps = Pick<ProjectTicketPageProps, 'ticket'>;
|
||||
export type TicketBranchFormData = {
|
||||
branch_name: string;
|
||||
repository_connection_id: string;
|
||||
};
|
||||
Reference in New Issue
Block a user