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

Ln/twitch embed #468

Merged
merged 10 commits into from
Oct 11, 2021
Merged

Ln/twitch embed #468

merged 10 commits into from
Oct 11, 2021

Conversation

lazynina
Copy link
Member

No description provided.

@lazynina lazynina marked this pull request as ready for review September 29, 2021 16:07
@lazynina lazynina requested a review from a team as a code owner September 29, 2021 16:07
expect(EmbedUrlParserService.isValidTwitchEmbedURL(res)).toBeFalsy();
});
}
});
Copy link
Contributor

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;
}
Copy link
Contributor

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!

@redpartyhat
Copy link
Contributor

In the create post component, it's not clear that you can add Twitch URLs. We're running out of space in the placeholder text but it would be nice to communicate this somehow:
image

@lazynina
Copy link
Member Author

lazynina commented Oct 10, 2021

In the create post component, it's not clear that you can add Twitch URLs. We're running out of space in the placeholder text but it would be nice to communicate this somehow: image

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

image

@lazynina lazynina merged commit 56136b3 into main Oct 11, 2021
@lazynina lazynina deleted the ln/twitch-embed branch October 11, 2021 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants