onlyworlds_obsidian-plugin/Commands
Titus 87e003e2e7 2.0.0: SDK, auto-sync, native settings, modernized build
Major rebuild. Plugin now uses @onlyworlds/sdk for API calls via Obsidian's
requestUrl, native PluginSettingTab for configuration, and a debounced auto-sync
engine that pushes element edits to onlyworlds.com after idle.

Changes
- Drop handrolled API code; route all writes through @onlyworlds/sdk subclass
- Native settings tab: API key, PIN, default world, sync mode, debounce
- PIN handling: persist in settings or cache per session; no per-save prompts
- Auto-sync toggle with configurable debounce (default 3s)
- Status bar + ribbon icon reflect sync state (idle/dirty/syncing/synced/error)
- Ribbon click opens menu (Sync / Settings / About) instead of firing sync
- Settings API key wins over per-world World.md (legacy fallback preserved)
- Add Map, Pin, Marker to element category enum (now 22)
- ESLint config (eslint-plugin-obsidianmd) scoped to new code
- Modernize build: TS 5.8, esbuild 0.25, stricter tsconfig
- Drop dead code: GraphViewExtensions, dead command imports, handleApiError

Compatibility
- Existing v1 vaults work unchanged. Span-tag format preserved.
- OnlyWorlds/Settings.md still readable; new settings tab takes precedence.
- isDesktopOnly: true. Mobile pending verification.
2026-05-11 12:51:28 +02:00
..
CopyWorldCommand.ts 2.0.0: SDK, auto-sync, native settings, modernized build 2026-05-11 12:51:28 +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.0.0: SDK, auto-sync, native settings, modernized build 2026-05-11 12:51:28 +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
ExportWorldCommand.ts 2.0.0: SDK, auto-sync, native settings, modernized build 2026-05-11 12:51:28 +02:00
ImportWorldCommand.ts export copy save errors, folder rename race fix 2025-07-08 21:34:08 +02:00
PasteWorldCommand.ts export copy save errors, folder rename race fix 2025-07-08 21:34:08 +02:00
RenameWorldCommand.ts obs dev feedback 2024-09-08 22:44:49 +02:00
SaveElementCommand.ts 2.0.0: SDK, auto-sync, native settings, modernized build 2026-05-11 12:51:28 +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