matthewmueller / matthewmueller/event-debugger
links should be paused then replayed
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Links have an implicit (onclick), which bubbles up. We should stop all links at the window level.
Then check in between contexts to see if an `` tag exists.
After we bubble to top, if code has preventDefault(), don't go anywhere, otherwise follow link.
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 the event-debugger entry point, which must be initialized at the top of scripts, and inspect how link clicks and event bubbling are currently handled. Implement the requested pause-and-replay behavior across contexts: stop links at the window, detect an element while bubbling, and follow it only when preventDefault() was not called. Done means link navigation matches those rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100