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

Hide beta section types #16409

Merged
merged 1 commit into from Jul 13, 2017
Merged

Hide beta section types #16409

merged 1 commit into from Jul 13, 2017

Conversation

joshlory
Copy link
Contributor

I just realized we're about to ship google_classroom as an option in the "New Section" row, even though the functionality is behind a flag:

image

Don't show google_classroom (and in the future clever) until they are launched.

Don't show `google_classroom` (and in the future `clever`) until they are launched.
@@ -274,7 +274,7 @@ class SectionRow extends Component {
defaultValue={section.loginType}
ref={element => this.loginType = element}
>
{validLoginTypes.map((type, index) => (
{['word', 'picture', 'email'].map((type, index) => (
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems fine as a quick fix. Can we also include a TODO (ideally one mentioning the experiment name, so that when making the experiment permanent it's easy to find/see this).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can I add this in JSX as a /* TODO (josh) */ comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

FWIW, this flow will change with Brad's work.

Copy link
Contributor

Choose a reason for hiding this comment

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

You can add it that way to JSX as long as the /* */ are inside of brace.s

@joshlory joshlory merged commit 5cd500b into test Jul 13, 2017
@joshlory joshlory deleted the hide-beta-section-types branch July 13, 2017 23:02
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.

None yet

3 participants