Skip to content

feat: add DashboardContextEnricher pipeline step for student dashboard filter#2552

Open
pwnage101 wants to merge 1 commit intomasterfrom
pwnage101/ENT-11569
Open

feat: add DashboardContextEnricher pipeline step for student dashboard filter#2552
pwnage101 wants to merge 1 commit intomasterfrom
pwnage101/ENT-11569

Conversation

@pwnage101
Copy link
Copy Markdown
Contributor

@pwnage101 pwnage101 commented Mar 5, 2026

Jira: ENT-11569

Summary:
A DashboardContextEnricher pipeline step is defined in enterprise/filters/dashboard.py and injects all enterprise dashboard context keys (enterprise_message, consent_required_courses, is_enterprise_user, and enterprise portal keys). Unit tests cover the pipeline step with enterprise and non-enterprise users.

@pwnage101
Copy link
Copy Markdown
Contributor Author

Note for implementer: add openedx-filters to requirements.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.93%. Comparing base (daa14a2) to head (a8def87).

Files with missing lines Patch % Lines
enterprise/filters/dashboard.py 95.45% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2552      +/-   ##
==========================================
+ Coverage   85.91%   85.93%   +0.01%     
==========================================
  Files         250      251       +1     
  Lines       16604    16626      +22     
  Branches     1639     1640       +1     
==========================================
+ Hits        14266    14287      +21     
- Misses       2001     2002       +1     
  Partials      337      337              
Flag Coverage Δ
unittests 85.93% <95.45%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kiram15 kiram15 force-pushed the pwnage101/ENT-11569 branch from 1683210 to ec97806 Compare April 16, 2026 22:49
@kiram15 kiram15 marked this pull request as ready for review April 17, 2026 20:45
Comment thread enterprise/filters/dashboard.py Outdated
Comment thread enterprise/filters/dashboard.py Outdated
@kiram15 kiram15 force-pushed the pwnage101/ENT-11569 branch 3 times, most recently from 52dbacb to 9cdfc0b Compare April 20, 2026 16:13
@kiram15 kiram15 force-pushed the pwnage101/ENT-11569 branch from 89369cb to a8def87 Compare April 23, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants