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

chore: make sure links point to MFE not legacy #1584

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deborahgu
Copy link
Member

now that the legacy profile and account pages have been removed, we need to make sure that all of the links point to the MFE URLs; we were relying on the legacy applications to do redirection before.

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

now that the legacy profile and account pages have been removed, we need to make sure that all of the links point to the MFE URLs; we were relying on the legacy applications to do redirection before.

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

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.60%. Comparing base (9dc45e1) to head (4e646b5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1584   +/-   ##
=======================================
  Coverage   84.60%   84.60%           
=======================================
  Files         331      331           
  Lines        5656     5656           
  Branches     1357     1396   +39     
=======================================
  Hits         4785     4785           
+ Misses        854      852    -2     
- Partials       17       19    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -1 to +9
#!/bin/sh
if [ -z "$husky_skip_init" ]; then
debug () {
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"
fi
}
echo "husky - DEPRECATED

readonly hook_name="$(basename "$0")"
debug "starting $hook_name..."
Please remove the following two lines from $0:

if [ "$HUSKY" = "0" ]; then
debug "HUSKY env variable is set to 0, skipping hook"
exit 0
fi
#!/usr/bin/env sh
. \"\$(dirname -- \"\$0\")/_/husky.sh\"

if [ -f ~/.huskyrc ]; then
debug "sourcing ~/.huskyrc"
. ~/.huskyrc
fi

export readonly husky_skip_init=1
sh -e "$0" "$@"
exitCode="$?"

if [ $exitCode != 0 ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
fi

exit $exitCode
fi
They WILL FAIL in v10.0.0
"
Copy link
Member

Choose a reason for hiding this comment

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

Can you explain the changes to this husky file? It doesn't appear related to the URL change

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't make them. I asked JW and he said husky changes can happen automatically under some circumstances, but it might have been a weird PR making glitch. What's your take? should I revert this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

huh, I think this change might have been made by a pre-commit script. I have to get CC review on it anyway, so let's see what aurora says.

Choose a reason for hiding this comment

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

oooh I didn't realize it was doing this. I've just seen husky dependency updates get auto-merged by Renovate, but I hadn't seen this before

Copy link
Contributor

@nsprenkle nsprenkle left a comment

Choose a reason for hiding this comment

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

Not sure about the husky stuff, but otherwise change looks good 👍

@deborahgu
Copy link
Member Author

thanks! @nsprenkle , the new CC system means I can't merge this myself, I believe, so I'll wait for you.

@bradenmacdonald bradenmacdonald enabled auto-merge (rebase) February 13, 2025 18:12
auto-merge was automatically disabled February 13, 2025 18:17

Pull Request is not mergeable

@bradenmacdonald
Copy link
Contributor

I think this PR looks good, and I approved it, but GitHub is not letting me merge it. It's stuck on "Checking for the ability to merge automatically..." and also says "Pull Request is not mergeable", without explanation.

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