Skip to content

feat: open app in tab or slim-window #16152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 17, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve naming
  • Loading branch information
BrunoQuaresma committed Jan 17, 2025
commit 1eae743d76edb66387b74e2c8d0a605deaf603c1
5 changes: 3 additions & 2 deletions site/src/modules/resources/AppLink/AppLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ export const AppLink: FC<AppLinkProps> = ({ app, workspace, agent }) => {

// This is an external URI like "vscode://", so
// it needs to be opened with the browser protocol handler.
const isBrowserProtocol = app.external && !app.url.startsWith("http");
const shouldOpenAppExternally =
app.external && !app.url.startsWith("http");

if (isBrowserProtocol) {
if (shouldOpenAppExternally) {
// This is a magic undocumented string that is replaced
// with a brand-new session token from the backend.
// This only exists for external URLs, and should only
Expand Down
Loading