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

Editor help links are broken #2530

Open
tomgreenfield opened this issue Jul 27, 2020 · 0 comments
Open

Editor help links are broken #2530

tomgreenfield opened this issue Jul 27, 2020 · 0 comments
Labels
C: Front-end Issues related to the front-end/UI T: bug transfer

Comments

@tomgreenfield
Copy link
Contributor

function getEditorLink() {
var link;
switch (Origin.location.route2) {
case 'menu':
link = 'editing-course-details';
break;
case 'block':
link = 'adding-content-to-the-course';
break;
case 'edit':
link = 'sectionpage-settings';
break;
case 'page':
link = 'adding-content-to-the-course';
break;
case 'config':
link = 'course-settings';
break;
case 'theme':
link = 'course-settings';
break;
case 'extensions':
link = 'course-settings';
break;
default:
link = '';
}
return 'Creating-a-Course' + (link) ? '#' + link : '';
}

Plenty of problems here:

  1. The logic in the ternary on line 52 is wrong so the link is never constructed correctly
  2. Some of the module routes are invalid
  3. The headings on the wiki have changed

Steps to Reproduce

  1. Click the Help link on the navigation bar while on an editor page.

Versions

  • Authoring Tool Version: 0.10.3
@tomgreenfield tomgreenfield added T: bug C: Front-end Issues related to the front-end/UI labels Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Front-end Issues related to the front-end/UI T: bug transfer
Projects
None yet
Development

No branches or pull requests

2 participants