Repository navigation
Releases
Releases · pwittchen/nodio
v0.4.1
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.
v0.4.0
Add dropdown columns with colored options to tables
Tables can mark columns as dropdowns (like Notion's select property)
without leaving Markdown: the options live in the table directive and
cells keep the chosen option as plain text, so formulas, filters,
grouping and GitHub still see an ordinary value.
<!-- nodio:table options="Status: Todo, Doing=blue, Done=green" -->
- tables.rs: `options` attribute parsing/writing (`ColumnOption` with
an optional named color from OPTION_COLORS), per-column options on
TableBlock, `clean_option`, and `set_cell_text` (Rust twin of the
editor's setCellText). New table actions: `column_options` (set,
seed from the column's distinct values, or remove), `select_option`
(writes one cell; a new value is also appended to the options) and
`option_color`.
- markdown.rs: dropdown data cells render as `td.select` with a
`.nodio-tag` pill tinted by the option's color, else its position
(chart-1..8); values outside the options render as a muted tag.
TableInfo exposes the options to the UI.
- Preview: clicking a dropdown cell opens a picker to find, pick,
clear or add an option (works with editing in the preview off).
The column menu gains "Turn into dropdown" and a "Dropdown" submenu
with "Edit options…", per-option color swatches and "Remove
dropdown". Nested submenus now go back one level at a time.
- Theme: new `tag-<color>` tokens (gray, brown, orange, yellow, green,
blue, purple, pink, red) with light/dark built-ins; theme files may
override them, so a color name always means that hue.
- Mock backend, vitest and Playwright coverage, SPEC §8.3/§8.6/§10 and
the MCP syntax guide document the feature.
v0.3.2
v0.3.1
v0.3.0
v0.2.0
v0.1.1
v0.1.0
Point readers looking for a plain text editor to kayet in README