processing / processing/p5.js-web-editor
relative fragment links are broken
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
p5.js version
n/a
What is your operating system?
Windows
Web browser and version
firefox
Actual Behavior
a fragment link in html eg:
<a href="#frag">jump to frag</a>
<div id="frag">hi!</div>
are broken and result in:
"Not found"
when running before saving, or:
{"message":"Asset does not exist"}
when running after saving
Expected Behavior
jump to fragment as expected in HTML
Steps to reproduce
see above snippet or here:
https://editor.p5js.org/eyaler/sketches/Lo8oYAYsR
Contributor guide
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 with the linked reproducible sketch and compare the fragment link behavior before and after saving in Firefox on Windows. The work is done when the provided anchor navigates to the matching fragment in both states without a “Not found” or “Asset does not exist” response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100