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 publishing courses easier for editors #40537

Merged
merged 41 commits into from
May 18, 2021
Merged

Make publishing courses easier for editors #40537

merged 41 commits into from
May 18, 2021

Conversation

dmcavoy
Copy link
Contributor

@dmcavoy dmcavoy commented May 12, 2021

To simplify the way we publish courses/scripts from the edit pages this PR consolidates a bunch of different fields into one dropdown.

The new HelpTip explains more about the different states:

Screen Shot 2021-05-13 at 10 50 14 PM

Behind the scenes, we are still using visible/hidden, is_stable, and pilot_experiment like before. We want to add more states that something can be in so this will allow us to do that without adding more checkboxes which editors have to keep track of.

Course Edit Publishing

Screen Shot 2021-05-13 at 10 44 59 PM

Script Edit Publishing

Unit in Course

Screen Shot 2021-05-13 at 10 45 13 PM

Standalone Script

Screen Shot 2021-05-13 at 10 46 18 PM

Published Script (not marked Standalone)

Screen Shot 2021-05-13 at 10 46 32 PM

Pilot Script

Screen Shot 2021-05-13 at 10 47 30 PM

Links

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

Follows work done in: #40590

Testing story

  • Lots of tests for the new CourseVersionPublishingEditor
  • Updated tests for ScriptEditor

Follow-up work

  • Added a new state for 'In Development'
  • Adding the ability to have a unit in a course be hidden while the rest of the course is visible

@dmcavoy dmcavoy changed the title Edit UI states Make publishing courses easier for editors May 13, 2021
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 like a good approach! thanks for checking in. feel free to resolve comments once you've read them.

dashboard/app/controllers/courses_controller.rb Outdated Show resolved Hide resolved
apps/src/lib/levelbuilder/script-editor/ScriptEditor.jsx Outdated Show resolved Hide resolved
dashboard/app/controllers/courses_controller.rb Outdated Show resolved Hide resolved
@dmcavoy dmcavoy changed the base branch from staging to move-publishing-units-in-course May 14, 2021 02:29
@dmcavoy dmcavoy changed the base branch from move-publishing-units-in-course to staging May 14, 2021 02:32
@dmcavoy dmcavoy requested a review from a team May 14, 2021 12:27
Base automatically changed from move-publishing-units-in-course to staging May 14, 2021 18:40
@dmcavoy
Copy link
Contributor Author

dmcavoy commented May 14, 2021

Hold on review. Working on updating the course edit page to use the save bar #40607

@dmcavoy dmcavoy changed the base branch from staging to course-save-update May 15, 2021 19:49
@dmcavoy dmcavoy requested a review from a team May 17, 2021 14:27
Copy link
Contributor

@bethanyaconnor bethanyaconnor left a comment

Choose a reason for hiding this comment

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

I know this PR is time sensitive so I don't want to hold it up. LGTM after addressing the issue with the pilot experiment input.

@dmcavoy dmcavoy changed the base branch from course-save-update to staging May 18, 2021 01:02
@dmcavoy dmcavoy merged commit dd97a32 into staging May 18, 2021
@dmcavoy dmcavoy deleted the edit-ui-states branch May 18, 2021 13:50
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