Skip to content

Commit 831088c

Browse files
Copilotrenemadsen
andcommitted
Enhance debug output with clearer formatting and visibility
- Changed yellow box to prominent heading for dialog confirmation - Added gray box with monospace font for clearer value display - Used bold red text for actual values to make them stand out - Simplified debug text to focus on key values - This should make it easier to see if values are actually being displayed in Cypress mp4 Co-authored-by: renemadsen <[email protected]>
1 parent 934ca8f commit 831088c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/assigned-site/assigned-site-dialog.component.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
<div mat-dialog-content>
33
<!-- DEBUG: Dialog content started -->
44
<div id="debug-dialog-content-start" style="display:none;">Dialog content rendering</div>
5-
<div id="debug-values" style="background: yellow; padding: 10px; margin: 10px 0;">
6-
<strong>DEBUG INFO:</strong><br>
7-
isAdmin: {{ isAdmin }}<br>
8-
isFirstUser: {{ isFirstUser }}<br>
9-
assignedSiteForm exists: {{ assignedSiteForm ? 'YES' : 'NO' }}<br>
10-
data.useOnlyPlanHours: {{ data.useOnlyPlanHours }}<br>
11-
data.useGoogleSheetAsDefault: {{ data.useGoogleSheetAsDefault }}<br>
12-
data.autoBreakCalculationActive: {{ data.autoBreakCalculationActive }}<br>
5+
<h3 style="background: yellow; padding: 10px; margin: 10px 0;">
6+
DEBUG: Dialog opened - Check tab visibility below
7+
</h3>
8+
<div style="background: lightgray; padding: 10px; margin: 10px 0; font-family: monospace;">
9+
<div>isAdmin = <span style="font-weight: bold; color: red;">{{isAdmin}}</span></div>
10+
<div>isFirstUser = <span style="font-weight: bold; color: red;">{{isFirstUser}}</span></div>
11+
<div>form = <span style="font-weight: bold; color: red;">{{assignedSiteForm ? 'EXISTS' : 'NULL'}}</span></div>
12+
<div>useOnlyPlanHours = <span style="font-weight: bold; color: red;">{{data.useOnlyPlanHours}}</span></div>
13+
<div>useGoogleSheetAsDefault = <span style="font-weight: bold; color: red;">{{data.useGoogleSheetAsDefault}}</span></div>
1314
</div>
1415
<mat-tab-group
1516
dynamicHeight="false"

0 commit comments

Comments
 (0)