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

fix: add account mfe patch to show account page #221

Closed
wants to merge 2 commits into from

Conversation

hinakhadim
Copy link
Contributor

Issue:
With Tutor v18 and Tutor Indigo v18.1.0, users are unable to view the accounts page. Tutor Indigo v18.1.0 has installation of custom indigo header and footer in learning, dashboard, profile, discussion and account MFE. All MFEs are compatible with indigo header and footer except accounts MFE. The reason is:

In redwood:
Most of the MFEs using ----> footer v14

footer is installed via @openedx/frontend-slot-footer package
footer is imported like import FooterSlot from '@openedx/frontend-slot-footer';
Account MFE -----> footer v13

footer is installed via @edx/frontend-component-footer
footer is imported like import { FooterSlot } from '@edx/frontend-component-footer';
Our indigo footer is created from footer v14 and we are installing it in all MFEs (account MFE has footer v13). More details can be found on openedx/frontend-app-account#1071

This PR adds the patch in account-mfe which fixes the above issue

Solves overhangio/tutor#1111

@@ -0,0 +1 @@
- [BugFix] Add upstream footer-slot patch in account-mfe (by @hinakhadim)
Copy link
Contributor

@DawoudSheraz DawoudSheraz Aug 20, 2024

Choose a reason for hiding this comment

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

the changelog needs some details, the current description is not enough to explain the underlying issue

@hinakhadim
Copy link
Contributor Author

Closing this PR due to merge conflicts caused by the included patch, which is preventing the patch from being applied successfully and resulting in errors.

Applying: fix: import `FooterSlot` from `frontend-slot-footer` package (#1048)
error: patch failed: package-lock.json:10
error: package-lock.json: patch does not apply
error: patch failed: package.json:28
error: package.json: patch does not apply
error: patch failed: src/index.jsx:11
error: src/index.jsx: patch does not apply
Patch failed at 0001 fix: import `FooterSlot` from `frontend-slot-footer` package (#1048)

@hinakhadim hinakhadim closed this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Won't fix
Development

Successfully merging this pull request may close these issues.

2 participants