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

make new scripts not visible in teacher dashboard by default #20381

Merged
merged 1 commit into from Feb 2, 2018

Conversation

davidsbailey
Copy link
Member

@davidsbailey davidsbailey commented Feb 2, 2018

Today, when a new script is created, the "Visible in Teacher Dashboard" setting defaults to true, which is bad because it leads to new scripts unintentionally showing up in the section selector dropdowns before they are ready to ship. This happens because stageData is empty by default, implying hidden is false, which implies "Visible in Teacher Dashboard" is true.

before, at https://levelbuilder-studio.code.org/s/new (safe to click as long as you don't save your changes):
screen shot 2018-02-02 at 10 08 27 am

after:
screen shot 2018-02-02 at 10 10 50 am

Copy link
Contributor

@Erin007 Erin007 left a comment

Choose a reason for hiding this comment

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

Excellent sleuthing! Thanks for fixing.

@davidsbailey davidsbailey merged commit a7645f7 into staging Feb 2, 2018
@davidsbailey davidsbailey deleted the hide-new-scripts branch February 2, 2018 19:24
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

2 participants