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

Script dsl lesson rename #34921

Merged
merged 17 commits into from
May 27, 2020
Merged

Script dsl lesson rename #34921

merged 17 commits into from
May 27, 2020

Conversation

uponthesun
Copy link

@uponthesun uponthesun commented May 21, 2020

The net result should be that the script DSL uses "lesson" instead of "stage.

The commits are hopefully separated logically so you can review each part of the change in isolation.

I don't think there should be any deployment issues but it'd be great to have your take on that too.

Testing story

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

Copy link
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

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

This looks awesome! The curriculum team will definitely appreciate a heads up on this.

one minor request is to remove "WIP" from the PR description.

you asked about deployment issues. I think it's generally ok to be a bit more lax about deployment issues which only affect curriculum writers, since they generally have to close out of levelbuilder during the deploy and reload after, so there's less risk of server + client code getting out of sync. plus, giving them a warning that this is happening will help them know that they might need to reload.

@uponthesun uponthesun changed the title WIP Script dsl lesson rename Script dsl lesson rename May 21, 2020
@@ -227,7 +227,7 @@ def populate_cache_and_disconnect_db
scripts, _ = Script.setup([script_file_all_properties])
script = scripts.first

assert_equal 21, script.properties.keys.length
assert_equal 20, script.properties.keys.length
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be changing?

Copy link
Author

Choose a reason for hiding this comment

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

Yea, I removed hideable_stages from the script_dsl parse output in this change also, forgot to call that out.

Copy link
Contributor

Choose a reason for hiding this comment

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

No worries - Was just scanning for anything that jumped out. All looks good then!

@uponthesun uponthesun merged commit aee5cce into staging May 27, 2020
@uponthesun uponthesun deleted the script-dsl-lesson-rename branch May 27, 2020 21:25
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