Show the engine setup until the browser engine is installed
A browser tab shows the download size, Download the engine, Install from file, and Open in default browser until the engine can start. It shows progress, Cancel, the cause of a failure, and Retry, and then opens the page. Settings -> Browser shows the engine state and Remove engine. Web links open in the system browser until the engine is installed. Open link in app browser always opens a browser tab.
This commit is contained in:
@@ -1376,7 +1376,8 @@
|
||||
onRenameTitle={renameNoteTitle}
|
||||
tableActions={(pane) => ({ onSearch: searchSelection, onExtract: (markdown, label, valid) => extractSelection(markdown, label, valid, pane.buffer) })}
|
||||
linkActions={(pane) => ({
|
||||
browser: browserContribution ? async target => { if (!await browserContribution?.open(target)) throw new Error($t("Could not open the app browser.")); } : undefined,
|
||||
// "Open link in app browser" always opens a browser tab. Without an engine, the tab shows the engine setup.
|
||||
browser: browserContribution?.newTab ? async target => { await browserContribution?.newTab?.(target); } : undefined,
|
||||
defaultBrowser: target => openUrl(target),
|
||||
workspaceItems: link => workspaceLinkItems(link, pane.buffer?.relPath ?? "", pane.id),
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user