GithubHelp home page GithubHelp logo

Comments (14)

CdrMarks avatar CdrMarks commented on June 29, 2024 1

I'd like to work up a PR to initially support the series of statuses a Workshop could have. I plan to port over some code from the the WCPT plugin. Should the ported code be in /wp-content/plugins/wporg-learn/wporg-learn.php or another file?

from learn.

coreymckrill avatar coreymckrill commented on June 29, 2024 1

🤔 How about a new file at plugins/wporg-learn/inc/post-statuses.php?

from learn.

hlashbrooke avatar hlashbrooke commented on June 29, 2024 1

We have experience level as a meta field I think? Either way though, that info is useful to capture from a content review perspective, so we need the questions in there.

from learn.

hlashbrooke avatar hlashbrooke commented on June 29, 2024 1

This looks great and works brilliantly!

A couple of changes that would be good:

  • The text area boxes are quite small - could we increase the min-height of those a little to accommodate at least 4 lines each?
  • You can actually remove the question about timezones from this form - it isn't relevant or useful here (I know it's in the current form, but we actually don't need it for the workshop presenters)

And that's it - this is really great work :)

from learn.

hlashbrooke avatar hlashbrooke commented on June 29, 2024

This follows the steps outlined in #14.

I quite like the idea of a series of custom statuses here - it would really help with the flow of reviewing and management. If that won't be possible to implement for the initial launch, we could go with the standard post statuses at first and then implement custom statuses later on.

from learn.

CdrMarks avatar CdrMarks commented on June 29, 2024

In case it's useful, I duplicated the current form which can be found as a draft at https://learn.wordpress.org/wp-admin/post.php?post=289&action=edit.

I did see that WordCamp and Meetup applications are using an HTML form invoked via shortcode. I had seen @coreymckrill suggest WordCamp Forms to Drafts plugin code. I believe this draft will head us down the right path for a new application form to create a Workshop post type.

from learn.

CdrMarks avatar CdrMarks commented on June 29, 2024

This is more involved than I thought. I'm unassigning this so that I don't delay progress if someone else has the time.

from learn.

hlashbrooke avatar hlashbrooke commented on June 29, 2024

I'm moving some of the content over here from #14 so we can use this as the issue for this feature going forward.

The workshop submission flow should work like this:

Step 1: Presenter submits their workshop details in a custom form. This saves their details as a new post in the workshop CPT, but in a custom Needs vetting status.

Step 2: Reviewers are given a user role that permits them to edit posts in the workshop CPT (editor? A custom user role?). They can log in to review the workshop and leave notes on it as needed.

Step 3: For a workshop that is approved, the reviewer would get any additional info from the presenter, and also inform them that they should go ahead and record the workshop.

Step 4: The recorded workshop, along with any other missing info, is added to the post and it is scheduled to be published.

from learn.

StevenDufresne avatar StevenDufresne commented on June 29, 2024

This may be a naive question, and not code related, but why would we ever not want a video to be created?
More content = 👍

Is funding provided when the video is approved?

from learn.

hlashbrooke avatar hlashbrooke commented on June 29, 2024

Funding is not provided - people can record on their computers at home.

Videos may be declined if the topic they applied for already exists, or if it's just not something we want on the site (like maybe a company promotional thing, or something that just doesn't fit).

from learn.

coreymckrill avatar coreymckrill commented on June 29, 2024

We just got Edit Flow installed on the Learn site today. I wonder if the custom status feature in that could work for this situation? Obviously we'd still need to build a submission form, but this might take care of the workflow once a workshop application is submitted.

from learn.

hlashbrooke avatar hlashbrooke commented on June 29, 2024

If Edit Flow allows the custom statuses, then all we need is for the current application form (that uses Jetpack forms) to post directly to the workshop CPT into a 'needs vetting' status. That sounds like an excellent solution to me.

from learn.

coreymckrill avatar coreymckrill commented on June 29, 2024

@hlashbrooke The current application form asks about the intended audience and experience level for the proposed workshop, but we aren't using those related taxonomies on the workshop post type (only on lesson plans). Do we still need those questions on the application form?

from learn.

coreymckrill avatar coreymckrill commented on June 29, 2024

@hlashbrooke @CdrMarks In #129 I built out a custom form for the Workshop Presenter Application. On a successful submission it creates a new workshop post in the "Needs Vetting" status. I set up all the other statuses listed in this issue using the Custom Statuses module in Edit Flow.

I created a private test page with the new form that I'd love for you to try out. Especially looking for feedback about the wording of the questions and anything that might be missing, either from the form or from the generated workshop post.
https://learn.wordpress.org/test-workshop-presenter-application/

You can give feedback here, and I'll create a new pull request for any necessary adjustments.

from learn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.