Naming Suggestions for Open edX Filters#
When naming a new filter and contributing it back to this repository, consider the following suggestions:
Use a name that is descriptive of the filter’s purpose. For example, the filter associated with the course enrollment process is named
CourseEnrollmentStartedbecause it is triggered when a course enrollment starts.Use a name that is unique within the framework.
Match the name of the filter to its
filter_type. For example, if thefilter_typeis aorg.openedx.learning.course.enrollment.started.v1filter, the name of the filter should beCourseEnrollmentStarted. You can use thefilter_typeto determine the name of the filter. See 4. Open edX filters naming and versioning for more information.Avoid using
Filterin the name of the filter. It is implied that the class is a filter, so there is no need to include it in the name.Try reviewing the names of existing filters to get an idea of how to name your filter.