Skip to content

feat!: Legacy account, profile, order history removal - #36219

Merged
deborahgu merged 4 commits into
masterfrom
dkaplan1/APER-3884_remove-account-and-profile-legacy-django-apps
Feb 10, 2025
Merged

feat!: Legacy account, profile, order history removal#36219
deborahgu merged 4 commits into
masterfrom
dkaplan1/APER-3884_remove-account-and-profile-legacy-django-apps

Conversation

@deborahgu

Copy link
Copy Markdown
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 59555732+BilalQamar95@users.noreply.github.com
Co-authored-by: Muhammad Abdullah Waheed 42172960+abdullahwaheed@users.noreply.github.com

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 <59555732+BilalQamar95@users.noreply.github.com>
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
Comment thread cms/envs/test.py
ALLOWED_HOSTS = [
'*'
]
ALLOWED_HOSTS = ["*"]

Copy link
Copy Markdown
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__)

@justinhynes justinhynes Feb 10, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

Comment thread lms/envs/devstack.py
############## Settings for Microfrontends #########################
LEARNING_MICROFRONTEND_URL = 'http://localhost:2000'
ACCOUNT_MICROFRONTEND_URL = 'http://localhost:1997'
PROFILE_MICROFRONTEND_URL = 'http://localhost:1995'

Copy link
Copy Markdown
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
Copy Markdown
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
@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
Copy Markdown
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
Copy Markdown
Contributor

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

1 similar comment
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

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

@kdmccormick

Copy link
Copy Markdown
Member

Wow. Thank you so much for doing this. 🔥🔥🔥

jciasenza pushed a commit to jciasenza/edx-platform that referenced this pull request Feb 25, 2025
* feat!: Legacy account, profile, order history removal

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

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


Co-authored-by: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
tonybusa pushed a commit to tonybusa/edx-platform that referenced this pull request Apr 23, 2025
* feat!: Legacy account, profile, order history removal

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

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


Co-authored-by: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
UsamaSadiq pushed a commit that referenced this pull request May 14, 2025
* feat!: Legacy account, profile, order history removal

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: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
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

5 participants