Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add filter to hook render of XBlock #34865

Merged
merged 8 commits into from
Jun 25, 2024

Conversation

nsprenkle
Copy link
Contributor

@nsprenkle nsprenkle commented May 28, 2024

Description

Implement filter for PR: openedx/openedx-filters#171

For our particular use case, this allows us to read / update information on the request object for an XBlock render.

Testing instructions

  1. Check out related openedx-filters branch: nsprenkle:nsprenke/render-xblock-filter
  2. Update edx-platform to this PR branch.
  3. Install local copy of openedx-filters.
  4. Attempt to render an xblobk: http://{lms}/xblock/block-v1:{block-id}?view=student_view
  5. Verify filter step is run.

@nsprenkle
Copy link
Contributor Author

@felipemontoya , ready for re-review

@nsprenkle nsprenkle requested a review from felipemontoya June 11, 2024 16:03
Copy link
Member

@felipemontoya felipemontoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes seem in order and in sync with the openedx-filters PR.
Needs updating the filter package version once we release there.

I could leave the approval already, but I think it makes more sense when the version is out and the PR itself if out of draft. I'll try to answer quickly once that is done as this has been in waiting period long already

@nsprenkle nsprenkle force-pushed the nsprenkle/xblock-render-filter branch from 6ba2959 to 9df657f Compare June 21, 2024 04:08
@nsprenkle nsprenkle requested a review from felipemontoya June 21, 2024 04:09
Copy link
Member

@felipemontoya felipemontoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks as I would expect. I think it is good to go ahead.

@nsprenkle nsprenkle marked this pull request as ready for review June 24, 2024 16:02
@nsprenkle nsprenkle force-pushed the nsprenkle/xblock-render-filter branch from fac3f88 to a369602 Compare June 25, 2024 14:49
@nsprenkle nsprenkle merged commit deb5b0f into master Jun 25, 2024
50 checks passed
@nsprenkle nsprenkle deleted the nsprenkle/xblock-render-filter branch June 25, 2024 15:17
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

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