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

Hubstrky 446 #5538

Merged
merged 13 commits into from
Jul 19, 2022
Merged

Hubstrky 446 #5538

merged 13 commits into from
Jul 19, 2022

Conversation

nickgrato
Copy link
Contributor

Jira ticket 446

Adding Banner for email sign up for MVP2 launch

const onload = resp => {
// Check Target Status
const status = resp.target.status;
if (status !== 200 || status > 300 || status < 200) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The other comparisons are redundant if you're going to error on !== 200 anyway.

Suggested change
if (status !== 200 || status > 300 || status < 200) {
if (status !== 200) {

src/react-components/banner/Banner.js Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
src/react-components/banner/Banner.js Outdated Show resolved Hide resolved
Copy link
Contributor

@brianpeiris brianpeiris left a comment

Choose a reason for hiding this comment

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

It seems I accidentally chose "Approve" on the last review, when I meant to chose "Comment". Let's see if I can correct that by submitting a new review.

Edit: Apparently not.

</h3>
<p className={styles.message_body}>
<FormattedMessage
defaultMessage="Keep an eye out for product updates and an invite to join us as a tester in August."
Copy link
Contributor

Choose a reason for hiding this comment

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

Talked with @emclaren - can we drop "in August" and just go "Keep an eye out for product updates and an invite to join us as a tester"?

Copy link
Contributor

@brianpeiris brianpeiris left a comment

Choose a reason for hiding this comment

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

LGTM after resolving Liv's comment.

@nickgrato nickgrato merged commit 49a29f4 into master Jul 19, 2022
@nickgrato nickgrato deleted the HUBSTRKY-446 branch July 19, 2022 15:30
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.

3 participants