Skip to content

TCA-480 - replace learn.freecodecamp.org links with the platformui links #84

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

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

vas3a
Copy link
Collaborator

@vas3a vas3a commented Oct 4, 2022

https://topcoder.atlassian.net/browse/TCA-480

Replace the FCC courses links that are located in the lesson content with links pointed to platform-ui.

-- this PR updates learn.freecodecamp.org links

Copy link

@brooketopcoder brooketopcoder left a comment

Choose a reason for hiding this comment

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

@vas3a Should we remove the external link handling from the Platform UI? I don't want anyone to think they have to maintain it if a new link type is found.

@vas3a
Copy link
Collaborator Author

vas3a commented Oct 4, 2022

@brooketopcoder do you mean the url handling in client/src/components/layouts/tc-integration.tsx ?

@brooketopcoder
Copy link

@vas3a Yes, that's what I meant. I forgot that it's actually in the FCC app.

@vas3a
Copy link
Collaborator Author

vas3a commented Oct 5, 2022

@brooketopcoder thanks for catching that up for me!

Upon removal and closer inspection to the handler, I found out that I didn't replace the urls that just started with "/learn". I replaced all urls, I think this is complete now.

@vas3a vas3a merged commit 02ba0db into dev Oct 6, 2022
@vas3a vas3a deleted the TCA-480_open-course-link-in-new-tab branch October 6, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants