Skip to content

feat: replace enterprise support view imports with filter calls - #455

Draft
brobro10000 wants to merge 1 commit into
release-ulmofrom
brobro10000/ENT-11574
Draft

feat: replace enterprise support view imports with filter calls#455
brobro10000 wants to merge 1 commit into
release-ulmofrom
brobro10000/ENT-11574

Conversation

@brobro10000

Copy link
Copy Markdown

ENT-11574

Sibling of the openedx/openedx-platform PR of the same name, carrying the same call-site
change to this deployable fork so it can go through stage/prod ahead of the upstream merge,
per the enterprise plugin ticket runbook. Devstack only boots this repo (not
openedx/openedx-platform), so this is also the branch used for local integration testing.

Swaps the direct openedx.features.enterprise_support imports in the support contact-us and
enrollment views for calls to the new SupportContactContextRequested /
SupportEnrollmentDataRequested openedx-filters, and wires up OPEN_EDX_FILTERS_CONFIG for
the two new filter types in lms/envs/common.py. Intentionally does not port the
YAML-merge block into lms/envs/production.py — this file already discourages new
_YAML_TOKENS references.

Related PRs

Merge order (per the enterprise plugin ticket runbook)

Merge this after local devstack testing and before the openedx/openedx-platform PR.
Auto-deploys to stage on merge — test in stage, then deploy to prod and confirm working, before
the openedx-platform PR is rebased and merged.

Testing

Same test changes as the openedx-platform PR: SupportEnrollmentDataRequested.run_filter and
SupportContactContextRequested.run_filter are mocked at the call site in
lms/djangoapps/support/tests/test_views.py; the enterprise-specific pipeline-step behavior is
covered by edx-enterprise's own test suite.

Local devstack integration testing (with the openedx-filters, edx-enterprise, and this branch
checked out together) is required before merging — see handoff prompt for exact steps.

ENT-11574

Sibling of the openedx/openedx-platform PR of the same name, carrying the
same call-site change to this deployable fork so it can go through
stage/prod ahead of the upstream merge, per the enterprise plugin ticket
runbook. Swaps the direct openedx.features.enterprise_support imports in
the support contact-us and enrollment views for calls to the new
SupportContactContextRequested / SupportEnrollmentDataRequested
openedx-filters, and wires up OPEN_EDX_FILTERS_CONFIG for the two new
filter types.
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.

1 participant