Repository navigation
docs: README examples on weather data, screenshots as light and dark pairs - #216
Merged
Merged
Conversation
…pairs ECharts and Perspective get a live example on Open-Meteo's weather of six cities on their docs pages; screenshots.mjs takes them and the pivot report from the built site, light and dark. The README shows those pairs and the pivot showcase's weather pair, links pivotkit's site and live demo, and has one link line. The site's Invoke-RestMethod stub answers an address with a query string from data/Addresses.psd1. Closes #212 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
…Both The README and the start page show the same three light/dark pairs, all taken from the built site: the ECharts lines, a Perspective bar chart with a title, and a new pivot example on the weather data. screenshots.mjs widens the content column for the shots, so every example is as wide and the pivot report reaches pivotkit's wide size, where it offers Both. The pivot-report pictures are no longer used and gone. Refs #212 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #212
What changes
-Aggregate Avg, y axis "Celsius".-Config.App, so the Pivot showcase does not list it.<picture>withprefers-color-scheme. The start page uses#only-lightand#only-dark. Open-Meteo is credited once on each.screenshots.mjstakes the three examples from the built site, light and dark, at a 1,200 px window. For the shots it hides the navigation and the table of contents and makes the header scroll away, so every example has the same width.use-report-size.js). In the docs column the report is about 893 px. The shot layout gives it the room. On the docs pages at normal widths the tab stays hidden; that is pivotkit's breakpoint, which I did not change.pivot-report-*.pngwas used only by the README and the start page. Both now use the weather pairs, so the two files are gone.pivot-showcase-weather-*stays on the showcase page.Invoke-RestMethodstub answers an address with a query string fromdata/Addresses.psd1.docs/development/index.mdsays so in its "Public data" row.Addresses.psd1ships in the Pivot demo module; only its comment changed.Not done
examples.ps1asks every example to be self-contained, because readers copy a block as it is. So each of the three carries its call and row mapping.Growth
docs/site/examples.ps1grows from 510 to 552 code lines (--accept-growth): three self-contained examples. The README is one line shorter. When this and #214 are both open, the one merged second may neednode build/growth.js --updatefor the total lines.Checked
npm test(174 pass),npm run growth(ok), Invoke-ScriptAnalysis (no findings),PivotDemo.Tests.ps1(18 pass).zensical build("No issues found");tests/browser/site.spec.mjsin Chromium (29 pass).Neutral review
Two rounds by an independent reviewer (read only, fresh context):
New-UDECharthandles a long-YTitleat narrow widths is unchanged.🤖 Generated with Claude Code