Competency Dimensions

Maintained by Anderson Blaine
This block integrates with the local Competency Dimensions plugin, allowing users to view and access their learning plans and competencies in one place.
Price option: Free

Supports Moodle 4.5-5.2 See all versions
Latest release: 3 months ago
Installations: 17
Downloads (last 90 days): 109

Frankenstyle name: block_dimensions
Blocks

Description

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.

Requirements

This plugin requires Moodle 4.5+

Additionally, this plugin has the following dependencies:

  • tool_lp (core competency)

  • local_dimensions

Motivation for this plugin

The standard Moodle Learning Plans block provides limited visibility into competency progress. This plugin was created to:

  1. Provide a visual overview of competencies from active learning plans using customizable cards

  2. Integrate with the local_dimensions plugin for detailed progress tracking

  3. Offer a more engaging user experience with custom card images for each competency

Usage & Settings

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

How this plugin works

  1. When a user views the block, it retrieves all active learning plans for that user via dataset_provider.

  2. For each plan, resolve_plan_display_context determines whether it renders as a plan card (DISPLAYMODE_PLAN) or as individual competency cards (DISPLAYMODE_COMPETENCIES).

  3. Competencies without linked courses are filtered out by get_eligible_competency_ids.

  4. Duplicate competencies (appearing in multiple plans) are deduplicated via the seencompetencies map.

  5. Bulk competency metadata (images, tags, colors) is loaded from competency_metadata_cache in a single batch per plan.

  6. Trail data for plan cards is fetched from plan_trail_cache and windowed to 5 items centered on the last completed competency.

  7. The block renders cards linking to the local_dimensions view-plan page.

Contributors

Awards

Automated testing support
Privacy friendly
Early bird 5.2