You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ConvertTo-NinjaOneHtml: show Top Files bar chart alongside Top Folders #1
ConvertTo-NinjaOneHtml renders a per-drive Top Folders bar chart but no equivalent Top Files chart, even when large files are present in ScanResults.Items.
For NinjaOne disk reports (WYSIWYG custom fields), operators typically need individual large files first; folders alone are less actionable.
Current behavior
Per drive, the middle column only includes a Top Folders bar chart built from directory items. Large files appear only in the bottom All Results by Size table.
Expected behavior
Render Top Files and Top Folders bar charts in the per-drive middle column when data exists
List Top Files first (more useful for cleanup triage)
Use the same display limit pattern as folders (MaxTopFiles, default 8)
NinjaOne constraints
WYSIWYG fields strip script, button, and input elements, so interactive tabs are not viable. Stacked charts (files above folders) are the practical approach.
Environment
UltraTree 1.0.1 (PowerShell Gallery)
NinjaOne WYSIWYG custom field (ConvertTo-NinjaOneHtml fragment, no New-HtmlWrapper)
Workaround today
Downstream integrators post-process HTML after ConvertTo-NinjaOneHtml to inject a Top Files chart. That maintenance belongs in the module.
Update on PR #3: after NinjaOne WYSIWYG field testing, production integrators moved from an 8-item Top Files bar chart to full-width ranked tables (Top Files above Top Folders). PR #3 now implements that layout natively in ConvertTo-NinjaOneHtml along with dark-mode fixes. Bar charts remain available via New-HtmlBarChart for other use cases.
Activity
feat(html): native NinjaOne ranked tables and two-column layout
JonathanPitre commentedon Aug 25, 2026
Update on PR #3: after NinjaOne WYSIWYG field testing, production integrators moved from an 8-item Top Files bar chart to full-width ranked tables (Top Files above Top Folders). PR #3 now implements that layout natively in ConvertTo-NinjaOneHtml along with dark-mode fixes. Bar charts remain available via New-HtmlBarChart for other use cases.