-
Notifications
You must be signed in to change notification settings - Fork 2
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
open edX: standardize user menus #112
Comments
@pdpinch Related to the discussion on this open-edx thread I looked over the David's comment and have few findings to share here for your reference. In learning MFE, at the moment, they are using header from their own code-base referring to this directory but I am unable to properly understand this comment by David.
For testing, I checkout the my-own-fork-of-frontend-header-component and used the npm aliases mechanism to override the header but what I did, I imported the header from my-own-fork-of-frontend-header-component
instead of
and having this in my
Look on the screenshot below: In the screenshot below, I have removed the OrderHistory from my-own-fork-of-frontend-header-component Do you consider, we can use the fork of header-component and use it for customization or still dependent on https://github.com/edx/frontend-app-learning/tree/master/src/course-header |
Thanks Asad. Are you saying that getting
Does making that change allow us to use the npm alias method to override |
@pdpinch Here comes two questions to continue this point.
|
As I mentioned in standup, I think we should address this upstream if we can. David Joy has said that Once |
I did some testing and found a few more updates that need to be taken care of in this Epic. From the menu in MFE in MITx Online edX, there are a couple links that need to be updated. (Sample page)
Also, in the menu in the 'legacy' theme, clicking on the username will take you to Let me know if you have any questions. |
@briangrossman I guess, We can incorporate these changes once the PR merged in |
@briangrossman I created a separate story for tracking this change. The thing need to be done once the PR is merged. |
@pdpinch should I have to keep assign this Epic to myself or are you taking care of it as I am not sure what else is left behind in order complete this ? @briangrossman FYI |
@briangrossman is there anything left to do here? |
@arslanashraf7 this is a super old issue, but I have a couple of questions about it that I think you can help with. To be clear, this isn't urgent in any way.
|
I'll need to test it or ask someone in the Arbisoft team to test to see how many boxes can we check.
Quick Answer: I think the code changes would only be related to the header and footer since we don't use a fork of the platform or the other MFEs for MITxOnline. We can see the code changes by looking at the PRs in both the header and footer. A quick look at the PRs tells us that we didn't make a lot of code changes for the functionality itself. Some PRs were closed and some were only meant to update node versions or dependencies, Readme, etc. The actual code changes are not too large. If you are looking to get rid of these components, I would say we take a look at the default header and footer of the edX and re-think which of these changes we can achieve as of their latest code without customizing it. |
Thanks!
I think it makes more sense for me or someone from the MITx team to review the changes. Don’t worry about this for now.
|
Why do they need to be consistent ? |
As a user, I'd like a consistent user menu across mitxonline and open edX.
While there is some value in a distinct look and feel between mitxonline and open edX, the menu options should have the same text and behave the same.
Here is the current mitxonline:

open edX mako template:

open edX MFE

Acceptance Criteria:
mitxonline changes
open edX devops changes
LMS_BASE_URL/account/settings
in open edX toMARKETING_SITE_URL/account/settings
MARKETING_SITE_URL/account-settings
(DevOps) (updated)LMS_BASE_URL/profile/
LMS_BASE_URL/u/*
in open edX toMARKETING_SITE_URL/profile
(DevOps) (updated)LMS_BASE_URL/dashboard/
in open edX toMARKETING_SITE_URL/dashboard
(DevOps)mitxonline-theme changes
MARKETING_SITE_URL/account/settings
(Add account link to user menu mitxonline-theme#18)MARKETING_SITE/dashboard
rather thanLMS_BASE_URL/dashboard
frontend-component-header-edx MFE changes
MARKETING_SITE_URL/dashboard
rather thanLMS_BASE_URL/dashboard/
MARKETING_SITE
/profilerather than
LMS_BASE_URL/u/USERNAME`The text was updated successfully, but these errors were encountered: