Skip to content

v0.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 21:53
· 10 commits to master since this release
Let charts widen to the preview's full width like tables

The chart hover toolbar gets a Full width / Narrow chart toggle. A wide
chart leaves the readable column and spans the preview pane, centered,
scaling up with it (the SVG keeps its 640-unit viewBox).

- View state only, never written to the Markdown: remembered per note
  in the new `wide_charts` workspace state field as `chartN`, the
  chart's position among the note's chart blocks (charts have no ids),
  and remapped when the note is renamed or moved.
- PreviewHost gains isChartWide / onWideChart; the store adds
  setChartWide.
- The wide CSS rule now also covers .nodio-chart-block.
- SPEC §8.7 and the workspace state section describe the toggle.
- Unit and e2e tests cover toggling, persistence and restoring.