Skip to content

Commit 013c66f

Browse files
Copilotrenemadsen
andcommitted
Add debug markers to trace mat-tab-group rendering
- Added orange debug box before mat-tab-group to confirm rendering reaches that point - Added pink debug inside mat-tab-group to see if it renders at all - Added lime green debug inside General mat-tab to see if tab content renders - This will show exactly where rendering stops in the Cypress e2e mp4 - If pink shows, mat-tab-group is rendering but tabs may not be initializing - If lime shows, General tab is rendering but may be hidden by CSS or Angular Material Co-authored-by: renemadsen <[email protected]>
1 parent ab88e02 commit 013c66f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ <h3 style="background: yellow; padding: 10px; margin: 10px 0;">
1212
<div style="color: black;">useOnlyPlanHours = <span style="font-weight: bold; color: red;">{{data.useOnlyPlanHours}}</span></div>
1313
<div style="color: black;">useGoogleSheetAsDefault = <span style="font-weight: bold; color: red;">{{data.useGoogleSheetAsDefault}}</span></div>
1414
</div>
15+
<div style="background: orange; padding: 10px; margin: 10px 0; color: black;">
16+
DEBUG: About to render mat-tab-group
17+
</div>
1518
<mat-tab-group
1619
dynamicHeight="false"
1720
>
18-
<!-- DEBUG: Tab group started -->
19-
<div id="debug-tab-group-start" style="display:none;">Tab group rendering</div>
21+
<div style="background: pink; padding: 10px; color: black;">
22+
DEBUG: Inside mat-tab-group (before tabs)
23+
</div>
2024
<mat-tab label="{{'General' | translate }}" >
25+
<div style="background: lime; padding: 10px; color: black;">
26+
DEBUG: Inside General mat-tab
27+
</div>
2128
<!-- DEBUG: General tab started -->
2229
<div id="debug-general-tab" style="background: lightblue; padding: 5px;">DEBUG: General Tab Content</div>
2330
<app-assigned-site-general-tab

0 commit comments

Comments
 (0)