Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Changes to Learn API #2073

@lukpan

Description

@lukpan

Hello team ET,

@nkuehn and I were investigating Moodle recently, and were considering a change to the way we organize categories in Moodle.

Currently our learning modules have a flat category structure, where the learning path course and the module course are all on the same level. With the increase in number of modules coming with self-learning, it would be good to be able to create additional levels in the category tree to better organise them.

This however would lead to changes being required in the Learn API. Here is Nikolaus' note:

To be able to use subcategories inside “Self Learning” the learning API we would have to remove the filter to Self Learning courses only and make certification courses and instructor led learning visible on the API (which is not a bad thing, it’s user specific and we can show that status in the docs, too) -> https://github.com/commercetools/learning-tech/blob/80c55939b6d3e8639a47684cddec834fd0961f91/packages/learning-api/src/moodle/moodle.utils.ts#L674C53-L674C67

Happy to discuss further. @nkuehn please feel free to add any further information here if I've missing something from our discussion.

Many thanks,
Luke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions