Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 3 commits intomainfrombq/window-open-in
Jan 17, 2025
Merged

Conversation

BrunoQuaresma
Copy link
Collaborator

Copy link
Member

@code-ashercode-asher left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This makes me happy, I like tabs over the slim window

);
return;
}
case"tab":{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should this be thedefault case or are we guaranteedopen_in will always be set and only contain one of these two values?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We ensure it will always be set and contain one of these two values.

defelmnq reacted with thumbs up emoji
if(app.external&&!app.url.startsWith("http")){
// If the protocol is external the browser does not
// redirect the user from the page.
constisBrowserProtocol=app.external&&!app.url.startsWith("http");
Copy link
Member

@code-ashercode-asherJan 16, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Oh wait this is actually the opposite, right?Not a browser protocol (likevscode://). MaybeisExternalProtocol?

Well, I guess the browser does handle it by launching the external app, butisBrowser makes me think ofhttp://

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It made sense to me before you brought this up—now I’m not so sure. MaybeshouldOpenAppExternally?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I like that name

@BrunoQuaresmaBrunoQuaresma changed the titlefeat: open app on tab or slim-windowfeat: open app in tab or slim-windowJan 16, 2025
Copy link
Contributor

@defelmnqdefelmnq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM - Just agree with@code-asher comment on the naming forisBrowserProtocol which seems to be the opposite but as the logic itself seems good i'll not block here.

@BrunoQuaresmaBrunoQuaresma merged commiteda8190 intomainJan 17, 2025
30 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/window-open-in branchJanuary 17, 2025 13:01
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 17, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@code-ashercode-ashercode-asher approved these changes

+1 more reviewer

@defelmnqdefelmnqdefelmnq approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Opening a coder_app in a new browser window is awkward

3 participants

@BrunoQuaresma@defelmnq@code-asher

[8]ページ先頭

©2009-2025 Movatter.jp