diff --git a/manifest.json b/manifest.json index 8d35cd5..7d1f5c3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-livesync", "name": "Self-hosted LiveSync", - "version": "0.25.70-patch1", + "version": "0.25.70-patch2", "minAppVersion": "1.7.2", "description": "Community implementation of self-hosted livesync. Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "author": "vorotamoroz", diff --git a/package-lock.json b/package-lock.json index 901d523..7389f36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-livesync", - "version": "0.25.70-patch1", + "version": "0.25.70-patch2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-livesync", - "version": "0.25.70-patch1", + "version": "0.25.70-patch2", "license": "MIT", "dependencies": { "@aws-sdk/client-s3": "^3.808.0", diff --git a/package.json b/package.json index d3677ae..8ba492f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-livesync", - "version": "0.25.70-patch1", + "version": "0.25.70-patch2", "description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "main": "main.js", "type": "module", diff --git a/src/modules/features/ModuleLog.ts b/src/modules/features/ModuleLog.ts index 81118d2..062549a 100644 --- a/src/modules/features/ModuleLog.ts +++ b/src/modules/features/ModuleLog.ts @@ -262,7 +262,7 @@ export class ModuleLog extends AbstractObsidianModule { this.statusDiv.remove(); // this.statusDiv.pa(); const container = mdv.view.containerEl; - container.insertBefore(this.statusDiv, container.lastChild); + container.appendChild(this.statusDiv); } } @@ -466,12 +466,14 @@ ${stringifyYaml(info)} this.observeForLogs(); - this.statusDiv = this.app.workspace.containerEl.createDiv({ cls: "livesync-status" }); - this.statusLine = this.statusDiv.createDiv({ cls: "livesync-status-statusline" }); - this.messageArea = this.statusDiv.createDiv({ cls: "livesync-status-messagearea" }); - this.logMessage = this.statusDiv.createDiv({ cls: "livesync-status-logmessage" }); - this.logHistory = this.statusDiv.createDiv({ cls: "livesync-status-loghistory" }); - this.statusDiv.style.display = this.settings?.showStatusOnEditor ? "" : "none"; + if (this.settings.showStatusOnEditor) { + this.statusDiv = this.app.workspace.containerEl.createDiv({ cls: "livesync-status" }); + this.statusLine = this.statusDiv.createDiv({ cls: "livesync-status-statusline" }); + this.messageArea = this.statusDiv.createDiv({ cls: "livesync-status-messagearea" }); + this.logMessage = this.statusDiv.createDiv({ cls: "livesync-status-logmessage" }); + this.logHistory = this.statusDiv.createDiv({ cls: "livesync-status-loghistory" }); + this.statusDiv.style.display = this.settings?.showStatusOnEditor ? "" : "none"; + } eventHub.onEvent(EVENT_LAYOUT_READY, () => this.adjustStatusDivPosition()); if (this.settings?.showStatusOnStatusbar) { this.statusBar = this.services.API.addStatusBarItem(); diff --git a/updates.md b/updates.md index 8ef3b17..dae84ba 100644 --- a/updates.md +++ b/updates.md @@ -12,6 +12,13 @@ The head note of 0.25 is now in [updates_old.md](https://github.com/vrtmrz/obsid - The initial synchronisation process has been simplified, making it easier to synchronise files with the remote server - We can select the remote database to fetch from during the initialisation, when there are multiple remote databases configured (e.g. multiple CouchDBs or S3 remotes) +## 0.25.70-patch2 + +1st June, 2026 + +### Fixed +- No longer does the status element break other plugins' interaction (#930). + ## 0.25.70-patch1 1st June, 2026