Anderson Blaine
Lead maintainer
A Moodle block plugin that displays competency cards from users' active learning plans, providing quick access to competency progress tracking via the local_dimensions plugin.
This plugin requires Moodle 4.5+
Additionally, this plugin has the following dependencies:
tool_lp (core competency)
local_dimensions
The standard Moodle Learning Plans block provides limited visibility into competency progress. This plugin was created to:
Provide a visual overview of competencies from active learning plans using customizable cards
Integrate with the local_dimensions plugin for detailed progress tracking
Offer a more engaging user experience with custom card images for each competency
After installing the plugin, it is ready to use without the need for any configuration.
Simply add the "Dimensions" block to the Dashboard or any course page. The block will automatically display competency cards from the user's active learning plans.
Features:
Displays competency cards with custom images (configured via local_dimensions custom fields)
Only shows competencies that have linked courses
Links directly to the local_dimensions view-plan page for detailed progress tracking
Filters duplicates when competencies appear in multiple plans
When a user views the block, it retrieves all active learning plans for that user via dataset_provider.
For each plan, resolve_plan_display_context determines whether it renders as a plan card (DISPLAYMODE_PLAN) or as individual competency cards (DISPLAYMODE_COMPETENCIES).
Competencies without linked courses are filtered out by get_eligible_competency_ids.
Duplicate competencies (appearing in multiple plans) are deduplicated via the seencompetencies map.
Bulk competency metadata (images, tags, colors) is loaded from competency_metadata_cache in a single batch per plan.
Trail data for plan cards is fetched from plan_trail_cache and windowed to 5 items centered on the last completed competency.
The block renders cards linking to the local_dimensions view-plan page.