Skip to content

Releases: mikagosz/obsidian-color-note

0.2.0

Choose a tag to compare

@mikagosz mikagosz released this 16 Aug 10:04

0.2.0 — colours survive a folder rename, and the plugin stops working while you type

Fixed

  • Renaming a folder no longer loses the hand-picked colours of the notes inside
    it. Only the folder arrives in the rename event, while every path underneath
    changes at the same moment; the whole subtree now moves together. Stale entries
    no longer pile up in data.json either.
  • A colour that is not valid hex is drawn as a dashed outline next to the state,
    instead of nothing at all. A typo now looks like a typo rather than like a
    state with no colour.

Faster

  • The plugin watched the whole document for changes, so it woke on every DOM
    change in Obsidian — including each keystroke in the editor — to repaint rows
    that had not moved. It watches the file explorer now, and re-attaches when that
    pane is closed and reopened.
  • A change to one note updates one entry instead of re-reading every note in the
    vault. The full sweep is left where it is actually needed: the cold start and a
    settings change.
  • The "Front matter field" setting saves once you stop typing, not on every
    keystroke — each of which used to repaint the entire vault.

Also

  • Changing the front matter field says, in the settings, that notes already
    carrying a state keep it under the old name.
  • The defaults can no longer be edited in place by the settings tab.
  • Fifteen more tests: the path rule behind renames and deletes, and the settings
    merge.
  • README: install from the community catalogue, and the default states are named
    as the code names them.

0.1.2

Choose a tag to compare

@mikagosz mikagosz released this 09 Aug 10:10

Default states are now in English (open, done, needs-testing, archived), so the plugin reads to anyone on first install. Vaults that already defined their own states are unaffected.

Internal: CI workflow and test config translated.

0.1.1

Choose a tag to compare

@mikagosz mikagosz released this 09 Aug 09:56

Clearer description of what the plugin is for, and a corrected versions.json (0.1.0 shipped with version numbers inherited from a template).

No functional changes since 0.1.0.

0.1.0

Choose a tag to compare

@mikagosz mikagosz released this 09 Aug 09:49

First release.

Right-click a note or folder in the file explorer to colour its title. States are yours to define: a name, a value written to the note's front matter, a colour per theme, and a sentence saying what it means.

Install manually: copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/color-note/.