-
Notifications
You must be signed in to change notification settings - Fork 481
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
Use code studio lesson plans #42496
Use code studio lesson plans #42496
Conversation
I know this is already merged but I'm wondering about the wording here. "Use Code Studio Lesson Plans" feels like its should be the default. It seems like you should only have to check something for not using Code Studio Lesson Plans. I'm also wondering if we want to give editors the ability to pick not using code studio lesson plans for future courses. It seems like a message that says "This course uses older lesson plan formats. If you would like to update this please talk to an engineer." Would be safer for us. |
Hey Dani, sorry for jumping the gun on this. I think the wording here is important and I'd be happy to make a change to it. Do you have any opinions for what the wording should be to replace "use code studio lesson plans"? do you think we should also change the flag name we use under the covers? ideas:
Good point about new units. at the very least, new units should have code studio lesson plans enabled, which I forgot to account for in this chain of PRs. to your point, it would be ideal if we didn't even allow new courses to use curriculum builder lesson plans. the simplest idea might be to have the checkbox be disabled when "use code studio lesson plans" are selected, and warn the user before they select "use code studio lesson plans" that once they save it, they won't be able to undo it without the help of an engineer. |
another idea:
|
I like use_legacy_lesson_plans because that captures both CB lesson plans and google doc lesson plans. With the checkbox on the edit page: |
great, let's do here is another idea -- when |
i like the button idea that feels safe enough and gives editors the power to move to the code studio lesson plans on their own |
addressed in #42534 |
starts https://codedotorg.atlassian.net/browse/PLAT-856 . the first step is to add a flag which when unchecked indicates that, although the unit is migrated, it should still use lesson plans on CB. The HelpTip text in the PR diff also adds a bit of detail about what's going on.
screenshots
unmigrated unit, checkbox disabled
migrated unit, unchecked
migrated unit, checked
Testing story
manually verified that the setting persists after checking/unchecking, saving, and reloading the unit edit page. also verified the setting appears in the script_json.
Deployment strategy
once this change reaches levelbuilder, I'll use the rails console on the levelbuilder machine to set this flag for all units which are currently migrated:
that'll get us into a state where we can safely start to show code studio lesson plans only when use_code_studio_lesson_plans is true.