DashHtml.Design
2.7.0
Design / round-trip companion tools for DashHtml: convert a DashHtml report object to a declarative YAML layout spec, generate a runnable PowerShell build script from YAML/JSON, and derive a best-effort YAML layout from an existing DashHtml .ps1 script. Self-contained (no YAML dependency); makes no changes to the core DashHtml module.
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
(c) 2026 Nicola Viganò. MIT License.
Package Details
Author(s)
- Nicola Viganò
Tags
DashHtml YAML Dashboard CodeGen Design Layout
Functions
ConvertTo-DhYaml ConvertFrom-DhYaml ConvertFrom-DhScript Export-DhYamlSchema Test-DhReport Update-DhScript
Dependencies
-
- DashHtml (>= 2.7.0)
Release Notes
2.6.0 - New Test-DhReport: one command for the checks (links, menu, size and baseline sanity of a report object; the upgrade audit of a script; the schema of a layout, naming the failing table or key; the fixes an HTML built with an older DashHtml misses). Update-DhScript -PassThru works on a one-line script. ConvertTo-DhYaml writes linkState and the BaselinePath / KeyField of a table. Requires DashHtml 2.6.0. 2.5.4 - ConvertTo-DhYaml -IncludeData, the YAML reader and ConvertFrom-DhYaml keep data fields named Keys, Values or Count (a row with a Keys field was written with the wrong key list). 2.5.3 - Export-DhYamlSchema -OutFile with a relative path now writes under the current PowerShell location (it used the process directory). 2.5.2 - New Export-DhYamlSchema and dashhtml.schema.json: a JSON Schema of the layout YAML generated from the live cmdlet metadata (editor completion, typo detection). Requires DashHtml 2.5.2. 2.5.1 - ConvertTo-DhYaml writes the 2.5.0 menu options (navLayout, navMaxDepth, navAllLabel, navTree, strictNav, navOverflow) that were dropped before, and generated scripts keep ordered hashtables. Requires DashHtml 2.5.1. 2.5.0 - Add-DhTreeTable and the 2.5.0 options round-trip through YAML. 2.4.0 and older - Network map, tree filter, findings, key/value and record list blocks round-trip; Update-DhScript audits them (see CHANGELOG.md). 2.0.0 - Update-DhScript, ConvertTo-DhYaml, ConvertFrom-DhYaml, ConvertFrom-DhScript.
FileList
- DashHtml.Design.nuspec
- Public\Test-DhReport.ps1
- DashHtml.Design.psm1
- LICENSE
- THIRD-PARTY-NOTICES.md
- Private\DhYamlReader.ps1
- Public\ConvertFrom-DhScript.ps1
- Public\ConvertTo-DhYaml.ps1
- Public\Update-DhScript.ps1
- DashHtml.Design.psd1
- dashhtml.schema.json
- README.md
- Private\DhSchema.ps1
- Private\DhYamlWriter.ps1
- Public\ConvertFrom-DhYaml.ps1
- Public\Export-DhYamlSchema.ps1