Merge #432: pop a session, a file preview or a web tab out into a native wrapper's own window

# Conflicts:
#	src/web/public/app.js
#	src/web/public/settings-ui.js
This commit is contained in:
Codeman maintainer committed 2026-10-09 05:55:08 +02:00
commit 48f54ec090
9 files changed
+253 -8

No files matched your search

+3 -1
View File
@@ -514,7 +514,9 @@ Object.assign(CodemanApp.prototype, {
openWebviewExternal(id) {
const webview = this.webviews.get(id || this.activeWebviewId);
if (webview) window.open(webview.url, '_blank', 'noopener');
if (!webview) return;
if (this.openInHostWindow?.(webview.url)) return;
window.open(webview.url, '_blank', 'noopener');
},
closeWebviewTab(id) {