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!: Legacy account, profile, order history removal #36219

Conversation

deborahgu
Copy link
Member

This removes the legacy account and profile applications, and the order history page. This is primarily a reapplication of #31893, which was rolled back due to prior blockers in an external repository, now resolved.

FIXES: APER-3884
FIXES: openedx/public-engineering#71


Co-authored-by: Bilal Qamar [email protected]
Co-authored-by: Muhammad Abdullah Waheed [email protected]

deborahgu and others added 4 commits January 31, 2025 21:49
**DRAFT** This work is in progress, tests are failing, in no way is this ready to go.

FIXES: APER-3884
This removes the legacy account and profile applications, and the order
history page. This is primarily a reapplication of #31893, which was
rolled back due to prior blockers.

FIXES: APER-3884
FIXES: openedx/public-engineering#71

---------

Co-authored-by: Bilal Qamar <[email protected]>
it looks like prior attempts to reformat the files moved pylint
directives to the wrong lines.
@deborahgu deborahgu marked this pull request as ready for review February 4, 2025 21:24
@deborahgu deborahgu requested review from a team as code owners February 4, 2025 21:24
ALLOWED_HOSTS = [
'*'
]
ALLOWED_HOSTS = ["*"]
Copy link
Member Author

Choose a reason for hiding this comment

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

Aargh, I didn't mean to let my IDE reformat this file to our current standards. I mean, it's not wrong, but it makes life harder for the reviewers. Sorry. 😬 I think it's just this file, though.

# .. toggle_target_removal_date: 2020-12-31
# .. toggle_warning: Also set settings.PROFILE_MICROFRONTEND_URL and site's ENABLE_PROFILE_MICROFRONTEND.
# .. toggle_tickets: DEPR-17
REDIRECT_TO_PROFILE_MICROFRONTEND = WaffleFlag(f'{WAFFLE_FLAG_NAMESPACE}.redirect_to_microfrontend', __name__)
Copy link
Contributor

@justinhynes justinhynes Feb 10, 2025

Choose a reason for hiding this comment

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

Do we need to add any additional internal tickets to clean up the config for this flag in the LMS?

edit: (and the other flags removed in this PR)

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, I'll do that.

@@ -385,6 +385,7 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
############## Settings for Microfrontends #########################
LEARNING_MICROFRONTEND_URL = 'http://localhost:2000'
ACCOUNT_MICROFRONTEND_URL = 'http://localhost:1997'
PROFILE_MICROFRONTEND_URL = 'http://localhost:1995'
Copy link
Contributor

Choose a reason for hiding this comment

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

2U specific -- I think we want to add this change to https://github.com/edx/devstack/blob/master/py_configuration_files/lms.py

Copy link
Member Author

Choose a reason for hiding this comment

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

I will make that PR, thanks. I knew there was a reason I asked you to be the reviewer 😆

@deborahgu deborahgu merged commit 29de9b2 into master Feb 10, 2025
49 checks passed
@deborahgu deborahgu deleted the dkaplan1/APER-3884_remove-account-and-profile-legacy-django-apps branch February 10, 2025 19:39
@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.

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.

[DEPR]: Account pages -> micro-frontend
4 participants