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

Lesson Plan data migration #2392

Open
adamwoodnz opened this issue Apr 23, 2024 · 4 comments
Open

Lesson Plan data migration #2392

adamwoodnz opened this issue Apr 23, 2024 · 4 comments
Labels
[Component] Learn Plugin Website development issues related to the Learn plugin. [Component] Learn Theme Website development issues related to the Learn theme.

Comments

@adamwoodnz
Copy link
Contributor

adamwoodnz commented Apr 23, 2024

Migrate Lesson Plans to Lessons, with teacher's notes.

Add redirects from old URLs to new URLs (see #2496)

@adamwoodnz adamwoodnz added the [Component] Learn Plugin Website development issues related to the Learn plugin. label Apr 23, 2024
@adamwoodnz adamwoodnz added this to the Learning Pathways launch milestone May 6, 2024
@adamwoodnz adamwoodnz removed this from the Learning Pathways launch milestone Jun 20, 2024
@kathrynwp
Copy link

Breaking this down a little more, here are some things I'm thinking we'll need to do:

Admin/content work

  • Map each Lesson Plan to the most appropriate lesson. For example, a Lesson Plan for teaching how to create a child theme could be mapped to a Lesson on how to create a child theme.
  • Decide how to handle Lesson Plans that correspond best to a course, instead of a lesson.
  • For Lesson Plans that don't have a corresponding Lesson, decide how to proceed. Possible avenues include:
    -- deprecating that Lesson Plan – whether that means unpublishing or redirecting it somehow
    -- letting that Lesson Plan remain available somehow
  • Decide what to do with Lesson Plans that are out of date
  • Decide what we content want to be on the new Teacher Notes page, i.e. is it a simple porting of the Lesson Plan or do we want to make any changes? Can Teacher Notes include more than a lesson plan?

Design work

  • Design Teacher Notes button/CTA
  • Design Teacher Notes page

Dev work

  • Add button/CTA on Lessons to a new Teacher Notes page
  • Migrate Lesson Plans to Teacher Notes
@adamwoodnz
Copy link
Contributor Author

  • Migrate Lesson Plans to Teacher Notes

Feels like we could rename Lesson Plans to Teacher's Notes in the UI rather than migrating content to another post type. We have already done this for a couple of other post types on this site, for example Tutorials used to be called Workshops (that's why the slug for tutorials is wporg_workshop).

@adamwoodnz adamwoodnz added the [Component] Learn Theme Website development issues related to the Learn theme. label Jun 20, 2024
@kathrynwp
Copy link

Feels like we could rename Lesson Plans to Teacher's Notes in the UI rather than migrating content to another post type. We have already done this for a couple of other post types on this site, for example Tutorials used to be called Workshops (that's why the slug for tutorials is wporg_workshop).

This makes a lot of sense to me, and I even had the same thought while writing up the notes here!

@Piyopiyo-Kitsune
Copy link
Collaborator

Just jumping in here for clarity--

The desired end state for “Teacher’s Notes” is a tab or popup sidebar section within a lesson that can host the details of a lesson plan for a facilitator. The information of the lesson plan would be stored in a custom field / block within the lesson editor.

This is in order to reduce the need for us to have to edit duplicative information across different post types, and instead manage all information in one lesson. This also will help us with streamlining translation work.

Feels like we could rename Lesson Plans to Teacher's Notes in the UI rather than migrating content to another post type.

If I’m reading the above correctly, this suggestion just renames the post type, but does not change anything toward the desired end state. I'd anticipate the "Migrate Lesson Plans to Teacher Notes" to potentially be a more manual process unless we can map all fields in the new feature and have a strong migration script.

While we discussed the "Teacher's Notes" functionality within a lesson with the Design team, we do not currently have a design in place for development to be executed on, so we should seek that first (potentially for a phase 2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Learn Plugin Website development issues related to the Learn plugin. [Component] Learn Theme Website development issues related to the Learn theme.
3 participants