-
Notifications
You must be signed in to change notification settings - Fork 136
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
Ln/twitch embed #468
Ln/twitch embed #468
Conversation
…dd tests, close embed url input after submitting post
expect(EmbedUrlParserService.isValidTwitchEmbedURL(res)).toBeFalsy(); | ||
}); | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this...a...frontend test??? 😱
} | ||
} | ||
return false; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one hell of a regex... seems legit as far as I can tell though, given all the character sets are restricted to basic characters. Nice work!
I was thinking icons would be a good way to communicate for which services we support embeds. However, each service has its own set of design guidelines to which we'll need to adhere and I don't want to block enabling Twitch embeds to get that all squared away. For example, some design guidelines state that a different logo must be used if on a black background vs. white, so we'll have to adjust which icon we use depending on the active theme. For now, I'll decrease the font-size and add Twitch to the end. That work for you? @redpartyhat |
No description provided.