Repository navigation
PowerShellUniversal.Component.Pivot 0.8.0
·
47 commits
to main
since this release
Added
Get-UDPivotSourcelists the sources of a pivotkit-server that the caller may use (GET /sources),
with the same sign-in parameters asInvoke-UDPivotReport -Engine Rest
(#141).- Each source has its id, title, description, kind, parameters and whether links and schedules
work for it. DataMaxBytessays how large a request with-Datathe caller may send.- An empty list writes the server's reason to the warning stream.
- Each source has its id, title, description, kind, parameters and whether links and schedules
Invoke-UDPivotReport -AsLinkreturns a link to the report that expires, instead of the file
(#141).- The server keeps the report (
POST /views/renderwithsave: true). - The result has
Url,ExpiresAt,Rows,RequestId,Format,FileName,Bound,
DataAsOfandMessage. - Where the server gives no link, the new error id
PivotNoLinksays so plainly, with the
server's reason.
- The server keeps the report (
- The errors of pivotkit-server carry its answer as a record:
$_.TargetObjectis a
PivotServerProblemwithStatus,Code,Title,Detail,RequestId,Retryable,
RetryAfter,TypeandFindings. A page can tell the reader why a call failed by its code
(#141). $_.Exception.DataholdsTitleandDetailtoo. Its other keys and the error ids stay.Invoke-UDPivotReport -Templategives an HTML report of the command line a print template of your
own. It goes with-Format htmland-Engine Node. With-Engine Restthe server's source decides
the template, so the function refuses it there
(#140).- Theme properties for the field type colours:
--psu-pivot-type-string,--psu-pivot-type-number,
--psu-pivot-type-dateand--psu-pivot-type-boolean. Without them the colours stay pivotkit's
(#137). - Theme properties for the tabs and buttons of pivotkit-react 0.8.1:
--psu-pivot-tab-*,
--psu-pivot-icon-button-*,--psu-pivot-button-border*and--psu-pivot-primary-*. Without them
the parts follow the report's colours as before. A primary button's hover follows its own fill
(#137).
Changed
- The docs give both zone heights, measured on PSU: about 150 pixels in the 2×2 grid, about 390
pixels in one column.
The showcase screenshots show pivotkit 0.8's toolbar and zones
(#143).
In the PowerShell Gallery: https://www.powershellgallery.com/packages/PowerShellUniversal.Component.Pivot/0.8.0