Skip to content

playground: allow changing embed url#768

Draft
jtbandes wants to merge 1 commit intomainfrom
jacob/playground-embed-url
Draft

playground: allow changing embed url#768
jtbandes wants to merge 1 commit intomainfrom
jacob/playground-embed-url

Conversation

@jtbandes
Copy link
Member

Changelog

Docs

Description

BeforeAfter

embedURL = new URL(embedStr);
}
} catch {
// ignore
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not throw here?

Copy link
Member Author

Choose a reason for hiding this comment

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

IMO if one of the url params is invalid, I'm not sure we should completely ignore all the other ones

Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't we at least show an error toast or something if the embed URL is an invalid URL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants