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

Block Locking - Lesson Plan #739

Closed
38 tasks
courtneyr-dev opened this issue Apr 13, 2022 · 27 comments
Closed
38 tasks

Block Locking - Lesson Plan #739

courtneyr-dev opened this issue Apr 13, 2022 · 27 comments
Assignees
Labels
Priority - High High priority issue.
Milestone

Comments

@courtneyr-dev
Copy link
Collaborator

courtneyr-dev commented Apr 13, 2022

Topic Description

What is block locking? What parts of the site editor have locks? (list view, templates, reusable blocks, patterns??)

Related Resources

Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.

Guidelines

Review the team guidelines

Development Checklist:

  • Gather links to Support and Developer Docs
  • Consider any MarComms (marketing communications) resources and link to those
  • Review any related material on Learn
  • Define several SEO keywords to use in the article and where they should be prominently used
  • Description and Objectives finalized
  • Create an outline of the example lesson walk-through
  • Draft lesson plan
  • Copy edit
  • Style guide review
  • Instructional Review
  • Final review
  • Publish
  • Announce to the Training team
  • Announce to lesson plan creator
  • Announce to marketing
  • Gather feedback from lesson plan users about the quality

Repo Structure and Lesson Plan Template

Please remove all blockquote comments such as this before publishing.

Description

A short paragraph explaining what is covered in the lesson plan. This should be text that can be copied and used in a meetup or workshop description.

Objectives

After completing this lesson, participants will be able to:

  • Objective 1
  • Objective 2

It’s required that you include a bulleted list of objective(s) for each lesson plan. Objectives should be worded as actions that the participant can do once they’ve finished. See Bloom's Taxonomy of Action Verbs (PDF) as a reference. Avoid using words like "know," "understand," "be introduced to," etc. There should be one assement item for each objective (see below).

Target Audience

Who is this lesson intended for? What interests/skills would they bring? Put an "x" in the brackets for all that apply.

  • Users / Content Writers
  • Designers
  • Developers
  • Speakers
  • Organizers
  • Kids

Experience Level

How much experience would a participant need to get the most from this lesson? Put an "x" in the brackets for all that apply.

  • Beginner
  • Intermediate
  • Advanced

Type of Instruction

Which strategies will be used for this lesson plan? Put an "x" in the brackets for all that apply.

  • Demonstration
  • Discussion
  • Exercises
  • Feedback
  • Lecture (Presentation)
  • Slides
  • Show & Tell
  • Tutorial

Time Estimate (Duration)

How long will it take to present this lesson? Put an "x" in the brackets for the one that applies.

  • 1 hour or less
  • 2-4 hours (half-day)
  • 5-8 hours (full-day)
  • 2 days
  • 3 days or more

Prerequisite Skills

Participants will get the most from this lesson if they have familiarity with:

  • Skill 1
  • Skill 2

For example:

  • Experience with HTML and CSS
  • Completed the Basic WordPress Concepts lesson

Readiness Questions

  • Question 1
  • Question 2

A list of questions for participants to see if they have the background and skills necessary to learn and understand the lesson.

For example:

  • Do you want to makes changes to your theme yourself?
  • Do you know how to write CSS?

Slides

Change the /repo-name/ in the link to match the URL name of this repo.

  • Slides (files included in this repo)

Materials Needed

  • Item 1
  • Item 2

A list of files, resources, equipment, or other materials the presenter will need for the lesson.

For example:

  • A local install of WordPress
  • The files for the TwentySixteen theme

Notes for the Presenter

  • Note 1
  • Note 2

A list of any handy tips or other information for the presenter.

For example:

  • Participants may need to download the TwentySixteen theme before beginning
  • What to do if there’s no projector or internet available
  • What to do if a participant doesn’t have the necessary set up
  • How to handle different opinions about the topic

Lesson Outline

  • First do this
  • Then move on to this
  • Finish with this

The plan for the lesson. Outline form works well.

For example:

  • Talk about what a theme is
  • Demonstrate how to install and activate a theme
  • Practice exercises to have participants find and install a theme on their own site

Exercises

Exercise name

Short description of what the exercise does and what skills or knowledge it reinforces.

  • Short point or step of the exercise
  • And another one

These are short or specific activities that help participants practice certain components of the lesson. They should not be fully scripted exercises, but rather something that participants could do on their own. For example, you can create an exercise based on one step of the Example Lesson.

Assessment

There should be one assement item (or more) for each objective listed above. Each assessment item should support an objective; there should be none that don't.

Write out the question.

  1. Option
  2. Option
  3. Option
  4. Option

Answer: 3. Correct answer

A few questions to ask participants to evaluate their retention of the material presented. They should be a measure of whether the objectives were reached. Consider having a question for each objective.

Additional Resources

  • Resource 1
  • Resource 2

An optional section which can contain a list of resources that the presenter can use to get more information on the topic.

For example:

  • Link to information on the Codex
  • Theme Review Team's Handbook

Example Lesson

An example of how the lesson plan can be implemented. Written in script form as one possible way an presenter might use this lesson plan at an event, with screenshots and instructions if necessary.

Section Heading for Example Lesson

You will likely need to break the Example Lesson down into multiple sections.

Lesson Wrap Up

Follow with the Exercises and Assessment outlined above.

@courtneyr-dev courtneyr-dev added [Content Type] Lesson Plan Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. Priority - High High priority issue. and removed Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. labels Apr 13, 2022
@caraya
Copy link

caraya commented Apr 26, 2022

I want to take a shot at writing the lesson plan

@caraya
Copy link

caraya commented May 12, 2022

Ready for Review

@abhansnuk
Copy link
Collaborator

Under things like 'Experience level', it says put an 'x' in the boxes. In GitHub and on Learn WP, it is a tick. So we will need to change this on this and other lesson plans.

@azhiya
Copy link
Collaborator

azhiya commented May 18, 2022

Hi @caraya do you have the link to the lesson plan?

@caraya
Copy link

caraya commented May 18, 2022

@azhiya

https://learn.wordpress.org/wp-admin/post.php?post=18084&action=edit

@azhiya
Copy link
Collaborator

azhiya commented May 19, 2022

Looking good @caraya. Thank you so much for adding alt text to the images.
You might want to highlight the menu items like this for example: https://learn.wordpress.org/lesson-plan/templates/ in the screenshots for the:

  • Group block under preparing content
  • Lock option for the first screenshot under Locking movement
  • Lock and Drag handles in Testing movement lock

@caraya
Copy link

caraya commented May 19, 2022

Question, do we add the images to the media library in the learn.wordpress repo? Right now they are linked to an external site

@azhiya
Copy link
Collaborator

azhiya commented May 20, 2022

Please add it to the media library and set to full size for optimal display.

@caraya
Copy link

caraya commented May 20, 2022

I updated the images as suggested

@abhansnuk
Copy link
Collaborator

It is looking good.

Under presenters notes, suggest a slight tweak of the first two bullet points:

  • from "While we can lock specific blocks in the theme, it should be possible for other developers working on the same theme to undo the locks" to "We can lock specific blocks in the theme, it should be possible for other developers working on the same theme to undo these locks."

  • from "We ask for a specific theme so we can all be on the same page rather than having to figure out what each theme is doing" to "In this lesson plan, we ask for a specific theme so that we can all work on the same theme for ease."

  • There is a dev note on block locking, can this be linked from the lesson plan? Apologies if it is already and I missed it.

@caraya
Copy link

caraya commented May 23, 2022

@abhansnuk

I incorporated the requested changes.

@webtechpooja
Copy link
Collaborator

Hi @caraya,

It looks excellent and very well explained. However, I think we can remove the Q&A point from the lesson outline, as you are covering this under assessment. Is there anything else regarding the Q&A section that I am missing?

The lesson outline section is not clear to me. Few points are short written and not self-explanatory. I think It needs more explanation to avoid confusion.

@Piyopiyo-Kitsune
Copy link
Collaborator

I see @caraya is noted as the assignee-- will they be working on these revisions or do we require re-assigment here?

@caraya
Copy link

caraya commented Nov 15, 2022

I see @caraya is noted as the assignee-- will they be working on these revisions or do we require re-assigment here?

I'll work on this after I get done with theme.json

@caraya
Copy link

caraya commented Dec 21, 2022

@courtneyr-dev

I don't have access to the extended draft plugin for this post. Should I revert it back to draft? or post the update here as an attachment?

@caraya
Copy link

caraya commented Dec 23, 2022

I've copied the text of the updated content and attached it to this comment for review. Don't want to make changes to the published content until the updates have been approved.

Block Locking Updates WordPress 6.1

The following features related to block locking were introduced in WordPress 6.1.

Block Locking UI Changes for group block

Locking all children of a group element means that the UI for locking group blocks changed slightly to accommodate the new functionality in blocks that need it.

When locking content in a group or other container, you now have the option of applying the same settings to all the children blocks inside the container

Block Locking UI

Block locking UI showing the toggle to apply to all blocks inside the container

Locking content inside container block

Block Locking UI

Block locking UI showing the toggle to apply to all blocks inside the container. The toggle button to apply changes to all blocks is highlighted in red

Because now we can choose whether to apply the locks to a group's child elements, there are additional considerations that we need to keep in mind

Where you make the changes matter

If you make the changes to an individual block then the blocks apply only to that block, regardless of the parent container.

Block locking settings for an individual block. These settings will only apply to a single paragraph.

Likewise, if you lock the containing group block and apply the lock to all blocks inside, the same settings will be applied to all blocks.

Block Locking UI

Block locking UI showing the toggle to apply to all blocks inside the container

To change the behavior of individual items inside a group, you need to work on the block you want to change individually either in the list view or in the editor.

Block Lock Status in List View

You can see whether a block is locked in the list view. Locked blocks have a padlock icon to the right.

List View showing an example of a group block and its children being locked

However, we only know that the block is locked. We can't tell if the block was part of a group block that was locked together with the parent or if it was locked independently.

Benefits for theme developers

The ability to lock blocks from being moved or deleted presents an interesting possibility.

Locking blocks means that people with fewer permissions cannot change or remove the locks but they can edit the content of the blocks but not move or delete them.

There is also an option for content-only editing that would combine locking the status of child blocks with removing styling options. Rich Tabor documents it in How to simplify WordPress patterns with content-only block editing but it is offered as additional material for your review since it's beyond the scope of this lesson plan.

block-locking-updates-wordpress-61.md

@kaitohm
Copy link
Contributor

kaitohm commented Jun 27, 2023

@caraya I've reviewed these changes, and they look good to me. Feel free to publish the changes and close this issue 👍

@kaitohm kaitohm moved this from 🔎 Review in Progress to ✅ Preparing to Publish in LearnWP Content - Development Dec 5, 2023
@kaitohm kaitohm removed Ready to publish hacktoberfest To mark issues for the Hacktoberfest event each October. labels Dec 5, 2023
@github-project-automation github-project-automation bot moved this from ✅ Preparing to Publish to 📜 Published or Closed in LearnWP Content - Development Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority - High High priority issue.
Projects
Status: 📜 Published or Closed
Development

No branches or pull requests

8 participants