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

Update stageLockedRedux to lessonLockedRedux #40642

Merged
merged 9 commits into from May 21, 2021
Merged

Conversation

dmcavoy
Copy link
Contributor

@dmcavoy dmcavoy commented May 18, 2021

Updates stageLockedRedux to lessonLockedRedux. Updates things in lessonLockedRedux to not use stage either.

https://codedotorg.atlassian.net/browse/PLAT-981

@dmcavoy dmcavoy requested review from a team May 18, 2021 19:39
setSectionLockStatus
} from '@cdo/apps/code-studio/stageLockRedux';
} from '@cdo/apps/code-studio/lessonLockRedux';

// some arbitrary data in a form we expect to receive from the server
// We get this from our call to /api/lock_status
const [section1Id, section2Id] = Object.keys(fakeSectionData);
const stage1Id = Object.keys(fakeSectionData[section1Id].stages)[0];
Copy link
Contributor

Choose a reason for hiding this comment

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

(minor) Maybe rename stage1Id too?

@dmcavoy dmcavoy merged commit 9b275ef into staging May 21, 2021
@dmcavoy dmcavoy deleted the stage-lock-redux branch May 21, 2021 16:42
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