@@ -21,6 +21,7 @@ import {
21
21
IApplicationDetailDrawerProps ,
22
22
} from "./application-detail-drawer" ;
23
23
import { useFetchReviewById } from "@app/queries/reviews" ;
24
+ import { ReviewedArchetypeItem } from "./reviewed-archetype-item" ;
24
25
25
26
export interface IApplicationDetailDrawerAssessmentProps
26
27
extends Pick < IApplicationDetailDrawerProps , "application" | "onCloseClick" > {
@@ -44,6 +45,9 @@ export const ApplicationDetailDrawerAssessment: React.FC<
44
45
onCloseClick = { onCloseClick }
45
46
detailsTabMainContent = {
46
47
< >
48
+ < Title headingLevel = "h3" size = "md" >
49
+ { t ( "terms.archetypes" ) }
50
+ </ Title >
47
51
< DescriptionList
48
52
isHorizontal
49
53
isCompact
@@ -53,7 +57,9 @@ export const ApplicationDetailDrawerAssessment: React.FC<
53
57
} }
54
58
>
55
59
< DescriptionListGroup >
56
- < DescriptionListTerm > { t ( "terms.archetypes" ) } </ DescriptionListTerm >
60
+ < DescriptionListTerm >
61
+ { t ( "terms.associatedArchetypes" ) }
62
+ </ DescriptionListTerm >
57
63
< DescriptionListDescription >
58
64
{ application ?. archetypes ?. length ?? 0 > 0 ? (
59
65
< ArchetypeLabels
@@ -64,6 +70,28 @@ export const ApplicationDetailDrawerAssessment: React.FC<
64
70
) }
65
71
</ DescriptionListDescription >
66
72
</ DescriptionListGroup >
73
+ < DescriptionListGroup >
74
+ < DescriptionListTerm >
75
+ { t ( "terms.archetypesReviewed" ) }
76
+ </ DescriptionListTerm >
77
+ < DescriptionListDescription >
78
+ { application ?. archetypes ?. length ?? 0 > 0 ? (
79
+ application ?. archetypes ?. map ( ( archetypeRef ) => (
80
+ < ReviewedArchetypeItem
81
+ key = { archetypeRef . id }
82
+ id = { archetypeRef . id }
83
+ />
84
+ ) )
85
+ ) : (
86
+ < EmptyTextMessage message = { t ( "terms.none" ) } />
87
+ ) }
88
+ </ DescriptionListDescription >
89
+ </ DescriptionListGroup >
90
+ < TextContent className = { spacing . mtLg } >
91
+ < Title headingLevel = "h3" size = "md" >
92
+ { t ( "terms.applicationReview" ) }
93
+ </ Title >
94
+ </ TextContent >
67
95
< DescriptionListGroup >
68
96
< DescriptionListTerm >
69
97
{ t ( "terms.proposedAction" ) }
@@ -114,16 +142,6 @@ export const ApplicationDetailDrawerAssessment: React.FC<
114
142
{application && <ApplicationRisk application={application} />}
115
143
</DescriptionListDescription>
116
144
</DescriptionListGroup> */ }
117
- < DescriptionListGroup >
118
- < DescriptionListTerm >
119
- { t ( "terms.migrationWave" ) }
120
- </ DescriptionListTerm >
121
- < DescriptionListDescription cy-data = "migration-wave" >
122
- { application ?. migrationWave
123
- ? application . migrationWave . name
124
- : t ( "terms.unassigned" ) }
125
- </ DescriptionListDescription >
126
- </ DescriptionListGroup >
127
145
</ DescriptionList >
128
146
< TextContent className = { spacing . mtLg } >
129
147
< Title headingLevel = "h3" size = "md" >
0 commit comments