Translate ORDER_HISTORY_URL into an external route for frontend-base sites
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
The route conversion is in lms/djangoapps/mfe_config_api/views.py, near the existing LOGOUT_URL handling referenced in the issue. Read that code and check how MFE_CONFIG values become externalRoutes; then add the matching behavior for ORDER_HISTORY_URL. Done means a configured order history URL produces the org.openedx.frontend.role.orderHistory external route, while unset configuration adds no route.
Written by the indexing model from the issue text.
Description
Description
In frontend-base sites, the header's Order History menu item is going to be resolved by route role (org.openedx.frontend.role.orderHistory), like Profile, Account and Logout: see openedx/frontend-base#324.
The frontend site config endpoint already turns a legacy LOGOUT_URL into an externalRoutes entry for the logout role. It should do the same for ORDER_HISTORY_URL, when set in MFE_CONFIG.
That way, a site that has Order History today keeps it after moving to frontend-base, on every page and with no config change. Without it, the key just lands in commonAppConfig, where nothing in the shell reads it.
This is a requirement for Willow.
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 37
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openedx/openedx-platform
-
Discussion API: missing thread returns 500 (ForumV2RequestError not mapped to ThreadNotFoundError)May be free again @mbhavu2007-lang claimed this 19 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openedx/openedx-platform#39225 · 1 comment ·
Maintainers usually reply within 1 day
-
v3 notification preferences: PUT with email_cadence but no notification_channel raises KeyError (500)May be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
openedx/openedx-platform#39221 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
openedx/openedx-platform#39169 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openedx/openedx-platform#39084 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 82/100
openedx/openedx-platform#38792 ·
Maintainers usually reply within 1 day
All issues in openedx/openedx-platform
Similar issues
-
opensubtitlescom: provider rejects pt-PT even though its own converter maps itPossibly taken @paulo-0308 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Diaoul/subliminal#1405 ·
-
Internal ErrorOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
frappe/frappe_docker#2071 ·
Maintainers usually reply within 1 day
-
bug python
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
traceloop/openllmetry#4717 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
The-Pocket/PocketFlow#161 ·
-
comp/desktop P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#157702 ·
Maintainers usually reply within 1 day