Skip to content

Fix embedded section controls and table word wrapping - #534

Merged
PrzemyslawKlys merged 8 commits into
masterfrom
fix/section-toggle-events
Oct 29, 2026
Merged

PrzemyslawKlys merged 8 commits into
masterfrom
fix/section-toggle-events

Conversation

@PrzemyslawKlys

@PrzemyslawKlys PrzemyslawKlys commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Section Show/Hide controls now work when a report is embedded under a nonce-based script policy. Delegated event listeners replace inline onclick attributes while preserving the host's policy and the existing show() and hide() functions.

The existing WordBreak table option now emits valid CSS and overrides the default first-column nowrap style. Long values wrap inside the report frame instead of being clipped.

Online and offline reports embed the section script from the module, including the filename casing needed on Linux. Ubuntu CI uses the runner-provided PowerShell, and the native release configuration selects the current Evotec signing certificate.

Validation: Online/offline generation passed on PowerShell 7, Windows PowerShell 5.1, and a case-sensitive Linux filesystem. Browser checks reproduced the original failure, verified mouse and keyboard toggling under the same nonce-restricted iframe using UltimateHtmlViewer's HTML transform, and exercised a standalone Online report. Unsigned native package imports and generation passed on both Windows runtimes with approved donors unavailable. Independent local review and targeted confirmation completed.

The wrapping regression is covered by generated CSS checks and an actual 500-pixel viewer fixture with a long device name.

This shared fix is consumed by CleanupMonster#74, which requires PSWriteHTML 1.42.0. The embedded-report checks use the existing HTML transformation from UltimateHtmlViewer.

@PrzemyslawKlys PrzemyslawKlys changed the title Fix section Show and Hide controls in embedded reports Fix embedded section controls and table word wrapping Oct 29, 2026
@PrzemyslawKlys
PrzemyslawKlys merged commit 428bf4c into master Oct 29, 2026
5 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the fix/section-toggle-events branch October 29, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant