@gitkraken/gitkraken-components 10.1.16 → 10.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -324,6 +324,7 @@ declare class GraphContainer extends React.PureComponent<Props, ComponentState>
|
|
|
324
324
|
getFilteredRemotesForGraphRow(row: GraphRow, hasIncludes: boolean): Remote[];
|
|
325
325
|
getFilteredTagsForGraphRow(row: GraphRow, hasIncludes: boolean, rowHasVisibleChild: boolean): Tag[];
|
|
326
326
|
loadRowsbySha(graphRows: GraphRow[]): void;
|
|
327
|
+
private getSummaryAndBody;
|
|
327
328
|
updateRowStatsConstraints(): void;
|
|
328
329
|
updateTimelines(): void;
|
|
329
330
|
clearTimelines(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import type { GetExternalIcon, GraphItemContext } from '../../../domain/graph/GraphTypes';
|
|
3
3
|
import type { HostingServiceType } from '../../../domain/hostingservice/HostingServiceTypes';
|
|
4
|
+
import type { TranslationFn } from '../../../domain/language/LanguageTypes';
|
|
4
5
|
type IconProps = {
|
|
5
6
|
icon: ReactElement<any>;
|
|
6
7
|
tooltipClassName?: string;
|
|
@@ -12,6 +13,7 @@ type IssueProps = {
|
|
|
12
13
|
id: string;
|
|
13
14
|
title: string;
|
|
14
15
|
getExternalIcon: GetExternalIcon;
|
|
16
|
+
translate: TranslationFn;
|
|
15
17
|
};
|
|
16
18
|
type RefIconProps = {
|
|
17
19
|
avatarUrl?: string;
|
|
@@ -23,7 +25,8 @@ type PullRequestProps = {
|
|
|
23
25
|
icon: ReactElement<any>;
|
|
24
26
|
hostingServiceType: HostingServiceType;
|
|
25
27
|
id: string | number;
|
|
26
|
-
title
|
|
28
|
+
title?: string;
|
|
29
|
+
translate: TranslationFn;
|
|
27
30
|
};
|
|
28
31
|
type UpStreamIndicatorProps = {
|
|
29
32
|
icon: ReactElement<any>;
|
|
@@ -32,8 +35,8 @@ type UpStreamIndicatorProps = {
|
|
|
32
35
|
tooltipText?: string;
|
|
33
36
|
};
|
|
34
37
|
export declare function Icon({ icon, tooltipClassName, tooltipId, tooltipText }: IconProps): ReactElement<any>;
|
|
35
|
-
export declare function IssueIcon({ displayId, id, title, getExternalIcon }: IssueProps): ReactElement<typeof Icon>;
|
|
36
|
-
export declare function PullRequestIcon({ hostingServiceType, icon, id, title }: PullRequestProps): ReactElement<typeof Icon>;
|
|
38
|
+
export declare function IssueIcon({ displayId, id, title, getExternalIcon, translate }: IssueProps): ReactElement<typeof Icon>;
|
|
39
|
+
export declare function PullRequestIcon({ hostingServiceType, icon, id, title, translate, }: PullRequestProps): ReactElement<typeof Icon>;
|
|
37
40
|
export declare function UpstreamIndicatorIcon({ icon, type, upstream, tooltipText, }: UpStreamIndicatorProps): ReactElement<typeof Icon>;
|
|
38
41
|
export declare function RefIcon({ avatarUrl, context, icon, tooltipText }: RefIconProps): ReactElement<typeof Icon>;
|
|
39
42
|
export {};
|
|
@@ -295,7 +295,8 @@ export interface ProcessedGraphRow extends GraphRow {
|
|
|
295
295
|
edges: RowEdges;
|
|
296
296
|
edgeColumnMaxes: number;
|
|
297
297
|
hasRefs?: boolean;
|
|
298
|
-
|
|
298
|
+
summary: string;
|
|
299
|
+
body?: string;
|
|
299
300
|
timeLineEntry?: TimelineEntry;
|
|
300
301
|
}
|
|
301
302
|
export type TopAndBottomVisibleRowIndex = {
|