-
Notifications
You must be signed in to change notification settings - Fork 16
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: adds TenantAwareLinkRenderStarted filter #77
feat: adds TenantAwareLinkRenderStarted filter #77
Conversation
Thanks for the pull request, @JuanDavidBuitrago! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate. |
Hi @mariajgrimaldi - would you mind reviewing and merging if all looks good to you? Thanks! |
Can you update the PR with the latest name changes? @JuanDavidBuitrago, please! FYI: I'll review this PR and the edx-platform one this week. |
b08f3f3
to
4138255
Compare
Hi @JuanDavidBuitrago! Would you mind taking a look at the branch conflicts? CC @mariajgrimaldi for review. |
4138255
to
4f3b1d6
Compare
@mariajgrimaldi, can you help us with a review? |
Custom class used to create tenant aware link render filters and its custom methods. | ||
""" | ||
|
||
filter_type = "org.openedx.learning.tenant_aware_link.render.started.v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't accept this being so specific. Please, refer to the openedx-events documentation for a better naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to your edx-platform PR, I think we could rebrand this filter by using what you're currently using it for. It could be called:
org.openedx.learning.asset.render.started.v1
And given that this filter would affect course staff only, then I'm not sure the correct subdomain is learning
. Give this page a read for more info on subdomains: https://openedx.atlassian.net/wiki/spaces/AC/pages/663224968/edX+DDD+Bounded+Contexts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand these changes are useful to your initiative. The issue is that this needs to be useful as well for the community, can you make it a bit less specific? The community might not use eox-tenant or even need a tenant aware modification, how would you rebrand this modification so it's more general?
Hi @JuanDavidBuitrago! Just flagging Maria's comment above :) |
Hi @mphilbrick211 I'm going to work on it in this week |
Hi @JuanDavidBuitrago! Just following-up on this :) |
hi @JuanDavidBuitrago! Just checking in to see if you plan to pursue this pull request? Please let us know. Thanks! |
@mphilbrick211: I spoke internally with @JuanDavidBuitrago's team, and they told me they didn't have the capacity to take this on right now. I'll move this PR to draft to give them time to work on it. Thanks! |
Hi @mphilbrick211 @mariajgrimaldi, thank you for your patience. |
Hi @JuanDavidBuitrago! I'm going to close this pull request for now. We can reopen when you're ready to pursue. Thanks! |
@JuanDavidBuitrago Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
Description:
This adds the
TenantAwareLinkRenderStarted
filter which receive a string context with LMS url to allowing the filter pipeline to return the information that we need to filter, in this case a tenant aware link from Studio to LMS.An example of use is in eox-tenant custom filter step pipeline, where it takes the LMS_ROOT_URL and return only the tenant aware link in the respective site.
JIRA: N/A
Dependencies:
Merge deadline: N/A
Installation instructions:
Be sure to use
edx-platform
branch with changes openedx/edx-platform#32014Testing instructions:
The change can be tested with testing instructions in eox-tenant plugin.
Reviewers:
Merge checklist:
Post merge:
finished.
Author concerns: N/A