-
Notifications
You must be signed in to change notification settings - Fork 9
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 pipelines to add custom registrations fields and custom options in account settings #224
Conversation
b75b2d6
to
50e62fe
Compare
I think you need to add openedx-filters as a requirement and update the requirements. On the other hand, I think it's important to test this pipelines. Here you have some examples:
I know having tests probably slows down the migration process; maybe we can add tests after the migration, but sometimes we forget that technical debt. I think we can try to test it, but if it takes too long, we can commit ourselves to do it later. What do you think @Henrrypg? |
2533083
to
bdf2d4a
Compare
Hello @MaferMazu Yes, i made some changes in requirements. About tests... i was looking and testing some ideas to make it, but to make successful test we need to use openedx-filter and add OPEN_EDX_FILTERS_CONFIG, the problem is: the filters are not currently merged in openedx-filters (openedx/openedx-filters#46) and use more dependencies or mock these filters i think that is work to refactor in the future. What do you think? |
I think it's better to retake this after migration. I prefer we merge the things in this order:
I am not too agree with merging this right now. |
Sure @MaferMazu, i think that too, we can wait to the others PRs and then make effort to close this one successful |
bdf2d4a
to
9750b7c
Compare
@Henrrypg, do you think we can continue with this work, or what's next with this? What effort do we need to make to finish this? |
Hello @MaferMazu My first approach to retake this PR is: |
Hi @Henrrypg (@MaferMazu), I wanna ask you if you are planning work in this Draft, or maybe can we close it? |
It shouldn't be closed @Alec4r. This effort is necesary, i'm some out of context with this one and i'd prefer to someone of Dédalo take this PR. But if not, i can update this one in a couple of weeks. |
@Henrrypg Hi Henry, do you have any updates on this PR? Or maybe we need to review this changes in a future Sprint? |
I'm going to continue working on it, it has to be merged in this sprint |
…ions in account settings
0f076aa
to
ae99c08
Compare
ae99c08
to
a011a31
Compare
I have to convert this PR to draft. The pipeline is not working as the filter and the platform expected. We have to work again in how to remove JU-11 in our custom features list. I created a JIRA card to solve in one of ours sprints. |
@santiagosuarezedunext friendly reminder to check this on future sprints |
I talked with @Henrrypg and this PR lost his context and i will close this |
Description
This PR is to add a pipeline for
AccountSettingsRenderStarted
filter, we addedAddCustomOptionsOnAccountSettings
pipeline. It implements custom options on account settings context added byEDNX_CUSTOM_REGISTRATION_FIELDS
setting.This pipeline is following https://edunext.atlassian.net/browse/DS-303 ticket and JU-11 Saas migration step.
Testing instructions
Add in your tenant settings:
Now you look at registration form in http://{lms.base}:8000/register
in http://{lms.base}:8000/admin/auth/user/
In http://{lms.base}:8000/account/settings you should look your custom field types, for this example Type Document as List instead of plain text.
You can look full working example of this functionality, screenshots and testing instructions at eduNEXT/edunext-platform#691 PR.
Additional information
Currently we have two PRs in upstream to implements its filter and hook.
Checklist for Merge