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

Hide a course composed just of quizzes #2823

Closed
kathrynwp opened this issue Aug 5, 2024 · 13 comments · Fixed by #2846
Closed

Hide a course composed just of quizzes #2823

kathrynwp opened this issue Aug 5, 2024 · 13 comments · Fixed by #2846
Assignees
Labels
[Component] Content Website development issues related to the content on Learn.

Comments

@kathrynwp
Copy link
Collaborator

Is there any way to hide this "utility" course from archives and searches?

https://learn.wordpress.org/course/tutorial-quizzes/

As it says on the page:

This course exists to contain the quizzes for all standalone tutorials that do not form part of a course.

It looks strange to have it visible, since it is does not make sense for anyone to sign up for this – it's not a "real" course with modules.

Tutorial_Quizzes___Learn_WordPress

I don't know if this course will be needed once Tutorials are converted to Lessons.

@adamwoodnz
Copy link
Contributor

I don't know if this course will be needed once Tutorials are converted to Lessons.

IMO this is the best path forward; all these tutorials that still have value should be migrated to lessons and can then have the respective quiz added directly.

If this will take time I think the fix for #2735 will at least make it possible to hide the lessons in the meantime. That fix is high priority and will be addressed asap.

@adamwoodnz
Copy link
Contributor

adamwoodnz commented Aug 6, 2024

Actually quizzes for standalone lessons aren't supported, so there would still need to be a parent course. Hiding the lessons might be the only path forward.

@adamwoodnz
Copy link
Contributor

Ultimately I think it would be good to avoid writing code to filter courses like this (only lessons having only a quiz). It feels like we should be able to find a better content based solution.

@westnz I remember you previously mentioned that you didn't think there would be a need for quizzes for standalone lessons, do you still hold that view?

@jonathanbossenger any thoughts?

@westnz
Copy link
Collaborator

westnz commented Aug 6, 2024

@westnz I remember you previously mentioned that you didn't think there would be a need for quizzes for standalone lessons, do you still hold that view?

To clarify, I said we won't need quizzes for standalone lessons. I believe Jonathan confirmed this as well. 😃

@adamwoodnz
Copy link
Contributor

@westnz I remember you previously mentioned that you didn't think there would be a need for quizzes for standalone lessons, do you still hold that view?

To clarify, I said we won't need quizzes for standalone lessons. I believe Jonathan confirmed this as well. 😃

What I'm getting at is that these tutorials are planned to become standalone lessons, and they have quizzes. If there is no need for them to have the quizzes can we delete this course, lessons and quizzes then? And remove the links from the tutorials if they exist, prior to migration.

@westnz
Copy link
Collaborator

westnz commented Aug 6, 2024

Now I am with you. I thought this might've affected learning pathway lessons as well, but now I realize this only relates to tutorials.

I am happy to delete the course, and for these standalone tutorials that will become lessons, not to have quizzes.

Some of these tutorials might be on the deprecation list as they have been updated.

@adamwoodnz adamwoodnz moved this from 🛑 Pending discussion to 📋 To do in WordPress.org Aug 6, 2024
@adamwoodnz
Copy link
Contributor

I am happy to delete the course, and for these standalone tutorials that will become lessons, not to have quizzes.

Great, I will leave it to the content team to resolve this then 🙂

@adamwoodnz adamwoodnz added [Content] Feedback Feedback provided about content on Learn. [Component] Content Website development issues related to the content on Learn. and removed [Type] Enhancement New feature request for the Learn website. [Content] Feedback Feedback provided about content on Learn. labels Aug 6, 2024
@kathrynwp
Copy link
Collaborator Author

@adamwoodnz @westnz Just wanted to confirm:

I am happy to delete the course, and for these standalone tutorials that will become lessons, not to have quizzes.

This can only happen once tutorials have been migrated to lessons, correct? TY!

@adamwoodnz
Copy link
Contributor

@adamwoodnz @westnz Just wanted to confirm:

I am happy to delete the course, and for these standalone tutorials that will become lessons, not to have quizzes.

This can only happen once tutorials have been migrated to lessons, correct? TY!

Not necessarily; we could remove the links to the quizzes from the existing tutorials, and then trash the quizzes, lessons and course.

@kathrynwp
Copy link
Collaborator Author

Alright – thanks, @adamwoodnz !

@westnz I'll leave this in your hands but please let me know if I can do anything to help, happy to dive in.

@adamwoodnz adamwoodnz assigned westnz and unassigned kathrynwp Aug 18, 2024
@westnz
Copy link
Collaborator

westnz commented Aug 18, 2024

Hey @adamwoodnz

Not necessarily; we could remove the links to the quizzes from the existing tutorials, and then trash the quizzes, lessons and course.

Do I need to open each tutorial, remove the quiz link, and then delete the quizzes one by one before I can delete the course?

Is there a simpler way?

@adamwoodnz
Copy link
Contributor

adamwoodnz commented Aug 19, 2024

Do I need to open each tutorial, remove the quiz link

Unfortunately I don't think there's a quicker way to remove these links

and then delete the quizzes one by one before I can delete the course?

You could delete the course first, but then you'll lose track of what Lessons are linked I imagine. At the moment when editing you can see the list of Lessons at the bottom:

Screenshot 2024-08-19 at 12 03 20 PM

Any lessons we miss trashing will be left orphaned, and still show up in the archives. I've tried but can't find a way to get the list of lessons available for bulk editing.

@westnz
Copy link
Collaborator

westnz commented Aug 19, 2024

Done

@adamwoodnz, as discussed, we can close this issue once you have taken care of the built-in functionality on tutorials.
Screenshot 2024-08-19 at 3 03 23 PM

@adamwoodnz adamwoodnz assigned adamwoodnz and unassigned westnz Aug 19, 2024
@adamwoodnz adamwoodnz moved this from 📋 To do to 🏗 In progress in WordPress.org Aug 19, 2024
adamwoodnz added a commit that referenced this issue Aug 19, 2024
This functionality exists to link a tutorial with a lesson quiz, and is no longer needed with the new site architecture.

Closes #2823
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in WordPress.org Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Content Website development issues related to the content on Learn.
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants