-
Notifications
You must be signed in to change notification settings - Fork 129
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: introduced LearningHeader for frontend-app-learning #133
Conversation
Thanks for the pull request, @asadiqbal08! I've created OSPR-6184 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small changes, but this looks like what we're after. Would you mind just running through the messages really quick and making sure they're all in use in here?
@davidjoy anything else need to address here or good to go ? |
de21631
to
5e7358d
Compare
Ugh, it still seems to have some package-lock.json problems. Try running Otherwise this looks good to go and as soon as we get that check to pass, we can merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there are issues with package-lock.json - see my prior comment above.
Yes, I forgot to push updated |
4670174
to
736739d
Compare
@davidjoy I updated the PR to fix issues that causing build failure in the CI pipeline. I make sure by re running the Github action on local devstack and also fixed the corresponding test failure issues. 🤞🤞 |
789075c
to
6deacc0
Compare
{ | ||
type: 'item', | ||
href: config.LOGOUT_URL, | ||
content: intl.formatMessage(messages['header.user.menu.logout']), | ||
}, | ||
]; | ||
|
||
// Users should only see Order History if have a ORDER_HISTORY_URL define in the environment. | ||
if (config.ORDER_HISTORY_URL) { | ||
userMenu.splice(-1, 0, orderHistoryItem); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidjoy FYI, I kept the OrderHistory conditional on basis of ORDER_HISTORY_URL
93eb8be
to
6e31803
Compare
<Dropdown.Item href={`${getConfig().LMS_BASE_URL}/account/settings`}> | ||
{intl.formatMessage(messages.account)} | ||
</Dropdown.Item> | ||
{ getConfig().ORDER_HISTORY_URL && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too.
Codecov Report
@@ Coverage Diff @@
## master #133 +/- ##
===========================================
+ Coverage 0 58.91% +58.91%
===========================================
Files 0 14 +14
Lines 0 258 +258
Branches 0 60 +60
===========================================
+ Hits 0 152 +152
- Misses 0 105 +105
- Partials 0 1 +1
Continue to review full report at Codecov.
|
@asadiqbal08 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
fixes: mitodl/mitxonline#252
Earlier Review References of @davidjoy
Reference-1
Reference-2
As per some suggestion by David, We need to refactor the code in EdX Learning MFE to utilize the header from frontend-component-header instead of course-header
.