@@ -7,7 +7,9 @@ <h3>Display Configuration</h3>
77
88 < div class ="config-row ">
99 < span class ="config-row-label "> Column Grouping:</ span >
10- < mat-button-toggle-group class ="column-toggle " [value] ="config.columnGrouping "
10+ < mat-button-toggle-group
11+ class ="column-toggle "
12+ [value] ="config.columnGrouping "
1113 (change) ="setColumnGrouping($event.value) ">
1214 < mat-button-toggle value ="byProgress "> By Progress Stage</ mat-button-toggle >
1315 < mat-button-toggle value ="byTeam "> By Team</ mat-button-toggle >
@@ -23,69 +25,115 @@ <h3>Activity Attributes</h3>
2325 < p class ="config-hint "> Choose which activity fields to show as columns in the report.</ p >
2426
2527 < div class ="checkbox-grid ">
26- < mat-checkbox [checked] ="config.activityAttributes.showDescription "
28+ < mat-checkbox
29+ [checked] ="config.activityAttributes.showUuid "
30+ (change) ="toggleActivityAttribute('showUuid') ">
31+ UUID
32+ </ mat-checkbox >
33+ < mat-checkbox
34+ [checked] ="config.activityAttributes.showDescription "
2735 (change) ="toggleActivityAttribute('showDescription') ">
2836 Description
2937 </ mat-checkbox >
30- < mat-checkbox [checked] ="config.activityAttributes.showRisk " (change) ="toggleActivityAttribute('showRisk') ">
38+ < mat-checkbox
39+ [checked] ="config.activityAttributes.showRisk "
40+ (change) ="toggleActivityAttribute('showRisk') ">
3141 Risk
3242 </ mat-checkbox >
33- < mat-checkbox [checked] ="config.activityAttributes.showMeasure " (change) ="toggleActivityAttribute('showMeasure') ">
43+ < mat-checkbox
44+ [checked] ="config.activityAttributes.showMeasure "
45+ (change) ="toggleActivityAttribute('showMeasure') ">
3446 Measure
3547 </ mat-checkbox >
36- < mat-checkbox [checked] ="config.activityAttributes.showTags " (change) ="toggleActivityAttribute('showTags') ">
37- Tags
38- </ mat-checkbox >
39- < mat-checkbox [checked] ="config.activityAttributes.showImplementationGuide "
40- (change) ="toggleActivityAttribute('showImplementationGuide') ">
41- Implementation Guide
42- </ mat-checkbox >
43- < mat-checkbox [checked] ="config.activityAttributes.showDifficultyOfImplementation "
48+ < mat-checkbox
49+ [checked] ="config.activityAttributes.showDifficultyOfImplementation "
4450 (change) ="toggleActivityAttribute('showDifficultyOfImplementation') ">
4551 Difficulty of Implementation
4652 </ mat-checkbox >
47- < mat-checkbox [checked] ="config.activityAttributes.showUsefulness "
53+ < mat-checkbox
54+ [checked] ="config.activityAttributes.showUsefulness "
4855 (change) ="toggleActivityAttribute('showUsefulness') ">
4956 Usefulness
5057 </ mat-checkbox >
51- < mat-checkbox [checked] ="config.activityAttributes.showEvidence "
52- (change) ="toggleActivityAttribute('showEvidence') ">
53- Evidence
58+ < mat-checkbox
59+ [checked] ="config.activityAttributes.showImplementation "
60+ (change) ="toggleActivityAttribute('showImplementation') ">
61+ Implementation
62+ </ mat-checkbox >
63+ < mat-checkbox
64+ [checked] ="config.activityAttributes.showDependsOn "
65+ (change) ="toggleActivityAttribute('showDependsOn') ">
66+ Depends On
5467 </ mat-checkbox >
5568 </ div >
5669
5770 <!-- References with sub-toggles -->
5871 < div class ="references-section ">
59- < mat-checkbox [checked] ="config.activityAttributes.showReferences "
72+ < mat-checkbox
73+ [checked] ="config.activityAttributes.showReferences "
6074 (change) ="toggleActivityAttribute('showReferences') ">
6175 References
6276 </ mat-checkbox >
6377 < div class ="references-subtoggle " *ngIf ="config.activityAttributes.showReferences ">
64- < mat-checkbox [checked] ="config.activityAttributes.showReferencesIso27001_2017 "
78+ < mat-checkbox
79+ class ="subtoggle-checkbox "
80+ [checked] ="config.activityAttributes.showReferencesIso27001_2017 "
6581 (change) ="toggleActivityAttribute('showReferencesIso27001_2017') ">
6682 ISO 27001:2017
6783 </ mat-checkbox >
68- < mat-checkbox [checked] ="config.activityAttributes.showReferencesIso27001_2022 "
84+ < mat-checkbox
85+ class ="subtoggle-checkbox "
86+ [checked] ="config.activityAttributes.showReferencesIso27001_2022 "
6987 (change) ="toggleActivityAttribute('showReferencesIso27001_2022') ">
7088 ISO 27001:2022
7189 </ mat-checkbox >
72- < mat-checkbox [checked] ="config.activityAttributes.showReferencesSamm2 "
90+ < mat-checkbox
91+ class ="subtoggle-checkbox "
92+ [checked] ="config.activityAttributes.showReferencesSamm2 "
7393 (change) ="toggleActivityAttribute('showReferencesSamm2') ">
7494 SAMM2
7595 </ mat-checkbox >
76- < mat-checkbox [checked] ="config.activityAttributes.showReferencesOpenCRE "
96+ < mat-checkbox
97+ class ="subtoggle-checkbox "
98+ [checked] ="config.activityAttributes.showReferencesOpenCRE "
7799 (change) ="toggleActivityAttribute('showReferencesOpenCRE') ">
78100 OpenCRE
79101 </ mat-checkbox >
80102 </ div >
81103 </ div >
82104
105+ < div class ="checkbox-grid " style ="margin-top: 8px ">
106+ <!-- To be implemented after issue #501 -->
107+ <!-- <mat-checkbox [checked]="config.activityAttributes.showEvidence"
108+ (change)="toggleActivityAttribute('showEvidence')">
109+ Evidence
110+ </mat-checkbox> -->
111+ < mat-checkbox
112+ [checked] ="config.activityAttributes.showTags "
113+ (change) ="toggleActivityAttribute('showTags') ">
114+ Tags
115+ </ mat-checkbox >
116+ </ div >
83117 < div class ="config-row slider-row " *ngIf ="hasAnyMarkdownAttribute ">
84118 < span class ="config-row-label ">
85- Word Cap: < strong > {{ config.descriptionWordCap }}</ strong >
119+ Word Cap
120+ < mat-icon
121+ matTooltip ="Limits the number of words shown for description, risk, measure, and evidence fields. Set to a high value to show full text. "
122+ matTooltipClass ="compact-tooltip info-icon "
123+ > info</ mat-icon
124+ >
125+ :
126+ < strong > {{ config.descriptionWordCap }}</ strong >
86127 </ span >
87- < mat-slider class ="word-cap-slider " min ="5 " [max] ="maxWordCap " step ="5 " thumbLabel [displayWith] ="wordCapLabel "
88- [value] ="config.descriptionWordCap " (input) ="onWordCapChange($event) ">
128+ < mat-slider
129+ class ="word-cap-slider "
130+ min ="5 "
131+ [max] ="maxWordCap "
132+ step ="5 "
133+ thumbLabel
134+ [displayWith] ="wordCapLabel "
135+ [value] ="config.descriptionWordCap "
136+ (input) ="onWordCapChange($event) ">
89137 </ mat-slider >
90138 </ div >
91139 </ div >
@@ -97,7 +145,9 @@ <h3>Activity Attributes</h3>
97145 < h3 > Dimensions</ h3 >
98146 < p class ="config-hint "> Uncheck dimensions to exclude all their activities.</ p >
99147 < div class ="checkbox-grid ">
100- < mat-checkbox *ngFor ="let dim of allDimensions " [checked] ="!isDimensionExcluded(dim) "
148+ < mat-checkbox
149+ *ngFor ="let dim of allDimensions "
150+ [checked] ="!isDimensionExcluded(dim) "
101151 (change) ="toggleDimension(dim) ">
102152 {{ dim }}
103153 </ mat-checkbox >
@@ -111,7 +161,9 @@ <h3>Dimensions</h3>
111161 < h3 > Subdimensions</ h3 >
112162 < p class ="config-hint "> Uncheck subdimensions to exclude their activities.</ p >
113163 < div class ="checkbox-grid subdimension-grid ">
114- < mat-checkbox *ngFor ="let subdim of allSubdimensions " [checked] ="!isSubdimensionExcluded(subdim) "
164+ < mat-checkbox
165+ *ngFor ="let subdim of allSubdimensions "
166+ [checked] ="!isSubdimensionExcluded(subdim) "
115167 (change) ="toggleSubdimension(subdim) ">
116168 {{ subdim }}
117169 </ mat-checkbox >
@@ -130,7 +182,9 @@ <h3>Individual Activities</h3>
130182 < mat-icon matSuffix > search</ mat-icon >
131183 </ mat-form-field >
132184 < div class ="activity-list ">
133- < mat-checkbox *ngFor ="let activity of filteredActivities " [checked] ="!isActivityExcluded(activity.uuid) "
185+ < mat-checkbox
186+ *ngFor ="let activity of filteredActivities "
187+ [checked] ="!isActivityExcluded(activity.uuid) "
134188 (change) ="toggleActivity(activity.uuid) ">
135189 < span class ="activity-checkbox-label ">
136190 < span class ="activity-name "> {{ activity.name }}</ span >
@@ -142,7 +196,9 @@ <h3>Individual Activities</h3>
142196
143197 < mat-divider > </ mat-divider >
144198 <!-- Teams -->
145- < app-team-selector [allTeams] ="allTeams " [(selectedTeams)] ="config.selectedTeams "
199+ < app-team-selector
200+ [allTeams] ="allTeams "
201+ [(selectedTeams)] ="config.selectedTeams "
146202 [teamGroups] ="teamGroups "> </ app-team-selector >
147203
148204 < mat-divider > </ mat-divider >
@@ -153,4 +209,4 @@ <h3>Individual Activities</h3>
153209 < button mat-raised-button color ="primary " (click) ="onSave() ">
154210 Save Configuration and Generate Report
155211 </ button >
156- </ mat-dialog-actions >
212+ </ mat-dialog-actions >
0 commit comments