Luca Rossi
24bb64841e
fix: customize icon & color works for types without Type entry ( #173 )
...
Types without a dedicated Type definition note in the vault silently
failed to save icon/color customizations. Both applyCustomization
(Sidebar) and handleCustomizeType (useEntryActions) returned early
when no Type entry existed. Also fixed a race condition where two
concurrent handleUpdateFrontmatter calls could overwrite each other.
Changes:
- useNoteActions: add createTypeEntrySilent for headless Type file creation
- useEntryActions: auto-create Type entry when missing, serialize writes
- Sidebar: applyCustomization proceeds with defaults when no Type entry
- App: wire createTypeEntrySilent into useEntryActions config
Co-authored-by: Test <test@test.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 11:22:03 +01:00
..
2026-02-27 16:58:10 +01:00
2026-02-28 21:30:47 +01:00
2026-02-28 21:30:47 +01:00
2026-03-01 19:49:58 +01:00
2026-02-28 21:30:47 +01:00
2026-02-28 21:30:47 +01:00
2026-03-02 05:00:29 +01:00
2026-03-02 05:00:29 +01:00
2026-02-27 13:11:31 +00:00
2026-03-02 01:50:52 +01:00
2026-02-27 14:14:21 +00:00
2026-02-24 23:43:58 +01:00
2026-02-24 23:41:54 +01:00
2026-02-22 12:02:44 +01:00
2026-02-22 14:06:51 +01:00
2026-02-22 12:02:44 +01:00
2026-02-22 14:06:51 +01:00
2026-02-21 09:42:45 +01:00
2026-02-22 14:06:51 +01:00
2026-02-22 12:02:44 +01:00
2026-02-22 10:48:13 +01:00
2026-03-02 08:37:06 +01:00
2026-03-01 19:32:15 +01:00
2026-02-25 00:02:09 +01:00
2026-02-28 10:50:34 +01:00
2026-02-23 23:15:32 +01:00
2026-03-02 08:37:06 +01:00
2026-03-01 19:49:58 +01:00
2026-02-28 21:31:47 +01:00
2026-03-02 05:00:29 +01:00
2026-02-28 22:03:38 +01:00
2026-02-16 14:50:29 +01:00
2026-02-28 14:02:38 +01:00
2026-02-28 14:02:38 +01:00
2026-02-28 14:02:38 +01:00
2026-03-02 08:37:06 +01:00
2026-03-02 02:01:24 +01:00
2026-03-02 08:37:06 +01:00
2026-03-02 02:01:24 +01:00
2026-02-26 19:50:29 +00:00
2026-02-28 20:08:55 +01:00
2026-03-01 19:32:15 +01:00
2026-03-02 08:37:06 +01:00
2026-03-01 19:32:15 +01:00
2026-02-26 17:43:29 +00:00
2026-02-26 17:43:29 +00:00
2026-03-02 08:37:06 +01:00
2026-02-25 19:01:22 +01:00
2026-02-22 12:02:44 +01:00
2026-02-18 10:52:01 +01:00
2026-03-02 08:37:06 +01:00
2026-02-28 20:08:55 +01:00
2026-03-01 19:49:58 +01:00
2026-03-01 19:49:58 +01:00
2026-03-02 08:37:06 +01:00
2026-03-02 11:22:03 +01:00
2026-03-02 01:50:46 +01:00
2026-02-28 21:31:47 +01:00
2026-02-23 08:35:30 +01:00
2026-03-02 01:50:41 +01:00
2026-03-02 01:50:41 +01:00
2026-02-27 15:35:19 +01:00
2026-02-28 10:58:23 +01:00
2026-03-02 11:00:41 +01:00
2026-03-02 01:50:52 +01:00
2026-02-28 12:34:01 +01:00
2026-02-28 12:34:01 +01:00
2026-02-16 16:56:44 +01:00
2026-03-02 08:37:06 +01:00
2026-03-02 08:37:06 +01:00
2026-02-23 10:50:36 +00:00
2026-03-01 17:01:22 +01:00
2026-02-28 12:58:21 +01:00
2026-02-28 12:58:21 +01:00
2026-02-25 19:01:22 +01:00
2026-02-26 17:43:29 +00:00