onlyworlds_obsidian-plugin/Commands
Titus 734b32d77b fix wrong-world writes + false-success rename toast (2.2.1)
The wrong-world write class: per-world commands fell back to the settings
key whenever a world's own World.md key was missing, silently writing to
whatever world that key named. The settings key survives a vault-content
clear (.obsidian/data.json), so a read-key download + stale settings key
routed rename/save to the settings world. Shared resolveWorldKey() now
uses the world's OWN key; settings is fallback ONLY when the world has
none, and the fallback warns.

Rename false-success: the toast fired on the local rename before the API
PATCH ran, so a read-key (or any failed) push still said 'success'. Now
the push runs first and the notice states plainly whether onlyworlds.com
was updated or only the vault.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 14:52:40 +02:00
..
CopyWorldCommand.ts 2.0.1: mobile support, drop FileSystemAdapter instanceof checks 2026-05-11 13:20:56 +02:00
CreateCategoryFoldersCommand.ts paste world fixes, duplicate world and char name fixes 2025-07-08 19:05:37 +02:00
CreateCoreFilesCommand.ts handlebar API fetch and use 2024-10-08 20:33:14 +02:00
CreateElementCommand.ts Enhance NoteLinker and CreateElementCommand with manifest integration; add CreateElementFromLinkModal for element creation. Update ElementSelectionModal to support new element creation and refresh functionality. 2025-07-09 09:47:30 +02:00
CreateHandlebarsCommand.ts 2.2.0: Download World restored, round-trip link integrity, key-format sweep 2026-07-12 13:56:56 +02:00
CreateReadmeCommand.ts notice fixes 2024-10-08 21:24:02 +02:00
CreateSettingsCommand.ts email setting 2025-07-08 12:19:39 +02:00
CreateTemplatesCommand.ts 2.0.0: SDK, auto-sync, native settings, modernized build 2026-05-11 12:51:28 +02:00
CreateWorldCommand.ts export copy save errors, folder rename race fix 2025-07-08 21:34:08 +02:00
DownloadWorldCommand.ts 2.2.0: Download World restored, round-trip link integrity, key-format sweep 2026-07-12 13:56:56 +02:00
ExportWorldCommand.ts 2.2.0: Download World restored, round-trip link integrity, key-format sweep 2026-07-12 13:56:56 +02:00
PasteWorldCommand.ts 2.0.1: mobile support, drop FileSystemAdapter instanceof checks 2026-05-11 13:20:56 +02:00
RenameWorldCommand.ts fix wrong-world writes + false-success rename toast (2.2.1) 2026-07-12 14:52:40 +02:00
SaveElementCommand.ts fix wrong-world writes + false-success rename toast (2.2.1) 2026-07-12 14:52:40 +02:00
UpdateCategoryCountsCommand.ts paste world fixes, duplicate world and char name fixes 2025-07-08 19:05:37 +02:00
ValidateWorldCommand.ts update import world with pin logic; fix multi id csv->json 2025-03-15 18:43:40 +01:00