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
How do we handle relative links in the Markdown descriptions? #4
Comments
I think the best way we can fix this problem is to not make them relative links. I think we should update and change the links of the markdown text in the database itself. We need to do this anyway because right now for the relative course links, they are So instead of And instead of Another reason why we don't want them to be relative links is because the relativity would obviously only work for certain pages. For example in the case of Career Goals, besides the Explorer page, we also view the description of Career Goals in the Admin Data Model page. So even if we do end up making the relative links work FROM the Explorer Career Goals page, that doesn't necessarily mean the same code would then work FROM the Admin Data Model page. So at this point the relative links just makes things a hassle that we might have to make two possibly different code just to handle the relative links. From this point, I already have a function that can deal with these types of links with react-router.
If we're viewing from some student account,
Notes:
|
Done in #77 |
Done in #87 |
Please do work for this task in a branch called issue-4.
The descriptions of some Career Goals have links to the related courses and other related Career Goals. These links should open an explorer showing the course or career goal.
The text was updated successfully, but these errors were encountered: