Skip to content
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

Allow ponyfilling window.open #368

Closed
billba opened this issue Mar 10, 2017 · 3 comments · Fixed by #1704
Closed

Allow ponyfilling window.open #368

billba opened this issue Mar 10, 2017 · 3 comments · Fixed by #1704
Assignees
Labels
front-burner p0 Must Fix. Release-blocker size-m 1-3 days
Milestone

Comments

@billba
Copy link
Member

billba commented Mar 10, 2017

Right now we call window.open(url) for card actions. The default in most browsers is to open the url in a new tab, but some might like to open it in a new window, etc.

My proposal is to add urlTarget?:string and urlTitle?:string to ChatProps. If supplied we'd pass them as the second and third parameter to window.open.

@danmarshall
Copy link
Contributor

is it Title or "specs"
https://www.w3schools.com/jsref/met_win_open.asp

@billba
Copy link
Member Author

billba commented Mar 10, 2017

I was going by the TypeScript, but even then I got it wrong:

Window.open(url?: string, target?: string, features?: string, replace?: boolean): Window

compulim pushed a commit to compulim/BotFramework-WebChat that referenced this issue Jul 14, 2018
@compulim compulim added this to the v4.2 milestone Oct 24, 2018
@corinagum corinagum added 4.3 p1 Painful if we don't fix, won't block releasing and removed 4.2 labels Nov 27, 2018
@compulim compulim changed the title Specify URL target Allow ponyfilling window.open Nov 27, 2018
@corinagum corinagum added p0 Must Fix. Release-blocker front-burner and removed p1 Painful if we don't fix, won't block releasing labels Nov 28, 2018
@compulim compulim modified the milestones: v4.2, v4.3 Nov 28, 2018
@compulim compulim added the size-m 1-3 days label Dec 8, 2018
@corinagum
Copy link
Contributor

Related to #1504

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-burner p0 Must Fix. Release-blocker size-m 1-3 days
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

6 participants