openedx / platform-roadmap

Tracking the maintenance, enhancement, and advancement of the Open edX project.
11 stars 1 forks source link

Hooks: Events and Filters (Phase 3) #9

Open e0d opened 2 years ago

e0d commented 2 years ago

There is still some hooks related work in-flight right now, so the timeline to start really hammering out the next phase of this work would be around mid-January. THIS IS VERY MUCH A DRAFT ITEM AT THIS POINT.

That next phase should include at least:

Other items that could go into this phase, but may also be pushed off if we're not ready:

ormsbee commented 2 years ago

Assigning to myself for better definition.

sarina commented 2 years ago

@mariajgrmaldi said in the CC meetup on Tuesday that things around events & filters felt pretty finalized.

Maria, where are you at with the project? What of the things listed in this ticket are still incomplete, or require tCRIL to be involved?

ormsbee commented 2 years ago

@mariajgrmaldi, @felipemontoya: I'm particularly interested in your thoughts around improving documentation for events and filters, as they're going to be two of the primary extension mechanisms we point people to.

felipemontoya commented 2 years ago

I think that what we have lately refer to as finalized is a state where events and filters where in master, backported to nutmeg (some part that we did not manage to deliver before the cut) and overall usable. That was the initial scope that we set as our goal. Also since this was initially partially funded by a blended project we needed to put the finish line somewhere.

Now that this is all done, there is plenty of work to be done to actually make this the primary extension mechanism. I think the most critical areas are:

sarina commented 2 years ago

Also we didn't tag @mariajgrimaldi properly 😓

mariajgrimaldi commented 2 years ago

Hello! Sorry for not specifying what we've exactly finalized here :sweat_smile:

Now, I agree that there's much more to do for hooks to be the primary extension strategy. I'm currently trying to improve a pain point for adopters, as Dave said, documentation. This is what I have in mind on doing:

Also, I've been thinking of adding a list of proposed filters/events in each project's repo I created to keep track of our roadmap, but if I'm honest, this hasn't been my priority :sweat_smile:

sarina commented 2 years ago

@feanil - do you have any words of wisdom to impart to @mariajgrimaldi around the documentation needs for events & filters?

feanil commented 2 years ago

@mariajgrimaldi I think we can use the new root doc site to help unify the documentation. I think guides for how to use openedx events and filters should probably go into the events or filters repo but it sounds like there is also a catalog of events/filters that will be specific to each service and would live in the repo for that service is that right? I'd be happy to help figure out a good organization for this.

mariajgrimaldi commented 2 years ago

@feanil: yes, that's right.

There are a few sections in the docs explaining how to use and test & also some live examples. There are also, as you said, two indexes, one for Open edX Events and one for Open edX Filters.

So we could move the indexes to the root docs and link there to each repo documentation. Most code examples in the current doc are related to the LMS, but could we standardize them to be more agnostic to add them to each repository? Or could we use those code examples in the root docs? :thinking:

Let me know how we can get started on this.

feanil commented 2 years ago

We can definitely use the edx-platform examples in the root doc. Here is one example layout I could imagine for docs in openedx-events

└── openedx-events
    └── docs
        ├── concepts
        │   └── event-architecture.rst
        ├── decisions
        ├── how-tos
        │   ├── adding-new-events.rst
        │   ├── adding-openedx-events-to-a-new-service.rst
        │   ├── configure-openedx-events-with-edx-platform.rst
        │   └── using-openedx-events-with-edx-platform.rst
        ├── quickstarts
        │   └── using-events-to-call-a-webhook-on-enrollments.rst
        └── references

            └── index.rst  # This would have links to all the list of events in different repos.

Does that help with things might go where? I think the app repos that use openedx-events should just document what events they have and then cross link back to the openedx-events repo for any docs on installing, configuring, etc.

mariajgrimaldi commented 2 years ago

That's great; thanks for the suggestion! That will work for the info we currently have & it will make it easier to add more later. :smile: I'll rearrange what we have following that layout.