Releases: GilbertzzzZZ/obsidian-mosaic
Release list
1.1.3
Fixed
- The granularity switcher no longer vanishes when the candidate set narrows to a single option. Writing
granularityOptions="quarter"used to remove the control entirely, which reads as "this chart has no granularity" rather than "this data supports exactly one view". One button now stays, selected.
Changed
- Both legend markers are rounded: 3px corners on the column square, 2px on the line bar. At 4px tall, that makes the line marker a pill.
- Every guide now shows its screenshots directly under the intro instead of at the very bottom, past the whole attribute reference.
Requires Obsidian 1.13.0 or later.
1.1.2
Fixes a chart bug: type=bar with more than one series drew every series at the same position, so the tallest column covered the rest and only a sliver showed at the baseline. Value labels piled on top of each other too.
bar and grouped-bar are now two names for the same chart — one series draws one column, n series draw n columns side by side. Both names stay valid.
Single-series bars are unchanged, byte for byte.
Requires Obsidian 1.13.0 or later.
1.1.1
Documentation only. No code or behavior change from 1.1.0.
The community directory discloses that this plugin accesses the clipboard, with the standard wording "reads or writes the system clipboard, may expose content copied from outside Obsidian." Only half of that applies here: Mosaic writes to the clipboard when you press a copy button, and has no read path at all — readText appears zero times in the shipped bundle.
The Privacy section of the README now says so directly, in both language versions.
Requires Obsidian 1.13.0 or later.
1.1.0
Clears everything the community directory's automated review reported against 1.0.0.
Nothing about how content blocks are written or rendered has changed. Existing notes keep working exactly as before.
Changed
- Settings are searchable. The settings tab now renders from Obsidian 1.13's declarative settings API, so "Show export button" turns up in the settings search box instead of being reachable only by opening the plugin's own tab.
Fixed
- Copying a block's error report no longer leaves an unhandled promise rejection in the console when the browser refuses the clipboard write, which happens when the window is not focused.
- Timeline row spacing is written as the
gapshorthand. The longhand was being classified as CSS multi-column layout, a feature Obsidian only partially supports.
Internal
- No dynamic code evaluation anywhere in the bundle. The single
new Functioncame from d3-dsv, pulled in through a G2 data source this plugin never uses — it is swapped for a stub at build time, which also trims 2.5 KB. - Typed the boundaries where the parsing layer hands values to the rendering layer, clearing 32 type-safety findings in one pass.
Requires Obsidian 1.13.0 or later.
1.0.0
First public release.
Mosaic turns a plain-text declaration in your note into a chart, table, timeline or diagram — rendered in place, with no external service and no change to your source file.
Six block types
Each one can be written as a tag or as a code block, with an identical attribute contract either way:
| Block | What it does |
|---|---|
Chart |
Line, bar, grouped bar, stacked bar, combo and dual-axis charts |
DataTable |
Sortable data table with automatic column layout |
MetricGrid |
Status-colored metric cards in an adaptive grid |
Timeline |
Vertical timeline with status-colored milestones |
DecisionBox |
Structured decision record, with a free-text fallback that never errors |
FlowDiagram |
Auto-layout flow diagram (SVG) |
Data comes from inline CSV, JSON or a Markdown table. Chart and DataTable additionally read an external .dataset.json manifest, with time-range filtering and granularity roll-up.
A malformed block renders one inline error box with the exact line range; the rest of the note is unaffected.
Requirements
- Obsidian 1.13.0 or later
- Blocks render in reading view — Live Preview is on the roadmap
- Works in both
.mdand.mdx
Install manually
Download main.js, manifest.json and styles.css below into <vault>/.obsidian/plugins/mosaic/, then enable Mosaic in Settings → Community plugins.
Privacy
No network requests, no telemetry, no account, no ads, no code execution. Dataset files are resolved relative to the referencing note and read through Obsidian's own vault API — nothing leaves your vault.