RunestoneInteractive / RunestoneInteractive/rs
Author Tools option in instructor's user menu is an absolute URL to production
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 69
- Forks
- 117
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 24
Description
The Author Tools menu option in the instructor's user menu which displays on the course home page (ns/course/index) is a URL that leads to production (https://author.runestone.academy/author) instead of a relative URL. This displays an error when clicked in localhost or self-hosted installs.
Steps to Reproduce:
- Log in as an instructor.
- After logging in as an instructor with an existing course: Ensure you have an active course available.
- Click the User Menu from navbar and select Course Home.
- Once the Course Home page loads, locate and click the blue user icon on the right side of the screen.
- From the dropdown, select Author Tools.
Expected : The Author Tools page should load successfully, as the user is logged in.
Actual Behavior:
Clicking Author Tools results in the following error message:
{ "detail": "You need to be Logged in to access this resource" }
Please change this to a relative URL so that it works in any environment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at ns/course/index and inspect the Author Tools menu option and its URL. Change the production URL to a relative URL, then verify the link works from localhost or a self-hosted install without the login error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100